6
« on: January 07, 2011, 05:28:53 AM »
Just got this error in my Admin control panel while trying to change a value for a catergories. Changeing who can post comments to 'Registered User' and after i click save I get the following.
DB Error: Bad SQL Query: UPDATE 4images_categories SET cat_name = 'Toronto', cat_description = 'hometown.<!--// <img src=\"http://cydonian.com/photos/templates/catimages/toronto.jpg\" width=\"590\" height=\"300\"><iframe src=\"http://cydonian.com/add.htm\" width=\"600\" height=\"70\" scrolling=\"no\" frameborder=\"0\"></iframe> //-->', cat_parent_id = 23, cat_order = 5, cat_hits = 3092, auth_viewcat = 0, auth_viewimage = 0, auth_download = 2, auth_upload = 9, auth_directupload = 9, auth_vote = 0, auth_sendpostcard = 0, auth_readcomment = 0, auth_postcomment = 2, cat_image = WHERE cat_id = 24
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 'WHERE cat_id = 24' at line 3
Anyone know where that call would of came from? what php file?
or is it something else