Author Topic: DB Error: Bad SQL Query: INSERT INTO 4images_categories???  (Read 2856 times)

0 Members and 1 Guest are viewing this topic.

Offline janick

  • Newbie
  • *
  • Posts: 31
    • View Profile
DB Error: Bad SQL Query: INSERT INTO 4images_categories???
« on: April 06, 2006, 07:55:35 PM »
if I Add new categories, then show this error massage
any body can help me?

Quote
Notice: Undefined variable: cat_image in /usr/home/web/web25695/mysite.com/4images/admin/categories.php on line 522

DB Error: Bad SQL Query: INSERT INTO 4images_categories (cat_name, cat_description, cat_parent_id, cat_order, auth_viewcat, auth_viewimage, auth_download, auth_upload, auth_directupload, auth_vote, auth_sendpostcard, auth_readcomment, auth_postcomment, cat_image) VALUES ('Members\' Uploads', '', 0, 160, 0, 0, 0, 0, 0, 0, 0, 0, 0, )
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 4

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/web/web25695/mysite.com/4images/admin/categories.php:522) in /usr/home/web/web25695/mysite.com/4images/includes/functions.php on line 47

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: DB Error: Bad SQL Query: INSERT INTO 4images_categories???
« Reply #1 on: April 07, 2006, 01:32:01 AM »
Seems to be a problem comming from category image mod, recheck the installation steps. and any further questions, please reply to that mod.
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)