MyBB Community Forums

Full Version: 500 Internal Server Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Good morning folks.

I am a new member and I'm having difficulty.

I installed MyBB and the installation wizard completed successfully.

However, whenever I try to modify the options in the Admin CP I get a 500 Internal Server Error.

It looks like this:

Quote:Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] 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.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] 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.

I've CHMODed all of the files as per the instructions. I also changed htaccess.txt to .htaccess.

Any ideas why I'm having this problem?

My Forum address is: http://www.didymus.org.uk/forum

Many thanks in advance.
it is fine for me i can see forum
(2010-02-10, 11:35 AM)alirex Wrote: [ -> ]it is fine for me i can see forum

Yep, the forum seems to spring to life no problem. The problem only occurs when I try to access the ADMIN CP (although I've not really had time to play with any other functions yet).

I've checked the config.php in the /inc directory and this seems to be populated with all of the relevant data.

Aaargghh!
Rename the .htaccess back to htaccess.txt

If that doesn't work, can you check your host's error log and see if there's more details on the error?? 500 is a blanket error that can cover many things.
Do you have a .htaccess file in your admin directory?
Matt. Thank you. I'm having some problems with my webhost. Been waiting for five minutes for CuteFTP to access the logs directory. As soon as I can view any error logs I'll post the results here....
Tim. No. The htaccess file was in the root of the Forum directory. Have renamed it back to htaccess.txt
Still no joy with my webhost. Their Control Panel is down so can't access the server error log.

If I try to click on GENERAL CONFIGURATION under BOARD SETTINGS, I get the dreaded 500 Error. The link that the board is trying to access is:

http://www.didymus.org.uk/forum/dmain/in...ange&gid=7

Does this URL appear correct? I was a bit surprised to find a / in the URL between the words config and settings.

I'll get it working in the end but it's not as easy as I'd hoped!
The last few entries on the Server Error Log are as follows:

Quote:[Wed Feb 10 13:06:42 2010] [error] [client 86.164.250.163] File does not exist: /home/kdidymus/public_html/500.shtml, referer: http://community.mybboard.net/thread-646...63967.html
[Wed Feb 10 12:58:45 2010] [error] [client 86.164.250.163] File does not exist: /home/kdidymus/public_html/500.shtml, referer: http://www.didymus.org.uk/forum/dmain/in...ule=config
[Wed Feb 10 12:58:33 2010] [error] [client 86.164.250.163] File does not exist: /home/kdidymus/public_html/500.shtml, referer: http://www.didymus.org.uk/forum/dmain/in...ule=config
[Wed Feb 10 12:52:06 2010] [error] [client 86.164.250.163] File does not exist: /home/kdidymus/public_html/500.shtml, referer: http://www.didymus.org.uk/forum/dmain/in...dule=forum
[Wed Feb 10 12:50:44 2010] [error] [client 86.164.250.163] File does not exist: /home/kdidymus/public_html/500.shtml, referer: http://www.didymus.org.uk/forum/dmain/in...ule=config
[Wed Feb 10 12:49:59 2010] [error] [client 86.164.250.163] File does not exist: /home/kdidymus/public_html/500.shtml, referer: http://www.didymus.org.uk/forum/dmain/index.php
[Wed Feb 10 12:49:43 2010] [error] [client 86.164.250.163] File does not exist: /home/kdidymus/public_html/500.shtml, referer: http://www.didymus.org.uk/forum/dmain/in...ule=config
[Wed Feb 10 12:45:35 2010] [error] [client 86.164.250.163] File does not exist: /home/kdidymus/public_html/500.shtml, referer: http://www.didymus.org.uk/forum/dmain/in...dule=style

(2010-02-10, 12:06 PM)MattRogowski Wrote: [ -> ]Rename the .htaccess back to htaccess.txt

If that doesn't work, can you check your host's error log and see if there's more details on the error?? 500 is a blanket error that can cover many things.

Does this help at all?

PS - I've renamed the admin directory to dmain and updated the config.php to reflect this BUT I was getting the 500 Error even before I did this....
Okay.

So I've been playing around with this thing. The one constant I can find in the 500 Internal Error problem is the presence of a slash in the URLs generated by the Admin page.

For example, when I click on PREFERENCES under the HOME in the ADMIN CP, it tries to access:

http://www.didymus.org.uk/forum/dmain/in...odule=home/preferences

Should that slash be there? When you look at the Server Error Log, the URLs that cause the error stop just before the slash.

For example,

http://www.didymus.org.uk/forum/dmain/in...odule=home

Am I doing something wrong?!

Many thanks.
Folks.

I'm sorry to have bothered you. It turns out my problem was all down to mod_security. So I contacted my webhost and they kindly disabled it. My forum is now working perfectly. Thank you.

Kindest regards and thanks again.

KD.