500 Internal Server Error

Status
Not open for further replies.

halo elite

New Member
Messages
4
Reaction score
0
Points
0
Cpanel username: haloelit
Website URL: http://haloelite.x10hosting.com/

For some reason, on any page you go to, you get a 500 Internal Server Error. I just got my account un-suspended for inactivity, and when I restored it I got this error. FTP and Cpanel are working fine. I've backed up the site in case I break anything while trying to fix my problem.

Any help is welcome.

Code:
[B]Internal Server Error[/B]

 The server encountered an internal error or misconfiguration and was unable to complete your request.
 Please contact the server administrator,  webmaster@haloelite.x10hosting.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 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
 

tnl2k7

Banned
Messages
3,131
Reaction score
0
Points
0
Can you login to cPanel and open the file manager with the 'Show Hidden Files (dotfiles)' option enabled, then open the .htaccess file with the editor and copy and paste the content of it here please? Sounds like a typo or error in your htaccess.
 

halo elite

New Member
Messages
4
Reaction score
0
Points
0
Code:
<Files "****.php">
Order Allow,Deny
Deny from All
</Files>
<Files "****.php">
Order Allow,Deny
Deny from All
</Files>

<Files "****.php">
Order Allow,Deny
Deny from All
</Files>


DirectoryIndex home.php

ErrorDocument 400 http://www.haloelite.x10hosting.com/error.php?e=400
ErrorDocument 401 http://www.haloelite.x10hosting.com/error.php?e=401
ErrorDocument 402 http://www.haloelite.x10hosting.com/error.php?e=402
ErrorDocument 403 http://www.haloelite.x10hosting.com/error.php?e=403
ErrorDocument 404 http://www.haloelite.x10hosting.com/error.php?e=404
ErrorDocument 405 http://www.haloelite.x10hosting.com/error.php?e=405
ErrorDocument 406 http://www.haloelite.x10hosting.com/error.php?e=406
ErrorDocument 407 http://www.haloelite.x10hosting.com/error.php?e=407
ErrorDocument 408 http://www.haloelite.x10hosting.com/error.php?e=408
ErrorDocument 409 http://www.haloelite.x10hosting.com/error.php?e=409
ErrorDocument 410 http://www.haloelite.x10hosting.com/error.php?e=410
ErrorDocument 411 http://www.haloelite.x10hosting.com/error.php?e=411
ErrorDocument 412 http://www.haloelite.x10hosting.com/error.php?e=412
ErrorDocument 413 http://www.haloelite.x10hosting.com/error.php?e=413
ErrorDocument 414 http://www.haloelite.x10hosting.com/error.php?e=414
ErrorDocument 415 http://www.haloelite.x10hosting.com/error.php?e=415
ErrorDocument 416 http://www.haloelite.x10hosting.com/error.php?e=416
ErrorDocument 417 http://www.haloelite.x10hosting.com/error.php?e=417
ErrorDocument 500 http://www.haloelite.x10hosting.com/error.php?e=500
ErrorDocument 501 http://www.haloelite.x10hosting.com/error.php?e=501
ErrorDocument 502 http://www.haloelite.x10hosting.com/error.php?e=502
ErrorDocument 503 http://www.haloelite.x10hosting.com/error.php?e=503
ErrorDocument 504 http://www.haloelite.x10hosting.com/error.php?e=504
ErrorDocument 505 http://www.haloelite.x10hosting.com/error.php?e=505
 

Fedlerner

Former Adm & Team Manager
Community Support
Messages
12,934
Reaction score
6
Points
38
The problem was that on the first lines you had:
Code:
<Files "****.php">
Order Allow,Deny
Deny from All
</Files><Files "****.php">
Order Allow,Deny
Deny from All
</Files>
Instead of:
Code:
<Files "****.php">
Order Allow,Deny
Deny from All
</Files>
<Files "****.php">
Order Allow,Deny
Deny from All
</Files>

I moved the "<Files>...." to the following line and your website is loading correctly now.
It's showing a MySQL error, so check that you've set-up and configured correctly the database.
 

halo elite

New Member
Messages
4
Reaction score
0
Points
0
yeah i just noticed that... I'm not sure why though its saying access is denied to the database
Edit:
problem fixed
 
Last edited:
Status
Not open for further replies.
Top