"security violation" errors while trying to restore gallery2 backup
stinkpot
Joined: 2005-12-26
Posts: 17 |
Posted: Wed, 2007-04-11 14:18 |
hi all, i've recently rebuilt my webserver and i'm trying to restore my gallery2 gallery. i had backed up the database, my albums, and my gallery2 folder. i've now restored all of those; when i try and access my gallery, however, i get this error message: Security Violation The action you attempted is not permitted. can anyone please shed some light on what might be going wrong? thanks!
|
|
Posts: 32509
please enable buffered debug mode to see more information.
FAQ: How to set/use Gallery in debug mode?
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 17
great, that was some progress. here's what was output:
Error (ERROR_BAD_PARAMETER)
* in modules/core/classes/GalleryStorage.class at line 592 (gallerycoreapi::error)
* in modules/core/classes/GalleryCoreApi.class at line 2792 (mysqlstorage::getmapentry)
* in modules/core/classes/GalleryDataCache.class at line 628 (gallerycoreapi::getmapentry)
* in modules/core/classes/GalleryTheme.class at line 1135 (gallerydatacache::getpagedata)
* in themes/matrix/theme.inc at line 65 (matrixtheme::loadcommontemplatedata)
* in modules/core/classes/GalleryTheme.class at line 926 (matrixtheme::showalbumpage)
* in modules/core/classes/GalleryView.class at line 308 (matrixtheme::loadtemplate)
* in main.php at line 441 (showitemview::doloadtemplate)
* in main.php at line 94
* in main.php at line 83
http://stinkpot.afraid.org:8080/
Posts: 32509
probably, this means that your database is either somewhat corrupt or that something with the db import didn't work successfully.
let's first find out what version of g2 you're really running. it's not g2.1.2. g2.1.2 didn't have the getMapEntry function.
--------------
Documentation: Support / Troubleshooting | Installation, Upgrade, Configuration and Usage
Posts: 17
whoops, i got confused w/ all those 2's.
i believe i'm running g2.2 (official release).
http://stinkpot.afraid.org:8080/
Posts: 17
ah, i've at least solved a first problem - turns out i still had an old cache folder in my g2data folder; deleting it and reloading made these errors disappear. thanks again valiant!!
http://stinkpot.afraid.org:8080/