"You do not have permission to view this page" after restore

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

"You do not have permission to view this page" after restore

Postby DarknessBBB » Wed Jul 01, 2015 12:42 pm

Hello everyone!
I'm happily using Vicidial in its Vicibox flavour in these last years and not a single issues has risen. But now I'm facing a strange issue. After a catastrophic failure (both database and backups destroyed), I've managed to restore a very old sql backup. Obviously the schema version of this database is older than the original one, and the result of this is that in the admin page every single page is with the phrase "You do not have permission to view this page". Usually, when this happens, I upgrade the whole vicidial, using the sql upgrade commands in the "extra" directory in the svn trunk, and executing the install.pl perl script (deleting the agc and vicidial web folders first).
Sadly even now my admin account is recognized, but I can do nothing via the web interface. Via phpMyAdmin I've checked the user lever (9) and all the admin options set to "1".
Any hint?
Cheers from Italy!
DarknessBBB
 
Posts: 328
Joined: Mon Jul 16, 2007 10:14 am

Re: "You do not have permission to view this page" after res

Postby Acidshock » Thu Jul 02, 2015 9:27 pm

Just ran into this one myself. You most likely missed one of the DB upgrades in the UPGRADE manual. I did this myself. I did all the upgrades I thought I had to do. Turned out I needed to run the same upgrade for the same version because there was a slight DB change with one of the SVN releases. Make sure to rerun the upgrades after that so if you had 2.6, do 2.4-2.6 upgrade, then 2.7 to 2.8, and so on.
VERSION: 2.14-698a | BUILD: 190207-2301 | Asterisk:13.24.1-vici | Vicibox 8.1.2
Acidshock
 
Posts: 430
Joined: Wed Mar 03, 2010 3:19 pm

Re: "You do not have permission to view this page" after res

Postby williamconley » Fri Jul 03, 2015 8:17 pm

Check your admin group for the user. Don't use logic, check against a known good value. Consider copying the Group and User from a good system (or the create .sql file from extras for your version) just for fun.

If you don't have a virtual "Play" copy of Vicidial upon which to run a development scenario and test out possible customizations (and even perhaps the occasional test restore ... storage of the backup set ...), this would be a good time to create one.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: Google [Bot] and 93 guests