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
Cannot update
Avatar
Stefano Prete
Melbourne, Australia
Member
Free Members
sp_UserOfflineSmall Offline
Aug 19, 2015 - 8:07 am

I have just upgraded to 5.5.9.

Unfortunately, I cannot update the database. The page gets stuck, no refresh, nothing...

What can I do?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 19, 2015 - 10:12 am

So it has downloaded and installed the core plugin but the actual update fails?

This usually - when it happens from time to time - comes down to another plugin or WP theme trying to hijack the AJAX call. Big, security WP plugins have a habit of doing this. And it means the return codes we get from the process are wrong as they have been changed or added to. Also happens if you have turned on extra authentication processes to access the server.

So first question has to be have you changed or added anything since the last SP update a couple of months back?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Stefano Prete
Melbourne, Australia
Member
Free Members
sp_UserOfflineSmall Offline
Aug 19, 2015 - 6:05 pm

Andy, in the last few month I updated some plugins and the template, just normal things.

I give you more info. 

In the plugin list, the version I have is the 5.5.9. When trying to update the database, it says it's updating from the 5.5.8 (from 13000 to 13315). Strange, isn't it?

After I clicked to update the dB, I right-click and choose "Inspect element".

It shows an error "Uncaught ReferenceError: spjPerformUpgrade is not defined admin.php:460"

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 19, 2015 - 6:12 pm

updating from the 5.5.8 (from 13000 to 13315).
That's exactly correct.
If you can open your script console you will probably see other errors. Something seems to be killing your javascript session so that it no longer runs. Need to track the source of the error.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Stefano Prete
Melbourne, Australia
Member
Free Members
sp_UserOfflineSmall Offline
Aug 19, 2015 - 6:19 pm

I just don't know how to do that...confused

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 19, 2015 - 6:24 pm

What browser do you use?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Stefano Prete
Melbourne, Australia
Member
Free Members
sp_UserOfflineSmall Offline
Aug 19, 2015 - 11:29 pm

Done! You gave me a HUGE hint!

I am using a WP theme with a child, heavily customised.

I switched off the child and activated the main theme. SP uprade went through perfectly, nice and smooth. 

Put the child back and done!

Thank you for your help Andy, greatly appreciated wink

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 20, 2015 - 12:57 am

I wish there was an easy way to keep themes from hijacking ajax requests, but doesnt really seem to be viable options there...  glad its resolved!

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: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626