Wordpress broken connections

An error occurred while loading http://yourdomain.com/wp-admin/:
Connection to host yourdomain.com is broken.

I just spent 2 hours trying to fix this weird problem with Wordpress. I had just moved a Wordpress blog from my local server to a real hosting company. After some editing everything seemed to work except the admin part. I didn’t get any real errors, just an empty page and a broken connection so it was tricky to trace where it came from. It also didn’t help that I don’t have access to any logs of the webhost. Eventually it turned out to be some PHP setting from the host that caused the script to fail.

So for anybody else who gets random broken connections try adding this to your .htaccess file:

php_value memory_limit 32M

2 Comments so far

  1. Jorrit on September 26th, 2007

    If you’re able to override configuration values, you’re probably also able to set ‘display_errors’. Use this in combination with error_reporting(E_ALL) and debugging all of a sudden becomes a lot easier.

  2. Christiaan on September 26th, 2007

    I tried that but for some reason it didn’t work, that’s why it was so hard to debug.

Leave a reply