security violation errors when restoring gallery2 backup
April 20th, 2007 by Lawrence David
if you see the following error message when restoring a gallery2 backup:
Security Violation
The action you attempted is not permitted.
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
try going into your g2data folder and deleting the cache directory. worked for me.