Hi folks. This module looks to have great potential, and I’ve had some success installing it, but there are a few problems that are preventing me from getting it working properly.
Using the [[Gallery]] snipet works just fine. A couple of css conflicts, but I can fix that. However, the Imageblock is giving me an error.
I have this call on one of my pages:
[!ImageBlock? &itemId=`101`&blocks=`specificItem`&show=`title|date|views`!]
Which gives this error on the site:
Parse error: syntax error, unexpected T_VARIABLE in /mnt/gs01/herd03/33105/domains/gravitoncity.com/html/manager/includes/document.parser.class.inc.php(766) : eval()'d code on line 23
I notice on the edit document page, where the Gallery TV dropdown appears below the edit area, an error is also appearing:
Parse error: syntax error, unexpected '=' in /mnt/gs01/herd03/33105/domains/gravitoncity.com/html/manager/includes/tmplvars.commands.inc.php(60) : eval()'d code on line 1
The dropdown list for the Gallery TV on the edit document page is empty.
This is the value of the Input Options field for the Gallery TV:
@EVAL =["base_path"].( ? :"assets/modules/gallery/"); include_once($path.'tv_albums.php'); return getAlbumsForTemplateVariable();
I am running Modx v0.9.6, Gallery module 1.1
This is the Gallery2 system information output:
Gallery version = 2.2.4 core 1.2.0.6
PHP version = 4.4.8 cgi-fcgi
Webserver = Apache/2.0.54
Database = mysqlt 4.1.11-Debian_4sarge7, lock.system=flock
Toolkits = ArchiveUpload, Exif, LinkItemToolkit, NetPBM, Gd
Acceleration = none, none
Operating system = Linux cl17 2.6.20.2-1 #8 SMP Tue Feb 12 07:11:48 PST 2008 i686
Default theme = siriux
gettext = enabled
Locale = en_GB
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
Rows in GalleryAccessMap table = 7
Rows in GalleryAccessSubscriberMap table = 4
Rows in GalleryUser table = 2
Rows in GalleryItem table = 4
Rows in GalleryAlbumItem table = 1
Rows in GalleryCacheMap table = 0
Any help you can offer would be greatly appreciated! Thank you.