Block-Random error in embedded Gallery

drujenn

Joined: 2005-02-09
Posts: 4
Posted: Sun, 2005-02-13 05:25

Hi,

I have Gallery 1.4.4 pl6 installed on a site and embedded in Mambo 4.5.1. The gallery install went great, I used com_gallery from Gallery Addons to embed it in Mambo, and everything ran smoothly.

But when I enabled (published) the Gallery Random Block module, I get this error message when I access the Gallery from the Mambo main menu:

Fatal error: Cannot redeclare editfield() (previously declared in /var/www/html/gallery/util.php:27) in /var/www/html/gallery/util.php on line 27

Anyone have any idea what this means? The random images show up great on the home page and other pages of the site, but I can't access the Gallery anymore.

Any help is appreciated. :)

 
signe
signe's picture

Joined: 2003-07-27
Posts: 2322
Posted: Sun, 2005-02-13 08:35

Please search this forum for this question - it's been answered many times. The addon you downloaded was coded incorrectly and needs to be corrected.

 
drujenn

Joined: 2005-02-09
Posts: 4
Posted: Sun, 2005-02-13 19:14

Never mind, I got it fixed. Just modified the mod settings so that the random photo doesn't load on the Gallery page.