Closed (fixed)
Project:
Facebook-style Statuses (Microblog)
Version:
5.x-1.x-dev
Component:
Code - Functionality
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
13 Dec 2008 at 18:11 UTC
Updated:
4 Jan 2009 at 06:50 UTC
In the page ?q=admin/settings/facebook_status
When I go to Miscellaneous, and choose "all but the latest status update for each user I get this warning.
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 'ORDER BY sid ASC' at line 1 query: DELETE FROM facebook_status WHERE ORDER BY sid ASC in /var/www/pares/includes/database.mysql.inc on line 174.
Thanks
Oskar
Comments
Comment #1
icecreamyou commentedThat only happens when you have no statuses in your database, and I don't know why you would want to delete statuses if you don't have any to start with. That setting is a one-time-use option to clear old statuses, not a permanent option that only saves the most recent status.
I'll look at getting rid of the error anyway and improving the description of that setting next week.
By the way, whenever you're reporting an SQL error, you should include what version of SQL you have. MySQL 5 is the most common. If you don't know, check ?q=admin/logs/status.
Comment #2
icecreamyou commentedFixed locally. I'll try to get a dev out later this week.