• Resolved skustes

    (@skustes)


    A problem has cropped up with saving posts and pages on my website, which just went live this week. The site went live Monday and is at https://www.fitnessspotlight.com. When in the Admin panel, I can add/remove widgets, edit themes, etc. But if I try to update or publish a page or a post, I get either a 500 Internal Server Error or a 504 Gateway Timeout. I suppose which error I get depends on how the server is feeling at the moment.

    I have two websites running on this hosting account (GoDaddy Linux). This one is in a subfolder, while the other one is pointing to the root and is working fine (although I always had permalink issues on that root directory).

    Does anyone have suggestions on how I can fix this issue?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter skustes

    (@skustes)

    Also, I meant to mention that I’ve done lots of searching of Google and the forums here and found nothing that fixed my issue. Appreciate any help.

    Thread Starter skustes

    (@skustes)

    A reinstall gave me nothing either. Any ideas?

    I am having the same problems if anyone can answer it?

    Jayce

    Thread Starter skustes

    (@skustes)

    Okay, here’s a bit more info. I installed a new copy of WordPress into a different folder and it worked just fine. I was able to create a page with no issues. I moved over my theme and plugins and had no issues. When I export/import the database tables from my live site, it all goes to pot. I can no longer create/update posts or pages.

    I’ve tried deactivating plugins. I’ve tried truncating the data in tables (in my new WP instance, not the live one), thinking perhaps there’s corrupt data somewhere. Nothing works. Ideas anyone?

    Thread Starter skustes

    (@skustes)

    Figured it out. For some reason, my posts table was corrupted or something. The website worked, posts loaded, etc. So I ended up inserting the posts from that table into a fresh copy of wp_posts 30 at a time and confirming that my test site was still working after each insert, thinking perhaps it was corrupted data in a post. Once all the posts were in and Update/Publish still worked, I thought perhaps it was the actual table…bingo!

    So I just exported the table from my test site that worked into my live site with all the posts and everything is good now. Not sure how the table could get corrupted like that where the public side still worked.

    I am going to post this everywhere that someone write about this so that you can try this solution out.

    Make that if you have reinstalled wordpress, that you .htaccess file is correct. If you have wordpress installed on your main directory(you see wordpress content when you first enter the site) your .htaccess file should look similar to this:

    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    Hi, Thank goodness for your post. I’ve got exactly the same problem after a migration and I thought it was ok until I tried to edit a page. Some pages just give me a white screen for editing, some are fine and both new and existing give me the 500’s errors. Is there anything else I should know about before attempting this fix. Was these symptoms similar to yours? Has it been fine since then?

    Manyt thanks ??

    I’ve got the same problem (error 504: gateway timeout) when saving posts. I’ve fixed the problem with the plug-in “WP-DBManager”. I’ve runned “Repair DB” and “Optimize DB” tasks and everything is gone right.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘500 and 504 Errors When Saving Post/Page’ is closed to new replies.