Connection lost. Saving has been disabled… (Updating Posts/Pages)

I’ve been developing for WordPress for a few years now without any trouble on an old XP/WAMP development server (v1.7.4) but recently have been getting the error “Connection lost. Saving has been disabled until you’re reconnected” whenever I try to update either WordPress Posts or Pages. The majority of what I’ve turned up on the subject points to plugins as the source of the problem, Sadly, I find that even in a clean install of wordpress 3.8.1, in a new DB, without any plugins the problem persists. Next logical culprit then is the server. I check the logs, and find nothing. In the process of migrating my workflow to a newer Windows 7 platform (WAMP v2.2.22) I created a new install there, and the problem is gone. I’ve run the php.ini’s from both servers through a difference engine hoping to suss out the cause, but I’m afraid it’s a bit beyond me where the issue might be, nor how to share the results of the comparison here, either as a flat file, or CSV.
Any thoughts?

3 s
3

That message is a result of your server throwing a 503 error and the WordPress Heartbeat API catching that error. See https://core.trac.wordpress.org/ticket/25660 for the background on the fix that WordPress introduced to save offline edits.

Things to check on your computer are if WAMP is actually running when you’re getting this message (check the status icon in the system tray). You should also check to make sure no other programs are trying to take over the port WAMP uses. Reports of Skype and TeamViewer taking control of ports 80 & 443 abound, as well as fixes for each of them.

If you haven’t checked out the WAMP forums, here’s a page that outlines the debugging steps for the 503 server error, and fixes for Skype and TeamViewer: http://forum.wampserver.com/read.php?2,115474,115576.

Leave a Comment