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
upgrade hanging from 5.2.6 to 5.4.1
Avatar
Aaron Wentzel
Member
Free Members
sp_UserOfflineSmall Offline
Feb 2, 2014 - 2:03 pm

My upgrade is hanging and failing to upgraded.

The simple:Press is being upgraded page says "Upgrade is in progress - please wait" and the gif icon shows but no status reports back no builds nothing else.  Just a big yellow box and it never finished.

What should i do next?

*Build 9877 to 11023.

 

Thanks,

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 2, 2014 - 2:25 pm

Sounds like it is clearly either hanging/timing out, there is a script error somewhere - or - and we have discovered this to be a problem on some sites - another process is adding items to the html request and return values making them unreadable by the SP upgrade script. A typical example of that would be a security plugin adding tokens for example.

The first thing to do would probably be to look in the php error log to see if anything is recorded that might suggest a hang or time-out. I will also look at the instructions between 5.2.6 and 5.4.1 to see if anything stands out as potentially problematic although that is quite a big version jump...

andy-signature.png
YELLOW
SWORDFISH
Avatar
Aaron Wentzel
Member
Free Members
sp_UserOfflineSmall Offline
Feb 2, 2014 - 3:45 pm

TypeError: 'undefined' is not a function (evaluating 'document.getElementFromId('imagezone')')  spjPerformUpgrade

I've followed any instructions that were provided.   Where can i find all upgrades from 5.2.6 to this point.  I'm happy to incrementally install updates.  Just glad i tried on baseball before i tried on my football site.

 

 

Avatar
Aaron Wentzel
Member
Free Members
sp_UserOfflineSmall Offline
Feb 2, 2014 - 3:49 pm

x.x.x.x- - [02/Feb/2014:15:46:26 -0500] "GET /wp-content/plugins/simple-press/resources/images/working.gif HTTP/1.1" 304 - "http://www.fantasybaseballxtreme.com/wp-admin/admin.php?page=simple-press/sp-startup/sp-load-install.php" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_1) AppleWebKit/537.73.11 (KHTML, like Gecko) Version/7.0.1 Safari/537.73.11"

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Avatar
Aaron Wentzel
Member
Free Members
sp_UserOfflineSmall Offline
Feb 9, 2014 - 5:08 pm

Problem in the code:  sp-install.js uses an invalid function document.getElementFromId().  

Solution : Rename function to document.getElementById().

 

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 9, 2014 - 7:30 pm

why do you think that's invalid?   many hundreds of thousands of upgrades have worked just fine with it - so what is different with your system?

will research it further though...

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 10, 2014 - 3:05 am

... and what browser is this with please?

andy-signature.png
YELLOW
SWORDFISH
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