M@
01-27-2004, 09:53 AM
Hey Dave:
Sorry to report a bug - I know it's nothing but more work - however I think you'll want to know about it:
I was trying to search for images, clicked the "Search" link in the gallery pages. I did not specify any parameters, but I did shift-click the "individual member galleries" so both choices were selected in that list box.
When I hit "Search" I got the following error:
MySQL error reported!
Script:
Query: SELECT id,user,userid,cat,storecat,date,title,description ,keywords,bigimage,width,height,filesize,views,med width,medheight,medsize,approved,rating,allowprint FROM photos WHERE approved='1' AND cat IN (all,500) ORDER BY disporder,lastpost DESC
Result: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'all,500) ORDER BY disporder,lastpost DESC' at line 1
Database handle: Resource id #19
Lemme know if you need more info.
I was hoping to get a list of images, and sort by "rating" to see the top photos.
M@
Sorry to report a bug - I know it's nothing but more work - however I think you'll want to know about it:
I was trying to search for images, clicked the "Search" link in the gallery pages. I did not specify any parameters, but I did shift-click the "individual member galleries" so both choices were selected in that list box.
When I hit "Search" I got the following error:
MySQL error reported!
Script:
Query: SELECT id,user,userid,cat,storecat,date,title,description ,keywords,bigimage,width,height,filesize,views,med width,medheight,medsize,approved,rating,allowprint FROM photos WHERE approved='1' AND cat IN (all,500) ORDER BY disporder,lastpost DESC
Result: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'all,500) ORDER BY disporder,lastpost DESC' at line 1
Database handle: Resource id #19
Lemme know if you need more info.
I was hoping to get a list of images, and sort by "rating" to see the top photos.
M@