FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » 500 Internal Server Error
Show: Today's Messages :: Unread Messages :: Show Polls :: Message Navigator
| Subscribe to topic | Bookmark topic 
Switch to threaded view of this topic Create a new topic Submit Reply
500 Internal Server Error [message #18200] Thu, 13 May 2004 03:16 Go to next message
esm2002 is currently offline  esm2002   United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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 08:35 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
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] Thu, 13 May 2004 20:29 Go to previous messageGo to next message
esm2002 is currently offline  esm2002   United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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: Thu, 13 May 2004 23:01]

Report message to a moderator

Re: 500 Internal Server Error [message #18241 is a reply to message #18231] Fri, 14 May 2004 08:54 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
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 #18243 is a reply to message #18241] Fri, 14 May 2004 08:58 Go to previous messageGo to next message
esm2002 is currently offline  esm2002   United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
index.php is 600

and I cannot chmod it thru FTP


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 09:00]

Report message to a moderator

Re: 500 Internal Server Error [message #18244 is a reply to message #18243] Fri, 14 May 2004 09:01 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Ask your host to:

chown -r your_user:your_group *

inside the forum directory.


FUDforum Core Developer
Re: 500 Internal Server Error [message #18254 is a reply to message #18244] Fri, 14 May 2004 16:45 Go to previous messageGo to next message
esm2002 is currently offline  esm2002   United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
now I get

Warning: main(./GLOBALS.php): failed to open stream: Permission denied in /home/indexu2/public_html/forum/index.php on line 13

Warning: main(./GLOBALS.php): failed to open stream: Permission denied in /home/indexu2/public_html/forum/index.php on line 13

Fatal error: main(): Failed opening required './GLOBALS.php' (include_path='.:/usr/local/lib/php') in /home/indexu2/public_html/forum/index.php on line 13


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 #18255 is a reply to message #18254] Fri, 14 May 2004 17:05 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
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 #18265 is a reply to message #18255] Fri, 14 May 2004 22:18 Go to previous messageGo to next message
esm2002 is currently offline  esm2002   United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
yep, that worked

Quote:

Ticket Subject : Re: Upgrading to SuPHP on Aquarius

Reply:
Hi,

I did some research and had to chown /home/indexu2/FUDforum above the WWW directory.

The forum now works!! Enjoy

Simon



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 #18266 is a reply to message #18255] Fri, 14 May 2004 22:23 Go to previous messageGo to next message
esm2002 is currently offline  esm2002   United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
well, we are getting closer. I can now see my forums and browse them.

But when I sign in as the admin and click the Admin Control Panel, I get the following error msg
Forbidden
You don't have permission to access /forum/adm/admglobal.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Additionally, only about half the graphics are there and none of the avatars.



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 #18273 is a reply to message #18266] Sat, 15 May 2004 11:13 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Further permissions problems.

FUDforum Core Developer
Re: 500 Internal Server Error [message #18277 is a reply to message #18273] Sat, 15 May 2004 11:59 Go to previous messageGo to next message
esm2002 is currently offline  esm2002   United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
sounds reasonable to me...

what will fix it...???


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 #18278 is a reply to message #18277] Sat, 15 May 2004 12:08 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Make sure that all forum files are owned by your user/group.

FUDforum Core Developer
Re: 500 Internal Server Error [message #18282 is a reply to message #18278] Sat, 15 May 2004 13:52 Go to previous messageGo to next message
esm2002 is currently offline  esm2002   United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
Ilia wrote on Sat, 15 May 2004 12:08

Make sure that all forum files are owned by your user/group.


and how do I do that?

I only have access thru FTP


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 #18283 is a reply to message #18282] Sat, 15 May 2004 13:54 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
You need to ask your hosting provider to do this for you.

FUDforum Core Developer
Re: 500 Internal Server Error [message #18307 is a reply to message #18283] Sun, 16 May 2004 18:26 Go to previous messageGo to next message
esm2002 is currently offline  esm2002   United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
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."
Re: 500 Internal Server Error [message #18308 is a reply to message #18307] Sun, 16 May 2004 19:13 Go to previous messageGo to next message
esm2002 is currently offline  esm2002   United States
Messages: 339
Registered: May 2002
Location: Atlanta Georgia
Karma: 0
Senior Member
add to buddy list
ignore all messages by this user
well. I chmod the index.php file to 755 and every thing works but the Admin Center. Still cannot log into that and I get the aforementioned 404 error msg

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 #18309 is a reply to message #18308] Mon, 17 May 2004 08:37 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
add to buddy list
ignore all messages by this user
Check and see if the admin directory has a .htaccess file in it.

FUDforum Core Developer
Quick Reply
Formatting Tools:   
  Switch to threaded view of this topic Create a new topic
Previous Topic: error in index.php
Next Topic: Install only creates SOME directories; can't CHMOD; can't import!
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Dec 12 13:08:33 EST 2017

Total time taken to generate the page: 0.01129 seconds