Welcome to WebmasterWorld Guest from 54.158.51.150

Forum Moderators: open

Message Too Old, No Replies

Database Error question

SMF MySQL Error

     
7:20 pm on Apr 27, 2010 (gmt 0)

5+ Year Member



Hello!

I tried to edit smileys and I got an error (everything seems to be OK so far)...In error log its written:

Database Error: 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 '(code) DESC' at line 2
File: /homeX/my-user-name/public_html/forum/Sources/ManageSmileys.php
Line: 657

I use SMF 1.1.11 and in phpinfo.php its written that MySQL ver. No is: Client API version 5.1.41

Any ideas?
1:08 pm on Apr 29, 2010 (gmt 0)

WebmasterWorld Administrator coopster is a WebmasterWorld Top Contributor of All Time 10+ Year Member



You need to dump that query out so you can see the syntax error in full. That looks like part of an ORDER BY clause. Why are there parentheses around the column name?
 

Featured Threads

Hot Threads This Week

Hot Threads This Month