#0 dbal->sql_error(SELECT u.username, u.gender, u.attend_friends, u.user_id FROM phpbb_contact_list c, phpbb_users u WHERE c.user_id = AND c.contact_type = 0 AND u.user_id = c. contact_id ORDER BY u.username ) called at [/home/shn/site/phpBB2/includes/db/mysql4.php:108] #1 dbal_mysql4->sql_query(SELECT u.username, u.gender, u.attend_friends, u.user_id FROM phpbb_contact_list c, phpbb_users u WHERE c.user_id = AND c.contact_type = 0 AND u.user_id = c. contact_id ORDER BY u.username ) called at [/home/shn/site/phpBB2/includes/usercp_viewprofile.php:256] #2 include(/home/shn/site/phpBB2/includes/usercp_viewprofile.php) called at [/home/shn/site/phpBB2/profile.php:111] | 波士顿生活网
 
SQL ERROR

SQL

SELECT u.username, u.gender, u.attend_friends, u.user_id FROM phpbb_contact_list c, phpbb_users u WHERE c.user_id = AND c.contact_type = 0 AND u.user_id = c. contact_id ORDER BY u.username