Security Violation when Searching GALLERY

drivindisco

Joined: 2006-09-18
Posts: 114
Posted: Wed, 2006-09-20 13:53

I am using the latest version of Gallery and trying to troubleshoot this error with little luck.
Can someone help please?

Security Violation

The action you attempted is not permitted.

Back to the Gallery
Error Detail -
Error (ERROR_BAD_PARAMETER) : Smarty error: unable to read resource: "gallery:themes/matrix/templates/ module.tpl"

* in modules/core/classes/GallerySmarty.class at line 109 (gallerycoreapi::error)
* in lib/smarty/Smarty.class.php at line 1584 (gallerysmarty::trigger_error)
* in lib/smarty/Smarty.class.php at line 1410 (gallerysmarty::_fetch_resource_info)
* in lib/smarty/Smarty.class.php at line 1859 (gallerysmarty::_compile_resource)
* in modules/core/classes/GalleryTemplateAdapter.class at line 659 (gallerysmarty::_smarty_include)
* in /home/ian/gallery_photos/smarty/templates_c/%%4261731241/%%3A^3A8^3A818B59%%theme.tpl.php at line 81 (gallerytemplateadapter::theme)
* in lib/smarty/Smarty.class.php at line 1258
* in modules/core/classes/GallerySmarty.class at line 90 (smarty::fetch)
* in modules/core/classes/GalleryTemplate.class at line 206 (gallerysmarty::fetch)
* in main.php at line 418 (gallerytemplate::fetch)
* in main.php at line 87
* in main.php at line 80

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2006-09-20 15:33

did you edit the .tpl files yourself?

what version of g2 are you using? g2.1.2? or a nightly snapshot? the version is written in gallery_photos/versions.dat.

clearing the template cache with example.com/gallery/support/ -> "cache management" could fix it.

 
drivindisco

Joined: 2006-09-18
Posts: 114
Posted: Wed, 2006-09-20 16:02

I am using 2.1.2
and the only tpl file i edited was the theme.tpl
http://playindead.org

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2006-09-20 16:02

sorry, the above path was wrong.
http://playindead.org/gallery2/lib/support/

 
drivindisco

Joined: 2006-09-18
Posts: 114
Posted: Wed, 2006-09-20 16:09

unfortunately that did not solve the issue
do think this a permission issue?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2006-09-20 16:21

please revert your theme.tpl edit. restore the original theme.tpl from the gallery2.zip.
then delete the template cache again.

 
drivindisco

Joined: 2006-09-18
Posts: 114
Posted: Wed, 2006-09-20 16:31

that solved the search problem
now i need to find out what is wrong in my theme.tpl

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Wed, 2006-09-20 16:37

there's a space in the "gallery:themes/matrix/templates/ module.tpl" line.
remove it.

 
drivindisco

Joined: 2006-09-18
Posts: 114
Posted: Wed, 2006-09-20 17:34

that did the trick
thank you so much for the help!!!