https://www.icyphoenix.com/viewtopic.php?f=26&t=3183&p=21876#p21876
-----------------------------------
felix968
Wed 28 Nov, 2007 23:29

FAP SUPPORT - DEBUG MODE  SQL Error On Old Images
-----------------------------------
Hi,
lately, various customers have marked this error:
 
Could not query total pics information  DEBUG MODE  SQL Error : 1064 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 ''AND pic_approval = 1'' at line 4  SELECT COUNT(pic_user_id) AS total_pics FROM phpbb_album WHERE pic_user_id = AND pic_approval = 1  Line : 1092 File : album_showpage.php 

This error verification above all when less recent images are watched, and therefore in the older pages. 
Is there perhaps a pic_id limit(the last one pic_id is 9490)? 
Someone can explain to me from what can depend this error?

Thanks in advantage


