Forums

[resolved] Internal Server Error when saving a draft (21 posts)

  1. greenandchic
    Member
    Posted 2 years ago #

    I know "Internal Server Error" problems have been addressed here time and again, but I haven't found a solution to my specific problem yet.

    I first tried to copy and paste a blog post from Notepad and I got this error message right off the bat:

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

    I know this is possible if I had tried to save this post from a Word file, but this was from Notepad.

    I then tried to just type the post out by hand, but I am still getting this error message.

    I deactivated all plugins (to see if that had anything to do with it), but that didn't work.

    Is there something I'm missing? It only does that when I try to save a draft - a hand typed draft.

    If that helps, the site is http://www.greenandchic.com/blog

  2. James
    Happiness Engineer
    Posted 2 years ago #

    Do you have access to your server error log? Most hosting providers offer access to the server error log in their control panel. If you do have access to it, generate the error again and immediately check the log. Typically, the server error log provides a detailed description of the problem.

  3. greenandchic
    Member
    Posted 2 years ago #

    I do have access to it and fond this:

    [Tue May 04 13:25:50 2010] [error] [client 24.21.241.248] File does not exist: /home/greenand/public_html/500.shtml, referer: http://www.greenandchic.com/blog/wp-admin/post.php?action=edit&post=2745&message=10

    I am not sure what that means. Would "file does not exist" be the message?

  4. James
    Happiness Engineer
    Posted 2 years ago #

    That means that a custom 500 error page does not exist. Was there anything before that error?

  5. greenandchic
    Member
    Posted 2 years ago #

    No, nothing came before the error. It seemed to have come out of nowhere.

  6. greenandchic
    Member
    Posted 2 years ago #

    If you mean on the error page, there are these:

    [Tue May 04 12:59:52 2010] [error] [client 64.94.66.97] File does not exist: /home/greenand/public_html/406.shtml
    [Tue May 04 12:54:13 2010] [error] [client 77.211.142.107] File does not exist: /home/greenand/public_html/404.shtml
    [Tue May 04 12:54:13 2010] [error] [client 77.211.142.107] File does not exist: /home/greenand/public_html/naturity.htm=
    [Tue May 04 12:54:02 2010] [error] [client 190.208.19.2] File does not exist: /home/greenand/public_html/404.shtml, referer: http://wordpress.org/support/rss/
    [Tue May 04 12:54:02 2010] [error] [client 190.208.19.2] File does not exist: /home/greenand/public_html/blog&, referer: http://wordpress.org/support/rss/

    and so on...

    They seem to be in between the main error message, There are just a lot of them because I tried so many times.

  7. James
    Happiness Engineer
    Posted 2 years ago #

    Those are all standard file not found errors. Is there anything in the server error log immediately before the entry on Tue May 04 at 13:25:50?

  8. greenandchic
    Member
    Posted 2 years ago #

    Hmmmm, the only thing that came before Tue May 04 12:25:50 was:

    [Tue May 04 13:25:15 2010] [error] [client 24.21.241.248] File does not exist: /home/greenand/public_html/500.shtml, referer: http://www.greenandchic.com/blog/wp-admin/post.php?action=edit&post=2745&message=10

    It just keeps going on since I tried so many times. All of the errors on the log are pretty much the same. I just reinstalled this version of WP and it didnt help...

  9. James
    Happiness Engineer
    Posted 2 years ago #

    Thats's still a file not found error. Your server error log should have a description of the actuall 500 error (it would have happened around the time you saw the 500 error in your browser and it won't mention "File does not exist").

  10. greenandchic
    Member
    Posted 2 years ago #

    Unfortunately it doesnt say anything else. Its not giving me a description of the error. Lets see, I'm checking my error log and it only has the overview of the errors.

  11. James
    Happiness Engineer
    Posted 2 years ago #

    Hm, it sounds like your hosting provider is only allowing you to see 404 errors ("file does not exist") in your server error log. I don't why they're doing that, but you'll have to generate the 500 error in your browser again, note the date and time, and ask your hosting provider for information regarding the error.

  12. greenandchic
    Member
    Posted 2 years ago #

    Hello,

    I did contact the server and they gave me this info:

    "The 500 Internal Server Error
    The server encountered an unexpected condition which prevented it from fulfilling the request.

    404 Not Found
    The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent.

    The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.

    Also just to let you know wordpress is a third party to us and you will need to contact them for support with any issue that arise from the blog.

    Hope this info helps."

    That's all the info I was able to get from this so far....

  13. James
    Happiness Engineer
    Posted 2 years ago #

    Well, that was awfully unhelpful of them. I'm afraid that we really can't do anything to help you without the description of the actual 500 error from your server error log. And, since they aren't willing to help, there's really nothing left to do. Perhaps switching to a different hosting provider would be the next step.

  14. greenandchic
    Member
    Posted 2 years ago #

    I will try to get more info about the 500 error again...

    wish me luck!

  15. James
    Happiness Engineer
    Posted 2 years ago #

    Good luck!

  16. greenandchic
    Member
    Posted 2 years ago #

    This is what I got:

    "It looks like under one of the 500 error messages it says File does not exist: /home/greenand/public_html/500.shtml, referer:

    Usually it means that there is a script or code that is being read as malware. Let wordpress know that, and hopefully it will help."

    I hope that helps!

  17. James
    Happiness Engineer
    Posted 2 years ago #

    Wow, let me know who your hosting provider is so that I can never recommend them. All the quoted error means is that a custom 500 error page could not be found, which obviously happens immediately after the 500 error is recorded. The 500 error happens, the server records it in the server error log, it then looks for a custom 500 error page to display, but it can't find it, so it records that fact in the server error log, and then it displays the generic 500 error. It has nothing to do with malware.

    A 500 error is nothing more than a "Internal Server Error". We will never be able to know what the actual error is without knowing what was recorded in the internal server error log.

    I hate to sound like an ad, but if this was my host, you'd at least have full access to the server error log. If you needed help understanding it, their support department would gladly help you. And, if it was a slow day in the support department, they'd even fix the problem for you.

    I don't know what else to say, but we really can't help without knowing what the actual internal server error was. Sometimes, plugins can conflict this way, but it's very rare. Try disabling all plugins. If that resolves the issue, reactivate each individually until you find the cause. If a plugin is causing the problem, we still won't be able to fix it without knowing what the error was. You'll just have to stop using it.

  18. greenandchic
    Member
    Posted 2 years ago #

    Thank you soooo much for all of your help!

    I use Pappashop and since I am using their store admin for my website at Green and Chic I will have to see if its even possible to move it. I will definitely ask them!

    In terms of now, even without knowing what the actual problem is, is it possible for someone to be able to fix it - if I hired someone on the outside? I sure hope this isnt a lost cause!

    Thanks again!!
    Carla

  19. James
    Happiness Engineer
    Posted 2 years ago #

    I may be able to fix it, but I would need access to your WordPress admin area, your hosting account's control panel, and FTP access. If I can fix it, I'll have to charge for time too. Please contact me if you're interested.

  20. James
    Happiness Engineer
    Posted 2 years ago #

    After further investigation, an overzealous security script or a misconfigured server was preventing the completion of "POST" commands containing the word "from".

    Unfortunately, since WordPress saves and publishes posts via the "POST" command, absolutely no posts containing the word "from" could be saved or published.

    This issue was temporarily resolved by finding creative replacements for all occurrences of the word "from" in the post.

    The issue is now in the hands of the hosting provider, and I hope that they figure out what is wrong with their server.

  21. James
    Happiness Engineer
    Posted 2 years ago #

    The issue has been officially resolved. mod_security was identifying the post as a MySQL injection attack. The hosting provider adjusted the mod_security rules, and that appears to have solved the problem.

Topic Closed

This topic has been closed to new replies.

About this Topic