Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Trying to update from 5.2.6 to 5.3.1 - no luck
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 29, 2013 - 10:16 pm

site is back... but still getting those 400 errors which stop all processing... do you recognize the alternate url its referencing?

Avatar
Benny Lewis
Berlin, Germany
Member
Free Members
sp_UserOfflineSmall Offline
Oct 30, 2013 - 4:44 am

How are you seeing those 400 errors? I never see them on my side. Do you mean they come up within Firebug?

All I ever see is the normal "Update Plugins" screen, but no text ever appears underneath. And yet when I do it with other plugins, they update fine - this only happens with simplepress.

I don't recognize the alternate URL, so my site may have been compromised, but I still don't understand where you are seeing those errors. I can get my programmer on it, but he will be a while before he can see to it, which si why I'd love to understand why it's only happening with simplepress.

Thanks!

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 30, 2013 - 12:03 pm

yes, I see them on page loads in the browse console with firebug...

more from the headers being sent:

http://i0.wp.com/www.fluentin3.....s/user.gif

GET /www.fluentin3months.com/wp-content/themes/black-hat/images/user.gif HTTP/1.1

Host: i0.wp.com

User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Firefox/24.0

Accept: text/problem-with-post-edit-buttontml,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

Accept-Language: en-US,en;q=0.5

Accept-Encoding: gzip, deflate

Referer: http://www.fluentin3months.com.....in-upgrade

Connection: keep-alive

HTTP/1.1 400 Bad Request

Content-Type: text/problem-with-post-edit-buttontml; charset=utf-8

Date: Wed, 30 Oct 2013 15:55:34 GMT

Server: nginx

Content-Length: 56

are you using jetpack?  and the image cdn for it?   if so your cdn cache is invalid the reason for the errors...

just on simple press?  its in the admin...  is it the cause?  I dont know... it appears to stop processing, but cannot be sure...

have you checked the error log for any further info?  does your server run mod_security?

have you updated sp via the wp updater previously?  or is this the first attempt?

Avatar
Benny Lewis
Berlin, Germany
Member
Free Members
sp_UserOfflineSmall Offline
Oct 30, 2013 - 2:19 pm

Thanks for continuing to help me investigate this!

Not sure why it's pointing to that gif off-site too. I don't have a "black hat" theme. Just double checked.

I'm not using Jetpack.

In fact, I have never successfully updated SP via the default WP updater, and ran into issues in the past and had to deactivate all my other plugins and revert to the default theme to be able to make the upgrade. You can see the issues I ran into on this thread:

https://simple-press.com/suppo.....de/page-2/

In doing some testing, I think I may have some serious issue with upgrading my plugins in general however, because there is a plugin "Dagon Design Form Mailer" that I have deactivated and when I click delete, the page just reverts back to where it was before without deleting it. So I have some other issue to figure out related to the plugin page not fully working before I can see about upgrading SP.

If you have any thoughts on the matter (such as trying to delete Dagon Design Form Mailer yourself and seeing the Firebug report) let me know, otherwise I'll have to wait several days until my programmer can help me fix the issue, and get back to you after to confirm something on my site or some plugin was creating this conflict, or ask for further help otherwise.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Oct 30, 2013 - 3:46 pm

This is more in Steve's bailiwick than mine so I may be talking garbage here... but... as I understand it WordPress have recently changed the WP plugin page to use a JSON response which is also what SP uses during the upgrades. Steve's suggestion that you have something running that is making a hidden request bit not getting the expected JSON response back will cause the upgrade to fail and - if I am right - also the WP plugin page processing.

No doubt Steve will let us know if this is an incorrect suggestion!

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 30, 2013 - 5:52 pm

well when trying to update SP, there is zero ajax activity...  something is killing off the processes trying to do the update... the only difference between other plugins (that are listed in wordpress.org) and simple press (or other plugins not in wordpress.org) is that we have to hook into the wp updater and provide the information for our upgrade archive...   we certainly have over a million updates through the updater so its working very well...  that said, something is going on that killing the process...

I was suspecting the 400 errors killing process but am now doubtful its killing it..  trying to upgrade, you get that same error 3 times and after them, http headers are active...  I would still suggest getting to the bottom of that...

as to Dagon Design Form Mailer, that is another plugin that is not hosted at wordpress.org...  so perhaps related...

@Benny, did you ever check your server log for more info?  check right after running the update and see if any errors persits...  also, perhaps try adding

define('WP_DEBUG', TRUE);

to your wp-config.php file and see if more errors are reported to the screen when updating...  I would do this soonest for more details...  it may show why the process is getting killed off...

and you did not answer the mod_security question...

As to your deactivating and switch to default wp theme, that seems to confirm the conflict I have been postulating...

I would update all your non simple press plugins to the latest...   I know wp-seo just released an urgent update because of an issue with upgrading and wp 3.7...  no clue if its related, but I would get the latest and greatest of everything...

Avatar
Benny Lewis
Berlin, Germany
Member
Free Members
sp_UserOfflineSmall Offline
Oct 30, 2013 - 7:03 pm

Thanks for the replies!

I updated other non-simple press plugins, as well as WP to 3.7, but that doesn't help. Also, all other plugins updated perfectly with no hanging.

"does your server run mod_security?" - sorry, yes it does!

I looked at the error log just after trying an update and there was no error within the last minute relevant to what I had done. Only

[Wed Oct 30 15:53:25 2013] [error] [client 81.158.219.172] File does not exist: /problem-with-post-edit-buttonome/irishpolyglot/fluentin3months.com/internal_error.html

and plenty of other errors, but a minute or more before this.

When I added the WP_DEBUG option to the wpconfig file, I got the error:

Notice: add_option was called with an argument that is deprecated since version 2.3 with no alternative available. in /problem-with-post-edit-buttonome/irishpolyglot/fluentin3months.com/wp-includes/functions.php on line 3019

Both at the top of every page, and where the info should be when running the update on SP.

Thanks for any further suggestions...

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 30, 2013 - 8:11 pm

the deprecated one shouldnt be an issue - until they just get rid of it...

can you disable mod_security? at least to test an upgrade with it off?

Avatar
Benny Lewis
Berlin, Germany
Member
Free Members
sp_UserOfflineSmall Offline
Oct 31, 2013 - 4:04 am

I disabled mod_security, waited a few minutes for the change to take effect, and then ran the upgrade, but it's the same. Any other suggestions, or at least starting points to give to my programmer as he investigates the issue?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Oct 31, 2013 - 11:23 am

nothing else at this point, but still thinking on it...

great to try to solve this local issue, but dont forget, you could always just ftp the latest version to your server...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17361
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625