[SOLVED] Security Error with "New Photos" and "Popular Photos" following upgrade to 2.3.1

hazzy

Joined: 2005-05-07
Posts: 55
Posted: Tue, 2011-10-25 09:25

Hi All,

Just upgraded to latest Gallery 2 code and all seems great except for one issue - now on the "New Photos" and "Popular Photos" links the visitors get the error below. I have tried with the Admin user too and the error still occurs. I am using MOD REWRITE to make short URLs if that is relevant. Any ideas gratefully received.

Hazzy.

Error Detail -
Error (ERROR_PERMISSION_DENIED)

in modules/core/classes/GalleryView.class at line 168 (GalleryCoreApi::error)
in main.php at line 325 (GalleryView::loadView)
in main.php at line 104
in main.php at line 88

System Information
Gallery version 2.3.1
PHP version 5.3.8 cgi-fcgi
Webserver Apache
Database mysql 5.1.56-log
Toolkits Gd
Operating system Linux bluechip5.ukhost4u.com 2.6.18-4-pve #1 SMP Wed Nov 24 05:32:29 CET 2010 i686
Browser Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

 
suprsidr
suprsidr's picture

Joined: 2005-04-17
Posts: 8339
Posted: Tue, 2011-10-25 14:04

I would try resetting the rewrite rules for affected links and as always clear your caches.
Also could try bumping the dynamic albums module (uninstall/re-install) and of course make sure the module is the latest.

-s
FlashYourWeb and Your Gallery with The E2 XML Media Player for Gallery2

 
hazzy

Joined: 2005-05-07
Posts: 55
Posted: Fri, 2011-10-28 08:41

Hi Suprsidr

thanks very much for the tip. I uninstalled and reinstalled the dynamic albums module and problem solved. Fantastic.

John