Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: !RFAN on April 11, 2010, 05:22:54 AM

Title: An Error.... Please help me
Post by: !RFAN on April 11, 2010, 05:22:54 AM
while i was editing the code for a smiley i got this error
QuoteDATABASE 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 'LENGTH(code) DESC' at line 2
File: /home/hitohi/public_html/forum/Sources/ManageSmileys.php
Line: 657

what i can do to resolve it??? please
Title: Re: An Error.... Please help me
Post by: Paul_Pauline on April 11, 2010, 05:36:08 AM
You need to make two small edits in the same file to sort this out, note that the code appears twice and both need to be edited !

http://docs.simplemachines.org/index.php?topic=1079.0