Error: E_USER_NOTICE
URL: http://www.singleturk.com/forum_topic.php?topic_id=30
File: /is/htdocs/wp10608951_MF5YQH34CC/www/_include/lib/db5.php
Line: 136
Message: Can't execute query: 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 'ORDER BY photo_id LIMIT 1' at line 1
SELECT photo_id FROM photo WHERE user_id=  ORDER BY photo_id LIMIT 1

Call stack:

File: /is/htdocs/wp10608951_MF5YQH34CC/www/_include/lib/db5.php (Line: 136)
Function: trigger_error

File: /is/htdocs/wp10608951_MF5YQH34CC/www/_include/lib/db5.php (Line: 365)
Class: DB
Function: query

File: /is/htdocs/wp10608951_MF5YQH34CC/www/forum_topic.php (Line: 67)
Class: DB
Function: result

File: /is/htdocs/wp10608951_MF5YQH34CC/www/_include/lib/block.php (Line: 220)
Class: CForumTopics
Function: parseBlock

File: /is/htdocs/wp10608951_MF5YQH34CC/www/_include/core/main_close.php (Line: 20)
Class: CHtmlBlock
Function: parse

File: /is/htdocs/wp10608951_MF5YQH34CC/www/forum_topic.php (Line: 201)
Function: include