![]() |
|
problem after upgrade - 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: problem after upgrade (/thread-2102.html) |
problem after upgrade - rafa - 2008-01-18 i upgraded to a nightly build and printTopRated images no longer works. is there anything this error can tell me that needs to be fixed? ` Zenphoto Error MySQL Query ( SELECT images.albumid, images.filename AS filename, images.title AS title, albums.folder AS folder, images.show, albums.show, albums.password FROM ` it was working fine before the upgrade. i installed nightly build from 12/29 i think. and i have no idea what ambiguous is or how to fix it. i also have a question about private passworded images. when using a code like the above or printLatestImages is there a way i can stop the private pictures from showing up as thumbnails on those php calls? shouldnt it automatically check for a password cookie so it is (or is not) allowed to display said images? problem after upgrade - sbillard - 2008-01-18 Did you run setup.php after installing the nightly build? You might also want to install a more recent one of the nightly builds. The more recent ones will not return password protected images to this function. problem after upgrade - rafa - 2008-01-18 I ran upgrade.php, but thanks i will upgrade again now since it should fix both problems. problem after upgrade - acrylian - 2008-01-18 Rafa: you really need to use a newer nightly, the "total_value/total_votes" issue is already fixed. The problem was the aliasse were missing, it should read "(images.total_value/images.total_votes)". That is done in getImageStatistic(). |