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
Updating through Forum menu errors
Avatar
fusionx22
Member
Free Members
sp_UserOfflineSmall Offline
Dec 22, 2011 - 9:06 am

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.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 22, 2011 - 9:47 am

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...

Avatar
fusionx22
Member
Free Members
sp_UserOfflineSmall Offline
Dec 22, 2011 - 11:49 pm

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.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 23, 2011 - 12:17 am

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

Avatar
fusionx22
Member
Free Members
sp_UserOfflineSmall Offline
Dec 23, 2011 - 1:22 am

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?

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 23, 2011 - 10:26 am

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?

Avatar
fusionx22
Member
Free Members
sp_UserOfflineSmall Offline
Dec 23, 2011 - 8:36 pm

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.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 23, 2011 - 8:56 pm

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...

Avatar
fusionx22
Member
Free Members
sp_UserOfflineSmall Offline
Dec 23, 2011 - 9:11 pm

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.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Dec 23, 2011 - 10:33 pm

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

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
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