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 dataset_meta.ID' at line 1
#1 Function trace_message in "/disk2/home/edl/public_html/include/db.class.php" at line 21.
#2 Function runQuery in "/disk2/home/edl/public_html/include/db.class.php" at line 280.
#3 Function selectFieldsWhere in "/disk2/home/edl/public_html/include/db.class.php" at line 251.
#4 Function selectWhere in "/disk2/home/edl/public_html/include/plugin/table.class.php" at line 72.
#5 Function getTableMetaData in "/disk2/home/edl/public_html/draw/plugin/table.draw.php" at line 85.
#6 Function drawTableOLD in "/disk2/home/edl/public_html/draw/plugin/table.draw.php" at line 13.
#7 Function drawTable in "/disk2/home/edl/public_html/draw/custom.draw.php" at line 88.
#8 Function drawTable in "" at line .
#9 Function call_user_func_array in "/disk2/home/edl/public_html/draw/telegraph.class.php" at line 1162.
#10 Function parseFunction in "/disk2/home/edl/public_html/draw/telegraph.class.php" at line 838.
#11 Function outObject in "/disk2/home/edl/public_html/draw/telegraph.class.php" at line 496.
#12 Function method in "/disk2/home/edl/public_html/draw/telegraph.class.php" at line 380.
#13 Function executePage in "/disk2/home/edl/public_html/draw/telegraph.class.php" at line 205.
#14 Function Telegraph in "/disk2/home/edl/public_html/draw/telegraph.class.php" at line 165.
#15 Function getInstance in "/disk2/home/edl/public_html/index.php" at line 192.