write new post = 30 second delay VS edit existing post = instant
-
Can anyone suggest a way to approach debugging this?
On a WP 2.1 blog I setup awhile ago I have a problem (not new but starting to bother me badly) where if I select write -> write post the page can take almost 30 seconds to load at time (it loads but then takes awhile to timeout). Note that if I edit an existing post, the page loads instantly!
It’s also important to note that when I save a new post, it also takes awhile to time out. Editing an existing post saves instantly.
I highly suspect an ajax issue that is never completing.
But why only on new posts?This may be either a bad plugin misbehaving or my server config, considering I can’t find anyone else with this problem.
Here’s what I tried:
1. disabling javascript in the browser to see if it a script issue = doesn’t change a thing (strange)2. commenting out all the plugin callbacks in the wp-admin/post-new.php code to disable plugins attached to new posts -> no change
Unfortunately I can’t see what file is being called in my firewall, doesn’t show up, so maybe the request is not even being made. Firefox javascript debugging also is useless in this case. Just gets the “script is running slowly” error on rare occasion.
Another interesting effect is that if the “write new post” page is open in wordpress, if I switch away to another tab and come back to the old tab, the same long delay happens. This indicates a javascript onfocus/onchange issue to me but I can’t seem to find it.
Many thanks for any ideas!
- The topic ‘write new post = 30 second delay VS edit existing post = instant’ is closed to new replies.