warning: Missing argument 3 for GalleryDerivativeImage::render

rimbeaux
rimbeaux's picture

Joined: 2006-10-17
Posts: 48
Posted: Wed, 2007-12-26 14:53

Every now and then, I get a funky error condition:

You get a page that has three hyperlinked thumbnails and otherwise blank (the thumbnails look like they're random pictures, similar to gallery grid block).

If you hit refresh, you get a good page except for a red error block with the following error (I replaced the text between the stars with a description instead of host information that is useless here...no stars in the real message):

Quote:
warning: Missing argument 3 for GalleryDerivativeImage::render(), called in *the path to the drupal installation*/gallery2/modules/core/classes/GalleryTemplateAdapter.class on line 359 and defined in 8the path to the drupal installation*/gallery2/modules/core/classes/GalleryDerivativeImage.class on line 181.

Any ideas??

My technical details:

Gallery version = 2.2.3 core 1.2.0.5
PHP version = 5.1.4 cgi-fcgi
Webserver = Apache
Database = mysqli 5.0.45-log, lock.system=flock
Toolkits = Exif, Getid3, LinkItemToolkit, Thumbnail, Gd, ImageMagick, SquareThumb
Acceleration = none, none
Operating system = Linux linhost154.prod.mesa1.secureserver.net 2.4.21-47.0.1.ELsmp #1 SMP Fri Oct 13 17:56:20 EDT 2006 i686
Default theme = matrix
gettext = enabled
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.2)
Rows in GalleryAccessMap table = 33
Rows in GalleryAccessSubscriberMap table = 395
Rows in GalleryUser table = 12
Rows in GalleryItem table = 393
Rows in GalleryAlbumItem table = 10
Rows in GalleryCacheMap table = 0

Thanks!
-- David

Visit my gaming site at www.cheddarmongers.org

 
profix898

Joined: 2005-11-08
Posts: 135
Posted: Mon, 2008-01-14 21:51

There is an issue describing this behavior at http://drupal.org/node/134322. Maybe you can join the discussion and provide some helpful information to solve the problem ...

 
rimbeaux
rimbeaux's picture

Joined: 2006-10-17
Posts: 48
Posted: Wed, 2008-01-16 04:14

I'll check out the thread, but I resolved the problem. There were a couple of images, two gifs and one tiff, that Gallery just didn't like. the reason the problem was intermittent was because I had the gallery block set up for random images. I think it had a problem drawing the thumbnails. I removed the pictures from the gallery, and all is good now.

Visit my gaming site at www.cheddarmongers.org