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
Posts: 32509
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.
Posts: 114
I am using 2.1.2
and the only tpl file i edited was the theme.tpl
http://playindead.org
Posts: 32509
sorry, the above path was wrong.
http://playindead.org/gallery2/lib/support/
Posts: 114
unfortunately that did not solve the issue
do think this a permission issue?
Posts: 32509
please revert your theme.tpl edit. restore the original theme.tpl from the gallery2.zip.
then delete the template cache again.
Posts: 114
that solved the search problem
now i need to find out what is wrong in my theme.tpl
Posts: 32509
there's a space in the "gallery:themes/matrix/templates/ module.tpl" line.
remove it.
Posts: 114
that did the trick
thank you so much for the help!!!