Jump to content

Recommended Posts

Posted (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 :lol:

 

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 by freelan
Posted

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.

Posted
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?

Posted
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.

Posted

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. :lol:

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...