Support Forum

Error updating from 4.5.1 to 5 – Upgrade Aborted 6689

JT jtreml60
jtreml60
Member

Hi,

I need your help! I tried to upgrade to 5 from 4.5.1 tonight and am getting the following error when choosing the “Perform Upgrade option:

Please copy the details below and include them on any support forum question you may have:

6624 – success

6637 – success

6650 – success

6663 – success

6689 – success

Warning: Invalid argument supplied for foreach() in /websites/123reg/LinuxPackage21/problem-with-post-edit-buttoni/ck/li/problem-with-post-edit-buttonicklingbroad.co.uk/public_html/wp-content/plugins/simple-press/sp-startup/install/sp-upgrade-support.php on line 304

Warning: Invalid argument supplied for foreach() in /websites/123reg/LinuxPackage21/problem-with-post-edit-buttoni/ck/li/problem-with-post-edit-buttonicklingbroad.co.uk/public_html/wp-content/plugins/simple-press/sp-startup/install/sp-upgrade-support.php on line 304

Warning: Invalid argument supplied for foreach() in /websites/123reg/LinuxPackage21/problem-with-post-edit-buttoni/ck/li/problem-with-post-edit-buttonicklingbroad.co.uk/public_html/wp-content/plugins/simple-press/sp-startup/install/sp-upgrade-support.php on line 304

Warning: Invalid argument supplied for foreach() in /websites/123reg/LinuxPackage21/problem-with-post-edit-buttoni/ck/li/problem-with-post-edit-buttonicklingbroad.co.uk/public_html/wp-content/plugins/simple-press/sp-startup/install/sp-upgrade-support.php on line 304

Warning: Invalid argument supplied for foreach() in /websites/123reg/LinuxPackage21/problem-with-post-edit-buttoni/ck/li/problem-with-post-edit-buttonicklingbroad.co.uk/public_html/wp-content/plugins/simple-press/sp-startup/install/sp-upgrade-support.php on line 304

Warning: Invalid argument supplied for foreach() in /websites/123reg/LinuxPackage21/problem-with-post-edit-buttoni/ck/li/problem-with-post-edit-buttonicklingbroad.co.uk/public_html/wp-content/plugins/simple-press/sp-startup/install/sp-upgrade-support.php on line 304

6702 – success

 

I deactivated 4.5.1 and chose the delete option too. Any clues as to what the problem is? And by the way, the one time I thought I wont take a backup before I start, I get a problem. I’m kicking myself as we speak. Thanks in advance for any help.

Jim

25 Answers

New Answer

MP Mr Papa
Mr Papa
Member

we have had a small handful (out of many thousands) of upgraders who had a similar problem…  looks like you lost your permssions during the upgrade?   and to date, we have not been able to ascertain while half a dozen folks had this…

can you look on forum – permissions – manage permissions and see if you have any permission sets defined?

JT jtreml60
jtreml60
Member

it wont give me the full forum list in the dashboard as still saying the following:

Upgrade Simple:Press From Version 4.5.1 to 5.0.0 – (Build 6401 to Build 7960)

and every time i select Perform Upgrade gives this error.frown

YS Yellow Swordfish
Yellow Swordfish
Member

Is there any chance you could grab another download of V5. It was updated yesterday to 5.0.1 and while we are still having a problem trying to work out why a small few people have had this problem there was one change in there that may possibly help so it is worth a try…

MP Mr Papa
Mr Papa
Member

and no db backup?  asking because we got the db from one user and could not duplicate it with their db…

JT jtreml60
jtreml60
Member

well i can send you a current backup but I didn’t take a backup before I started the upgrade. sorry! do you want me to send you a current backup?

YS Yellow Swordfish
Yellow Swordfish
Member

Well there is no need to apologise for not making a backup but as we do state in the upgrade instructions we may not be able to help if the logical answer is to restore.

So – do you have access to phpMyAdmin and do you now how to look at tables and maybe change an item of data if needed?

JT jtreml60
jtreml60
Member

Yes, I have access to phpMyAdmin and can look at tables etc if you need.

YS Yellow Swordfish
Yellow Swordfish
Member

The best suggestion I can make is to get past the bit that is causing you the problem to see if you can complete the update knowing that will have to go back and repair that bit afterwards.

Go to the database and find the ‘sfoptions’ table and find the row that has an option_name of ‘sfbuild’. Change the option-value to 6710 and retry the upgrade.

JT jtreml60
jtreml60
Member

result is the same. the field reverts back to a value of 6702 when try to run “perform upgrade”. Results displayed are the same as in the first post above.

YS Yellow Swordfish
Yellow Swordfish
Member

OK let’s try this again

Set the build number again as above but this time also find the row with an option_value of ‘sfforceupgrade’ and set the option_value to 1 – see if that overcomes it.

JT jtreml60
jtreml60
Member

i cant see a row with this option _value in the sfoptions table – is it somewhere else? I can send you an export of this table if helps?

JT jtreml60
jtreml60
Member

so shall I send you an export of the table? if so, how, as can only attach pictures here?