Support Forum

Updating through Forum menu errors

FU fusionx22
fusionx22
Member

Hello,

 

I was updating to the latest 5 build and received these errors:

 

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 /problem-with-post-edit-buttonome/philbars/domains/philippinebars.com/public_html/wp-content/plugins/simple-press/sp-startup/install/sp-upgrade-support.php on line 303

Warning: Invalid argument supplied for foreach() in /problem-with-post-edit-buttonome/philbars/domains/philippinebars.com/public_html/wp-content/plugins/simple-press/sp-startup/install/sp-upgrade-support.php on line 303

Warning: Invalid argument supplied for foreach() in /problem-with-post-edit-buttonome/philbars/domains/philippinebars.com/public_html/wp-content/plugins/simple-press/sp-startup/install/sp-upgrade-support.php on line 303

Warning: Invalid argument supplied for foreach() in /problem-with-post-edit-buttonome/philbars/domains/philippinebars.com/public_html/wp-content/plugins/simple-press/sp-startup/install/sp-upgrade-support.php on line 303

Warning: Invalid argument supplied for foreach() in /problem-with-post-edit-buttonome/philbars/domains/philippinebars.com/public_html/wp-content/plugins/simple-press/sp-startup/install/sp-upgrade-support.php on line 303

Warning: Invalid argument supplied for foreach() in /problem-with-post-edit-buttonome/philbars/domains/philippinebars.com/public_html/wp-content/plugins/simple-press/sp-startup/install/sp-upgrade-support.php on line 303

6702 – success

 

I haven’t really looked at it – I don’t have time tonight – but will look more closely in the morning.

11 Answers

New Answer

MP Mr Papa
Mr Papa
Member

upgrading from what version of sp?  and which wp version?

any mysql errors in your error log file?  that error basically means we were unable to retrieve data from the sfroles table in your db…  quite odd…

FU fusionx22
fusionx22
Member

I’ve got it back up and running – was a little bit fun 🙂

I think what I did was I updated through the WP plugin updater interface along with a number of other plugins, without noticing that Simple-Press was included. When i looked at the Forums menu, and it said Update, I just clicked and didn’t really watch. I think my update was really a downgrade to the 4.50 version. 

I deactivated the plug-in, deleted it, and uploaded my backup files, and it came back up, though it was missing all the permissions. I reset the forum/group permissions and ran the upgrade through the Forum menu, and it upgraded just fine.

I do have one odd issue now. When I browse to the Forum as a guest, I don’t see any of the groups/forums. I noticed this issue in these forums last night, and will research that before opening a new post.

MP Mr Papa
Mr Papa
Member

are you saying as a guest, you cannot see our forums???  guessing not since I just tried… but, sorry, not following the point…

but shall await your return with more info wink

FU fusionx22
fusionx22
Member

Mr Papa said

are you saying as a guest, you cannot see our forums???  guessing not since I just tried… but, sorry, not following the point…

but shall await your return with more info wink

hehe – on my site – the one with the upgrade issue. If I’m not logged in, I don’t see any groups or forums, just the borders around where they should be.

Odd: I just went to the site in question as a guest and can see everything. I changed the theme overlay – but that wouldn’t have any effect. I need sleep. Never mind 🙂

I just did the upgrade properly on a brand new site, it it worked flawlessly.

When I went to update the default theme, 1.03 to 1.04, it completed, but the forum admin still shows 1.03 and requests that I upgrade. Maybe a permissions error that isn’t being reported?

MP Mr Papa
Mr Papa
Member

have you tried the theme upgrade again?  and are you sure we are talking about our default?  by that, I mean you havent previously copied our default into your own theme?

FU fusionx22
fusionx22
Member

Mr Papa said

have you tried the theme upgrade again?  and are you sure we are talking about our default?  by that, I mean you havent previously copied our default into your own theme?

Yes – this is the default – it’s the only theme I have in place.

I just verified that, and it was now prompting to upgrade from 1.03 to 1.05. I ran the update, it reported success, and when I went to the SP Themes admin, it still reports 1.03.

My apache error log shows:[Fri Dec 23 21:18:26 2011] [error] PHP Warning: closedir(): supplied argument is not a valid Directory resource

A new line is entered each time I try the theme update. I checked the files in the theme directory and nothing has changed. The directories and files are not writable. I’m guessing it’s just not displaying an error (as the main plug-in updater does). I made the default theme directory 777 throughout, and re-ran the theme update. Same error in the logs this time, and the SP Admin still reports that I’m using 1.03.

MP Mr Papa
Mr Papa
Member

work your way up the chain…  starting with wp-content and then sp-resources, what are the permissions and owner?  permissions should be 0755…  guessing when the directories are not owned by the web user…

FU fusionx22
fusionx22
Member

Everything is at least 755, and all files and directories are owned by the web user. Nothing is owned by apache any more.

It’s interesting – there’s no more error messages added to the apache log, but the results are the same.

MP Mr Papa
Mr Papa
Member

at least??  they should not be 0777… that can cause ajax errors…

FU fusionx22
fusionx22
Member

IMr Papa said

at least??  they should not be 0777… that can cause ajax errors…

I had set the default theme contents (folders and files) to 777, but have reverted everything to 755 now. All the way from wp-content down. Still getting the same result.

 

How long should the theme update take, in general terms? When I enter my password and submit, the process completes immediately – maybe 1 full second. I know the theme files aren’t very big, but I’d think it would take a little longer than that.

MP Mr Papa
Mr Papa
Member

and just to be sure, on forum – integration – storage locations, you have two green marks for the themes?