Support Forum

Trying to update from 5.2.6 to 5.3.1 – no luck

27 Answers

New Answer

MP Mr Papa
Mr Papa
Member

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…

BL Benny Lewis
Benny Lewis
Member

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…

MP Mr Papa
Mr Papa
Member

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?

BL Benny Lewis
Benny Lewis
Member

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?

MP Mr Papa
Mr Papa
Member

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…

BL Benny Lewis
Benny Lewis
Member

I am getting even more confused as I get deeper into this…

So I gave my programmer the exact same login that I gave you, he went in, clicked upgrade and… everything worked like a charm!

I don’t know if it’s my browser, or something wrong with my particular user, but you said it didn’t work for you too (on the same login as my programmer), right?

[Edit, sorry I misread his email. He said “Simple:Press plugin is updated via admin area. But I haven’t clear picture still what was wrong, because I started adding debug info into files, and when I updated some of these files, upgrade process started and successfully completed. So it is possible this problem was related with some caching or wrong symbols in php files. “]

This could be the problem, however I’ve had my caching disabled for the last few days, so that can’t be why this issue is taking place.

Anyway, SP has been updated, and now I want to update its plugins, and I am getting a similar frustrating error (that makes no sense):

“An error occurred while updating : The plugin is at the latest version

Still scratching my head… I suspect that if my programmer logged in, then he’d not have this issue, but I have to make him an SP admin, and alas I can’t! When I search for that username on my Admin management page, it hangs in the search forever. If I click “next” to go through the list of forum users manually, it doesn’t go beyond the number/A people, so I can’t find the user to select and upgrade to Admin.

This may be related to the overall problem I’m having. For the moment, is there a way other than on the Manage Admins page to add a new admin? Or is that issue confusing enough that it should get its own thread separately?

Once I have my programmer with a SP admin, then maybe he can test upgrading one SP plugin at a time and ask me to do things to see what is different on both of our ends. I tried everything in both Firefox and Chrome and the results are the same.

YS Yellow Swordfish
Yellow Swordfish
Member

Steve – who has mainly been dealing with this – is unlikely to be getting online today I am afraid but I am sure he will see this tomorrow.

As a quick point I do not think you need to be an SP admin to update plugins via the WP updater. I believe an ordinary WP Administrator can do this…

BL Benny Lewis
Benny Lewis
Member

Thanks for the reply. The plugins update is more specific and may be unrelated to my other problem. What was happening was an error when I tried to update all plugins, but when I did it individually I found that it is just ONE plugin that was giving me the problems:

Language and Theme Selection
You have version 1.1.2 installed. Update to 1.1.4. Requires SP Version 5.3.1.

Any ideas on why that’s giving me the error? I’m mostly updated now, and will have my programmer do a complete clean up of everything on my site so hopefully he’ll find a few errors and fix them such that we clear the underlying issue from before.

If we can’t fix this final plugin issue I’ll just manually install it, and then I should be 100% up to date!

MP Mr Papa
Mr Papa
Member

catching up a bit…

to upload or update sp plugins, you will need to be an sp admin with manage plugins capability…  likewise, to upload or update sp themes, you need to be an sp admin with manage themes capability…

can you check the directory name of that plugin on your server?  in wp-content/sp-resources/forum-plugins

you can manually download the language and theme selection plugin from our downloads page (see nav menu) and then upload via ftp…  not sure why just that one, unless something off in directory name…

BL Benny Lewis
Benny Lewis
Member

can you check the directory name of that plugin on your server?  in wp-content/sp-resources/forum-plugins

Oh that is odd. I see all my other plugins there, but not the languages and theme selection one. Not sure where it is, but I’ll just go and add it in manually. Thanks for all your help!

MP Mr Papa
Mr Papa
Member

keep in mind, the name of the languages and theme plugin is user-selection…

BL Benny Lewis
Benny Lewis
Member

Drats. Well then it is still there… any final thoughts to see why it’s not upgrading before I just nuke it and FTP the new version over it?

MP Mr Papa
Mr Papa
Member

not really… which version of wp?

just ftp the latest over the top…