[horde] ansel: strange logentries

Michael J Rubinsky mrubinsk at horde.org
Tue May 5 21:30:35 UTC 2015


Quoting A. Schulze <sca at andreasschulze.de>:

> Hello,
>
> sorry, I have to ask about the next issue:
>
> I use nginx as webserver (still not official supported ?)

None of the active developers run nginx or test with it as far as I  
know, if that answers your question.

> Ansel work as far as I can tell.
>
> Every time I click on "new gallery" or modify gallery properties
> there are always 4 log entries:
>
> 2015-05-05T23:05:50+02:00 WARN: HORDE [ansel] PHP ERROR: Argument 1  
> passed to Ansel_View_GalleryRenderer_GalleryLightbox::__construct()  
> must be an instance of Ansel_View_Gallery, null given, called in  
> /horde/ansel/lib/View/GalleryProperties.php on line 461 and defined  
> [pid 7410 on line 26 of  
> "/horde/ansel/lib/View/GalleryRenderer/GalleryLightbox.php"]
> 2015-05-05T23:05:50+02:00 WARN: HORDE [ansel] PHP ERROR: Argument 1  
> passed to Ansel_View_GalleryRenderer_Base::__construct() must be an  
> instance of Ansel_View_Gallery, null given, called in  
> /horde/ansel/lib/View/GalleryRenderer/GalleryLightbox.php on line 28  
> and defined [pid 7410 on line 125 of  
> "/horde/ansel/lib/View/GalleryRenderer/Base.php"]
> 2015-05-05T23:05:50+02:00 WARN: HORDE [ansel] PHP ERROR: Argument 1  
> passed to Ansel_View_GalleryRenderer_Gallery::__construct() must be  
> an instance of Ansel_View_Gallery, null given, called in  
> /horde/ansel/lib/View/GalleryProperties.php on line 461 and defined  
> [pid 7410 on line 27 of  
> "/horde/ansel/lib/View/GalleryRenderer/Gallery.php"]
> 2015-05-05T23:05:50+02:00 WARN: HORDE [ansel] PHP ERROR: Argument 1  
> passed to Ansel_View_GalleryRenderer_Base::__construct() must be an  
> instance of Ansel_View_Gallery, null given, called in  
> /horde/ansel/lib/View/GalleryRenderer/Gallery.php on line 29 and  
> defined [pid 7410 on line 125 of  
> "/horde/ansel/lib/View/GalleryRenderer/Base.php"]
>
> the settings for thumbnail_style, background_color and gallery_view  
> are always the same values no matter what I select and save.
> they are just thumbnail_style -> Thumb, background_color -> none and  
> gallery_view -> GalleryLightbox.
> Other settings are changeable.

This all works for me locally, though as I said not on nginx. I test  
against lighttpd. Anyway, my guess is that it's a configuration issue  
related to the rewrite rules needed to support the pretty urls. The  
lightbox renderer should not be called at all when loading the gallery  
property page.


-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5869 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/horde/attachments/20150505/3d69c645/attachment.bin>


More information about the horde mailing list