Forums

[resolved] 500 Internal Server Error on wp-admin (18 posts)

  1. raasm007
    Member
    Posted 1 year ago #

    I have absolutely no clue as to why I am getting this. I have a new installation via fantastico ver 3.03. Whenever I try logging in, the wp-admin page doesn't show up, instead it gives 500 internal server error... i tinkered with the .htaccess but no avail...i have been at it all day, tried finding previous posts but i have not been successful. Please help me...thanks

  2. 123milliseconds
    Member
    Posted 1 year ago #

    Please paste htaccess file at http://wordpress.pastebin.com/

    Post the link you get at pastebin here, so that we can look at it.

    Also post last 100 errors from your server error logs

  3. arkgroup
    Member
    Posted 1 year ago #

    No need to paste .htaccess. Just rename it to .htaccess1. Try to access your website again. If 500 error remains then it's not .htaccess problem. Second possible cause: mod_security.

  4. raasm007
    Member
    Posted 1 year ago #

    @arkgroup I tried your method...didn't help...what is mod_security ??? I have no idea about this. But you sure, its not .htaccess problem ???

  5. arkgroup
    Member
    Posted 1 year ago #

    It could be mod_security issue, and you should contact hosting support to check it out. Mod_security is an add-on for webserver.

    If renaming of .htaccess did not help, then it's not htaccess.

    You may also check permissions and ownership of your files and folders if you know how to do it. If not, hosting support will probably do it also.

    You may also check logs. There could be more information about error.

  6. raasm007
    Member
    Posted 1 year ago #

    please tell me about the permissions as to what should i assign to individual folders and files...
    here's the error log...the last few are the same

    [Mon Mar 07 18:29:21 2011] [error] [client xxx.xxx.xxx.xxx] File does not exist: /home/domain-name/public_html/500.shtml, referer: http://domain-name.net/

  7. raasm007
    Member
    Posted 1 year ago #

    what I am surprised is...mine is a completely new installation...I just cant login to my dashboard or any other internal stuff like editing...gives this 500 internal server error...help plz

  8. arkgroup
    Member
    Posted 1 year ago #

    raasm007,

    Looks like you have DirectAdmin and it requires such files as 400.shtml, 401.shtml,403.shtml,404.shtml,500.shtml to be present at root. You may create your own files, but they should be more than 512 bytes, as I remember. I'll post a link with default files for you in few minutes.

  9. arkgroup
    Member
    Posted 1 year ago #

    Here is info about error pages:
    http://www.site-helper.com/misc.html#404

    I've made an archive with default error pages for DirectAdmin.
    http://rapidshare.com/files/451400048/default_error_pages.rar

    Try to upload it to /home/domain-name/public_html/ and access your site then.

    Permissions for files should be 644, permissions for folders should be 755. /upload/ folder may need 777 permissions.

  10. arkgroup
    Member
    Posted 1 year ago #

    Almost forgot, permissions for error pages files like 401.shtml etc, should be also 755. You may set permissions with FileZilla or FileManager in control panel

  11. raasm007
    Member
    Posted 1 year ago #

    oh...thank you so much...am trying it right now...will get back to you...but you're the man...directadmin ...lol ...what is it for exactly ?? and how is wordpress related to it ? am asking just for the knowledge...not to bother you :D

  12. arkgroup
    Member
    Posted 1 year ago #

    There's no relation between DirectAdmin and wordpress. DirectAdmin is a popular hosting control panel. It installs default error pages for every username and if you for example get 404 error, directadmin simply shows 404.shtml in your browser.

  13. raasm007
    Member
    Posted 1 year ago #

    but mine is cpanelx control panel...and i hv installed other scripts before without this problem...

  14. raasm007
    Member
    Posted 1 year ago #

    mate...finished with the error pages and followed your instructions...its still not solved...

  15. arkgroup
    Member
    Posted 1 year ago #

    May be we have resolved another error. Is there anything else in access or error logs?

    You should contact hosting support, let them check their system stuff.

  16. raasm007
    Member
    Posted 1 year ago #

    no thing else...there was a thing regarding favicons...but favicon aint that important...dont think that favicon is the problem...anyways..i am going to shoot the support now...thanks for the help though :D i checked it in my localhost server and everythin runs fine...guess it is the server then...i'll get back if its resolved then

  17. raasm007
    Member
    Posted 1 year ago #

    Well it was a server thing. I will not say problem coz my server has SU-PHP enabled. So I had to create a custom php.ini in my root as well as wp-admin folder.

    ok people, this can be faced by anyone. Try .htaccess first like arkgroup said above by changing the name. If it persists, then it might be that your server also has SU-PHP. To solve this create a custom php.ini file with the following line

    suhosin.Simulation On

    That's it...nothing extra and place it in your root as well as wp-admin folder and your problem should be solved.

  18. arkgroup
    Member
    Posted 1 year ago #

    Thanks, I haven't met anything like this before. I'll google this for more information, because suphp should not cause troubles by itself.

Topic Closed

This topic has been closed to new replies.

About this Topic