Support Forum

upgrade hanging from 5.2.6 to 5.4.1

AW Aaron Wentzel
Aaron Wentzel
Member

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,

7 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

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…

AW Aaron Wentzel
Aaron Wentzel
Member

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.

 

 

AW Aaron Wentzel
Aaron Wentzel
Member

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”

MP Mr Papa
Mr Papa
Member

http://codex.simple-press.com/codex/installation/upgrading/previous-simplepress-versions/

AW Aaron Wentzel
Aaron Wentzel
Member

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

Solution : Rename function to document.getElementById().

 

MP Mr Papa
Mr Papa
Member

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…

YS Yellow Swordfish
Yellow Swordfish
Member

… and what browser is this with please?