I just upgraded Drupal to 5.10 and I am getting this error on user profile pages:

user warning: 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 '' at line 1 query: SELECT uid,name,picture FROM users WHERE status != 0 and uid != 0 and picture <> '' ORDER BY in /Volumes/MyQCA-Data/Webfolder/includes/database.mysql.inc on line 172.

Please help.

Comments

jabapyth’s picture

what version is your MYSQL server?
also, what effects does this error have on your page, if any? is anything not displaying right?

scarer’s picture

MySQL version 5.0.24a

i have cut out the error message from the viewer by setting messages to display:none in the css

still don't know what the error's about though

typehost’s picture

using advanced profile - (?) - with Drupal 5.12

typehost’s picture

disabling the avatar gallery module.