Gallery v2.3.2
Apache/2.2.15 (CentOS)
DB: postgres 9.0
php:5.3.3
Hello all,
I've just recently upgraded several versions. I was at gallery v2.1 and moved up to 2.3.2.
Everything with the upgrade went fine, except a custom applet we have which is based off the uploadapplet & GalleryRemote.
This custom applet takes the uploadapplet and adjusts for our custom data needs. Basically using user directory naming conventions and image naming conventions to build and/or match gallery albums and populate custom data fields.
Once I did the upgrade this custom applet now throws a couple of errors and no longer finds existing album matches (based on user directory names) or create new ones (again based on user directory names).
The Error I get is as follows:
ERROR: Command 'fetch-album' unknown.
it then goes through some of the popups/prompts for creating and/or associating albums. then again displays the same error.
In searching the documents I can find no reference to a function 'fetch-album' (singular).
Could this possibly be an deprecated function from gallery v2.1? perhaps I need to use something like 'fetch-albums' or 'fetch-albums-prune'? It seems like these aren't quite what I need if i'm looking to only capture a single album.
Keep in mind that this is custom code i've inherited from previous developers. So i'm still untangling the web of custom vs. original code. This 'fetch-album' command is being called from the listSingle22() method in what I believe is our custom version of GalleryComm2.java.
I know this is vague given that its from a custom app. But any suggestions or ideas will be greatly appreciated.
thanks,
Dom
Posts: 9
Just a guess, but grepping in the source for fetch-album finds these entries:
Perhaps the command has changed to 'fetch-albums'? Looking doewn lower if nothing matches, your error Command 'fetch-album' unknown would be outputted (around line 178).
Might help.
Cry
Posts: 8339
Gallery's API has always used camelCase function names never hyphenated, even back in 2.1 days
http://codex.gallery2.org/Gallery2:API
-s
________________________________
All New jQuery Minislideshow for G2/G3
Posts: 9
These aren't php commands but some sort of command token being passed into the galleryremote module. The .inc I mentioned has a massive select statement over a bunch of lower case "commands".
Cry