freelan Posted March 30, 2003 Posted March 30, 2003 (edited) 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. 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: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@freelancecoalition.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. -------------------------------------------------------------------------------- Apache/1.3.27 Server at www.freelancecoalition.com Port 80 Can anyone tell me what the correct path should be? Update: 30 Mar 03 problem solved. If you want to know how, read on. Edited March 30, 2003 by freelan Quote
TCH-Rick Posted March 30, 2003 Posted March 30, 2003 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. Quote
freelan Posted March 30, 2003 Author Posted March 30, 2003 Try instead: #!/usr/bin/perl Thanks for trying but that still gave me the same error. The error log in Cpanel says the following: [2003-03-29 22:31:12]: error: directory is writable by others: (/home/freelan/public_html/cgi-bin) [sat Mar 29 22:31:12 2003] [error] [client *.*.***.***] File does not exist: /home/freelan/public_html/500.shtml [sat Mar 29 22:31:12 2003] [error] [client *.*.***.***] Premature end of script headers: /home/freelan/public_html/cgi-bin/phpBBusers2nukeusers.pl If that helps any? Quote
freelan Posted March 30, 2003 Author Posted March 30, 2003 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. 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. Quote
freelan Posted March 30, 2003 Author Posted March 30, 2003 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. Thanks to all for your help lstover and Rickvz. 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.