CGI Error on Newspro

liunx

Guest
Hey guys. Usually I don't have a problem with these types of scripts, but for some reason I can't get Newspro to work on my website. I uploaded the files to /public_html/cgi-bin/newspro and did a chmod of the newspro folder to 777. Then the newspro.cgi, viewnews.cgi, news.txt, newsdat.txt, ndisplay.pl, and nsettings.cgi all set to 777 as it said in the setup instructions to do if you were having problems. All this to no avail. <br /><br />If you go to <a href="http://www.chris-n-kristi.com/cgi-bin/newspro/newspro.cgi" target="_blank">http://www.chris-n-kristi.com/cgi-bin/news...pro/newspro.cgi</a> you can see the error I'm getting.<br /><br />Oh, I also made sure that the perl path was set to /usr/bin/perl in the scripts.<br /><br />I also tried setting up the script outside of the cgi-bin, doing the same as above but putting it at /public_html/newspro. <br /><br />If my domain hasn't propagated yet for those that try to help, try going to <a href="http://66.246.77.52/~devynn/cgi-bin/newspro/newspro.cgi" target="_blank">http://66.246.77.52/~devynn/cgi-bin/newspr...pro/newspro.cgi</a> or <a href="http://66.246.77.52/~devynn/newspro/newspro.cgi" target="_blank">http://66.246.77.52/~devynn/newspro/newspro.cgi</a>.<br /><br />Thanks in advance for your help.<!--content-->
Hi, Devynn. I downloaded NewsPro and tried installing on my site just to see how it works. I installed to a directory called newspro in my public_html directory. I got the same error you described. I did check to see that the permissions set on the directories and files mentioned in the readme.txt matched exactly.<br /><br />I made the changes to the newspro.cgi as seen below(in blue):<br /><br /><!--quoteo--><div class='quotetop'>QUOTE</div><div class='quotemain'><!--quotec--># SERVER PROBLEMS WORKAROUNDS<br /># If the script either gets its URL wrong or produces a fatal error<br /># about not being able to include npconfig.pl, set the following variables.<br /># While it won't hurt, most users don't have to.<br /><br />$abspath = '<!--coloro:blue--><span style="color:blue"><!--/coloro-->/home/username/public_html/newspro<!--colorc--></span><!--/colorc-->';<br /># Set the above to the absolute path to NewsPro's directory, without<br /># a trailing slash. Example:<br /># $abspath = '/absolute/path/to/newspro';<br /><br />$scripturl = '<!--coloro:blue--><span style="color:blue"><!--/coloro-->http://www.******/newspro/newspro.cgi<!--colorc--></span><!--/colorc-->';<br /># Set the above to the URL to newspro.cgi. Example:<br /># $scripturl = 'http://www.myserver.com/newspro/newspro.cgi';<br /># Once again, you only need to set the above two variables if you're<br /># having server problems.<br /><br /># END SERVER PROBLEMS WORKAROUNDS<!--QuoteEnd--></div><!--QuoteEEnd--> <br /><br />I still got the Internal Error message so I checked my error log and there was something in there about the directory being writable by others. I then changed the permissions for the newspro directory to 755 and tried again. This time it worked. You might try it and see how it works for you.<!--content-->
Thanks. Ricky. <br />BTW -Did you hear that the Bucs signed Monte Kiffin to a 3 year deal? Wahoo!<br />-kw<!--content-->
Thanks so much Rick. That did the trick. Now to go find something new to beat my head up against....hehe <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /><!--content-->
Glad that did the trick. Plus I discovered a new program. I may use it in the future. When I saw your message I had just come home from a l o n g day at school and felt like doing something besides grade papers or do paperwork so I figured that would be as good of a diversion as any. If you find something good to beat your head against, let me know. I've needed to do the same many times. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /><!--content-->
The only other thing I did have a problem with was the SSI #includes. I ended up trying what it said in the readme, was using a .php3 file and do a php include instead and it worked perfectly. Just in case anyone else tries to use this and has the same problems.<!--content-->
Instead of beating your head against something, take it out on your computer:<br /><br /><a href="http://goodstuff.stoverdatasystems.com" target="_blank">http://goodstuff.stoverdatasystems.com</a><br />Click the Stress Tools link on the left or scroll down to Desktop Stress Relieving Tools.<br /><br />Have fun! (I particularly like droping the termites and then using the hammer on them! <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/laugh.gif" style="vertical-align:middle" emoid=":lol:" border="0" alt="laugh.gif" /> )<br /><br />Lianna<!--content-->
Oh my! Termites and Hammers! I'll <b>HAVE</b> to go check it out!<!--content-->
 
Back
Top