[notification module] configuration failed; can't access anymore my gallery

oceco

Joined: 2007-10-22
Posts: 666
Posted: Fri, 2008-01-18 13:15

Hi all

I installed the notification module from the community repository. After it was activated I tried to configure it in Administrator Options / Notification. This produced an error message:

Security Violation

and something like permission denied

and now when I want to access my gallery I do get now this message:

Error
Error (ERROR_STORAGE_FAILURE) :

* in modules/core/classes/GalleryStorage.class at line 226 (GalleryCoreApi::error)
* in modules/core/classes/GalleryStorage.class at line 545 (GalleryStorage::_getConnection)
* in modules/core/classes/GalleryCoreApi.class at line 2800 (GalleryStorage::getMapEntry)
* in modules/core/classes/GallerySession.class at line 851 (GalleryCoreApi::getMapEntry)
* in modules/core/classes/GallerySession.class at line 231 (GallerySession::_loadSessionData)
* in modules/core/classes/Gallery.class at line 287 (GallerySession::init)
* in init.inc at line 118 (Gallery::initSession)
* in main.php at line 76

To me this looks like a bug. What do you mean?

Any hints are welcome!

Rgds/oceco

- You can copy and paste a lot of the required information from "Site Admin" -> "Maintenance" ->
This isn't possible anymore


Gallery version (not just "2"): 2.2.4
Module / Theme name & version: notification module
PHP version (e.g. 5.1.6): 5.1.6
PHPInfo Link (see FAQ): http://www.homeports.ch/more_info.php
Webserver (e.g. Apache 1.3.33): Apache/2.0.52 (CentOS)
Database (e.g. MySql 5.0.32): 4.1.2020 (Client API)
Activated toolkits (e.g. NetPbm, GD): GD, ImageMagick
Operating system (e.g. Linux): *x
Browser (e.g. Firefox 2.0): n/a

 
oceco

Joined: 2007-10-22
Posts: 666
Posted: Fri, 2008-01-18 14:57

Somehow my gallery recovered!

What have I done meanwhile?
- I removed the map block in my theme, but I still was unable to access my gallery and therefore also couldn't clear the cache.

And this is the error message I get when trying to configure the notification module:

 
Security Violation

The action you attempted is not permitted.

Back to the Gallery
Error Detail -
Error (ERROR_MISSING_OBJECT, ERROR_PERMISSION_DENIED)

    * in modules/notification/classes/NotificationHelper.class at line 128 (GalleryCoreApi::error)
    * in modules/notification/NotificationSiteAdmin.inc at line 150 (NotificationHelper::getMethods)
    * in modules/core/SiteAdmin.inc at line 201 (NotificationSiteAdminView::loadTemplate)
    * in modules/core/classes/GalleryView.class at line 300 (SiteAdminView::loadTemplate)
    * in main.php at line 445 (GalleryView::doLoadTemplate)
    * in main.php at line 94
    * in main.php at line 83

System Information
Gallery version 	2.2.4
PHP version 	5.1.6 apache2filter
Webserver 	Apache/2.0.52 (CentOS)
Database 	mysqli 4.1.20
Toolkits 	SquareThumb, ImageMagick, Thumbnail, Gd
Operating system 	Linux naiad.kreativmedia.ch 2.6.9-42.ELsmp #1 SMP Sat Aug 12 09:39:11 CDT 2006 i686
Browser 	Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25964
Posted: Fri, 2008-01-18 17:04
Quote:
ERROR_PERMISSION_DENIED

Seems that gallery can't write to where it wants to. I don't know much about the notification module. SO please enable debug mode and it should give a better clue as to what it cant do.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
oceco

Joined: 2007-10-22
Posts: 666
Posted: Fri, 2008-01-18 17:47

Hi floridave

I already deinstalled and deleted the module and for sure I will not reinstall it! Meanwhile I saw someware a statement from valiant that one should not take the module from the community repository but instead a subversion (I believe).

/oceco