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 ``zp_images` AS images, `zp_albums` AS albums WHERE images.albumid = albums.id AND images.show=1 AND albums.show=1 AND albums.password='' AND albums.folder != '' ORDER BY (total_value/total_votes) DESC LIMIT 5 ) Failed. Error: Column 'total_value' in order clause is ambiguous`
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?
Comments
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.