I'm tying to run a script to export my database files for phpbb 2.0.4 to nuke 6.5 which includes a ported version of phpbb 2.0.4. In the instructions it says to edit the perl path at the top of each file with the appropriate path. The path listed in the files is #!C:\Perl\bin\perl.exe.<br /><br />I have tried using /usr/bin/perl.exe and several others but, I keep getting the following error msg whenever I try to run the script:<br /><br /><i>Internal Server Error<br />The server encountered an internal error or misconfiguration and was unable to complete your request.<br />Please contact the server administrator, <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e --> and inform them of the time the error occurred, and anything you might have done that may have caused the error.<br /><br />More information about this error may be available in the server error log.<br /><br /><br />Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. <br /><br /><br />--------------------------------------------------------------------------------<br /><br />Apache/1.3.27 Server at <!-- w --><a class="postlink" href="http://www.freelancecoalition.com">www.freelancecoalition.com</a><!-- w --> Port 80</i> <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/mad.gif" style="vertical-align:middle" emoid=":angry:" border="0" alt="mad.gif" /> <br /><br />Can anyone tell me what the correct path should be?<br /><br />Update: 30 Mar 03 problem solved. If you want to know how, read on.<!--content-->
Try instead:<br /><br />#!/usr/bin/perl<!--content-->
You should also check the permissions on the script file. It should probably be set to 755. I've gotten Internal Server Error when the permission is set wrong.<!--content-->
<!--QuoteBegin-lstover+Mar 30 2003, 03:28 AM--><div class='quotetop'>QUOTE(lstover @ Mar 30 2003, 03:28 AM)</div><div class='quotemain'><!--QuoteEBegin-->Try instead:<br /><br />#!/usr/bin/perl<!--QuoteEnd--></div><!--QuoteEEnd--><br />Thanks for trying but that still gave me the same error.<br /><br />The error log in Cpanel says the following:<br /><br /><i>[2003-03-29 22:31:12]: error: directory is writable by others: (/home/freelan/public_html/cgi-bin)<br /><br />[Sat Mar 29 22:31:12 2003] [error] [client *.*.***.***] File does not exist: /home/freelan/public_html/500.shtml<br />[Sat Mar 29 22:31:12 2003] [error] [client *.*.***.***] Premature end of script headers: /home/freelan/public_html/cgi-bin/phpBBusers2nukeusers.pl</i><br /><br />If that helps any?<!--content-->
<!--QuoteBegin-Rickvz+Mar 30 2003, 03:33 AM--><div class='quotetop'>QUOTE(Rickvz @ Mar 30 2003, 03:33 AM)</div><div class='quotemain'><!--QuoteEBegin-->You should also check the permissions on the script file. It should probably be set to 755. I've gotten Internal Server Error when the permission is set wrong.<!--QuoteEnd--></div><!--QuoteEEnd--><br />Thanks for the help but unfortunately that didn't work either, oh well, keep the suggestions coming. I will try anything to get it to work at this point.<!--content-->
Ok, got the problem fixed. It seems there was an error in the script, that's why I was getting the file not found error on the server logs. I corrected the script to point to the right place and what do you know it worked but, it wouldn't have if I hadn't already corrected the perl path and changed the permissions.<br /><br />Thanks to all for your help lstover and Rickvz. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /><!--content-->
Try instead:<br /><br />#!/usr/bin/perl<!--content-->
You should also check the permissions on the script file. It should probably be set to 755. I've gotten Internal Server Error when the permission is set wrong.<!--content-->
<!--QuoteBegin-lstover+Mar 30 2003, 03:28 AM--><div class='quotetop'>QUOTE(lstover @ Mar 30 2003, 03:28 AM)</div><div class='quotemain'><!--QuoteEBegin-->Try instead:<br /><br />#!/usr/bin/perl<!--QuoteEnd--></div><!--QuoteEEnd--><br />Thanks for trying but that still gave me the same error.<br /><br />The error log in Cpanel says the following:<br /><br /><i>[2003-03-29 22:31:12]: error: directory is writable by others: (/home/freelan/public_html/cgi-bin)<br /><br />[Sat Mar 29 22:31:12 2003] [error] [client *.*.***.***] File does not exist: /home/freelan/public_html/500.shtml<br />[Sat Mar 29 22:31:12 2003] [error] [client *.*.***.***] Premature end of script headers: /home/freelan/public_html/cgi-bin/phpBBusers2nukeusers.pl</i><br /><br />If that helps any?<!--content-->
<!--QuoteBegin-Rickvz+Mar 30 2003, 03:33 AM--><div class='quotetop'>QUOTE(Rickvz @ Mar 30 2003, 03:33 AM)</div><div class='quotemain'><!--QuoteEBegin-->You should also check the permissions on the script file. It should probably be set to 755. I've gotten Internal Server Error when the permission is set wrong.<!--QuoteEnd--></div><!--QuoteEEnd--><br />Thanks for the help but unfortunately that didn't work either, oh well, keep the suggestions coming. I will try anything to get it to work at this point.<!--content-->
Ok, got the problem fixed. It seems there was an error in the script, that's why I was getting the file not found error on the server logs. I corrected the script to point to the right place and what do you know it worked but, it wouldn't have if I hadn't already corrected the perl path and changed the permissions.<br /><br />Thanks to all for your help lstover and Rickvz. <img src="http://www.totalchoicehosting.com/forums/style_emoticons/default/smile.gif" style="vertical-align:middle" emoid="" border="0" alt="smile.gif" /><!--content-->