500 Internal Server Error [message #18200] |
Thu, 13 May 2004 07:16 |
|
esm2002
Messages: 339 Registered: May 2002 Location: Atlanta Georgia
Karma: 0
|
Senior Member |
|
|
as I previously noted, my host planned to moved me from the apache version to the cgi version on May 12 for PHP.
Now I get the following error when I go to my forum page:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Here is what the host said when I notified them of the problem
Quote: | Message by Katrina on Wed, 12th May 2004 9:22 pm
Hello,
Please go through your forum and verify that there are no php variables in the .htaccess file in the forum folder or public_html. Check the permissions on all your files and folders there and make sure they are set to 755 or below. I see your forum folder itself is set to 777 and must be changed.
|
there is an .htaccess file in the forum directory. I assume it comes as part of FUDForum since it was created at the same time as other FUDForum files in the forum directory and it is like all other FUDForum files in that I can never edit/view/chmod/etc them.
My only access is thru my FTP program. As per the instructions from the host, I did chmod the forum to 755. It shows that anyway in my FTP program. Of course, I cannot do anything else with the FUDForum files/folders using FTP.
What do I do now?
Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
|
|
|
Re: 500 Internal Server Error [message #18201 is a reply to message #18200] |
Thu, 13 May 2004 12:35 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Create a small PHP script <?php unlink(".htaccess"); ?> or ask your ISP to remove that file.
FUDforum Core Developer
|
|
|
Re: 500 Internal Server Error [message #18231 is a reply to message #18201] |
Fri, 14 May 2004 00:29 |
|
esm2002
Messages: 339 Registered: May 2002 Location: Atlanta Georgia
Karma: 0
|
Senior Member |
|
|
the host deleted it for me, but I still get the same error msg
the error log has:
Premature end of script headers: /home/acct/public_html/forum/index.php
Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
[Updated on: Fri, 14 May 2004 03:01] Report message to a moderator
|
|
|
Re: 500 Internal Server Error [message #18241 is a reply to message #18231] |
Fri, 14 May 2004 12:54 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
What are the permissions of the index.php? It is possible the webserver has no access rights to it.
FUDforum Core Developer
|
|
|
|
|
|
Re: 500 Internal Server Error [message #18255 is a reply to message #18254] |
Fri, 14 May 2004 21:05 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Looks like only SOME files were chowned, ALL forum files must be chowned. This means both the web and the data directories of the forum.
FUDforum Core Developer
|
|
|
|
|
|
|
|
|
|
Re: 500 Internal Server Error [message #18307 is a reply to message #18283] |
Sun, 16 May 2004 22:26 |
|
esm2002
Messages: 339 Registered: May 2002 Location: Atlanta Georgia
Karma: 0
|
Senior Member |
|
|
the latest response from the host ( which BTW is Lunarpages.com ):
Quote: | Reply:
Hello,
I noticed some of your folders were chmodded to 777. Since we are running suPHP on aquarius, this is not necessary, nor will it work. I have changed quite a few of the permissions to 755 (the highest permission that will work).
With permissions set to 755, the directories will still be writable by your php scripts, as the php scripts are running under your user (as you, essentially) rather than as the web server user.
If there are any other files/folders that are left with permission set at 777, change them to 755. If this does not resolve the issue please let us know.
|
I did chmod the adm folder to 755 and then I was able to get to the admin page.
I decided to unlock the files. I was able to do that.
But when I went to forum, I got:
Quote: | Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
|
prior to the admin unlocking the files the error log had been showing:
Quote: | (13)Permission denied: file permissions deny server access: /home/acct/public_html/forum/adm/adm.css
|
after unlocking the files, the error log shows in part:
Quote: | Premature end of script headers: /home/acct/public_html/forum/adm/admlock.php
Premature end of script headers: /home/acct/public_html/forum/index.php
Premature end of script headers: /home/acct/public_html/forum/adm/admglobal.php
|
Gene
"The older I get, the more I admire competence, just simple competence in any field from adultery to zoology."
|
|
|
|
|