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
Error updating from 4.5.1 to 5 - Upgrade Aborted 6689
Avatar
jtreml60
UK
Member
Free Members
sp_UserOfflineSmall Offline
Mar 12, 2012 - 3:56 am

getting there but still an error when viewing forum home page:forumshome.pngImage Enlarger

I wonder if the permissions have got all screwed - this is an example for standard access:

permissions.pngImage Enlarger

what should this look like?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 12, 2012 - 4:47 am

It was a while ago (post 10 in this thread to be exact) that I said we can get past the upgrade problem but you would have to go back in and repair it afterwards. This was the bit I was talking about - the permission settings. We lost those when we skipped that section to finish the upgrade.

You can, of course, set them all up manually to get them how you want them - which is not really as big a task as it sounds. But if it is any help I can send you a SQL script that you can import using phpMyAdmin that will reset the permissions to their default values so you would then only need to tweak them.

Let me know if you would like me to send that to you and I can drop it into an email.

andy-signature.png
YELLOW
SWORDFISH
Avatar
jtreml60
UK
Member
Free Members
sp_UserOfflineSmall Offline
Mar 12, 2012 - 4:58 am

that sounds good. can you send me the SQL script? I hadn't changed any of the default permissions settings before

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 12, 2012 - 5:10 am

The script has been sent. I hope this works for you.

andy-signature.png
YELLOW
SWORDFISH
Avatar
jtreml60
UK
Member
Free Members
sp_UserOfflineSmall Offline
Mar 12, 2012 - 4:10 pm

think I'm sorted now. The script didn't like the fact that role_actions was not a valid field in that table. also the permissions were still not appearing in the Forum admin interface so I dug out the sf-install.php script, found the bit where it set permissions for each type of user, and manually changed them in the interface. Hope that was the right thing to do?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Mar 12, 2012 - 4:34 pm

Interesting, SO originally the column name HAD been altered by the upgrade script so the ALTER statement in my script was redundant. Removing that statement at the top of the script would then have worked.
But manual is good - just a little more tedious.

It's been a long haul and I am sorry you had all those problems and it took so long to get it all resolved. Hopefully you are back up and good to go now.

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: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626