wiccan1 Posted February 1, 2003 Posted February 1, 2003 Hi all, I was in the process of installing a script and i got a 500 error code. I went into cpanel to check the error and this is what i got: Premature end of script headers: /home/user/public_html/cgi-bin/eventpublisher/eventpublisher_admin.htm can someone tell me what this means. It seems the script is fine but i don't know what to do from here Thanks everyone! Quote
TCH-Rick Posted February 1, 2003 Posted February 1, 2003 Sorry you had trouble with this script but it helped me. It looks like this may be something I can use on one of my pages. I downloaded the script and tried it out. The solution seems to be the same one for a similar script called NewsPro. The installation instructions say to install to a directory CHMODed to 777 but our servers seem to have a problem with this in running scripts. Try changing the permissions on your eventpublisher directory to 755 instead of 777. When I did that it worked fine. Actually I got some other errors from the program itself. The instructions are not too complete as to how to use the program. Here's what I found in playing with it. 1. CHMOD eventpublisher directory to 755. 2. Edit Section B in the eventpublisher.cgi file to match where you have set things up in your domain. Be sure and change all the http entries in the *.htm files to your domain. 3. Open the eventpublisher_admin.htm and add an event so the data file will be created. Note that you will need a master password which can be set by editting the eventpublisher.cgi file and is upoint by default. 4. If all is set correctly you should be good. Good luck. Quote
wiccan1 Posted February 1, 2003 Author Posted February 1, 2003 Sorry you had trouble with this script but it helped me. It looks like this may be something I can use on one of my pages. I downloaded the script and tried it out. The solution seems to be the same one for a similar script called NewsPro. The installation instructions say to install to a directory CHMODed to 777 but our servers seem to have a problem with this in running scripts. Try changing the permissions on your eventpublisher directory to 755 instead of 777. When I did that it worked fine. Actually I got some other errors from the program itself. The instructions are not too complete as to how to use the program. Here's what I found in playing with it. 1. CHMOD eventpublisher directory to 755. 2. Edit Section B in the eventpublisher.cgi file to match where you have set things up in your domain. Be sure and change all the http entries in the *.htm files to your domain. 3. Open the eventpublisher_admin.htm and add an event so the data file will be created. Note that you will need a master password which can be set by editting the eventpublisher.cgi file and is upoint by default. 4. If all is set correctly you should be good. Good luck. Thank you very much I will give this a try as soon as i get home from work, if i have any problems i will repost lol Thank you very much! Quote
KevinW Posted February 1, 2003 Posted February 1, 2003 Ricky or someone - can you identify *where* you downloaded the NewsPro scriots from? The place I went to turns out to be out dated and all though there were files there, I'm not sure ... Thanks, kw Quote
TCH-Rick Posted February 1, 2003 Posted February 1, 2003 I found it at http://www.elektrik-sheep.com/newspro/ using Google. The amphibianweb site seems to be down. Not sure if that means it's not supported anymore or what. Quote
KevinW Posted February 2, 2003 Posted February 2, 2003 that's exactly what I am referring to -- that the amphibian web site is not only down, I found references elsewhere that it has been down for quite awhile. See http://factory.eatsleepcode.ca/newspro/ for example. Quote
wiccan1 Posted February 5, 2003 Author Posted February 5, 2003 Rick, Thank you very much for your advice I done what you suggested and everything works perfectly now!!!! Many thanks Quote
TCH-Rick Posted February 5, 2003 Posted February 5, 2003 Glad everything is working well. I spoke with a tech and for security reasons it is not possible to run cgi scripts fropm a directory set to 777. Since cgiwrap is also installed that is not a problem because you can just use 755 instead and all should work well. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.