![]() |
|
Call to undefined function: getimageid() - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Call to undefined function: getimageid() (/thread-949.html) |
Call to undefined function: getimageid() - Alenonimo - 2006-12-09 I've upgraded my ZenPhoto from 1.0.3 to 1.0.5 and I'm getting this message trying to sort album images: Quote:Fatal error: Call to undefined function: getimageid() in /home/alenonimo/public_html/galeria/zen/admin-functions.php on line 118 Call to undefined function: getimageid() - Chilifrei64 - 2006-12-09 yeah.. sorting album images doesnt seem to be working on any of my servers. Sorting of albums does work but images are a no go.. they dont even display. Looks like we may have a bug here... if I changed line 118 in admin-functions.php where it said $image->getImageID() to $image->id the images would then show up but it would not save my sort order. Call to undefined function: getimageid() - trisweb - 2006-12-09 This is probably definitely a bug. I removed that function but forgot to check backreferences, and changed the way sort order and keys were stored but didn't test sorting... it probably really is broken. Thanks for the great beta testing guys! So this tells me... I need automated unit testing to keep track of all the test cases! Call to undefined function: getimageid() - trisweb - 2006-12-10 Fixed in SVN, download This will be in a bugfix release within the week. Sorry for the inconvenience. Call to undefined function: getimageid() - thinkdreams - 2006-12-10 Man, I'm going to have to get on the stick. My 1.0.4 installation is getting old..... Call to undefined function: getimageid() - Donkikong - 2006-12-11 Once you fix the image ordering which you can do by inserting:
you will find that, even though image re-ordering sends the correct new order to the db, the new order (manual) is not used when displaying the images in album.php hope this helps (although it's probably a dirty hack!) glup! Call to undefined function: getimageid() - trisweb - 2006-12-12 getImageID() has been deprecated for some reason or another, I forget. Ah, because it's replaced with $image->id which comes from PersistentObject. The better method is in latest SVN, already fixed. See above. New version will be out soon with the fixes... |