System Error.

Please take this code : 60fdc3d7d1178 to Abby; Your request should be able to be restored.
DEBUG:PDOException Object
(
    [message:protected] => SQLSTATE[42000]: Syntax error or access violation: 1064 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 'AND a.type = b.id group by b.id' at line 1
    [string:Exception:private] => 
    [code:protected] => 42000
    [file:protected] => /home/wwwroot/lib/functions.php
    [line:protected] => 695
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /home/wwwroot/lib/functions.php
                    [line] => 695
                    [function] => query
                    [class] => PDO
                    [type] => ->
                    [args] => Array
                        (
                            [0] => SELECT count(*) as ce, b.id, b.ownerid, b.name FROM zb_contentpages a, zb_contenttype b WHERE b.ownerid =  AND a.type = b.id group by b.id
                        )

                )

            [1] => Array
                (
                    [file] => /home/wwwroot/realblog.zkiz.com/viewpage.php
                    [line] => 179
                    [function] => dbAr
                    [args] => Array
                        (
                            [0] => SELECT count(*) as ce, b.id, b.ownerid, b.name FROM zb_contentpages a, zb_contenttype b WHERE b.ownerid =  AND a.type = b.id group by b.id
                        )

                )

        )

    [previous:Exception:private] => 
    [errorInfo] => Array
        (
            [0] => 42000
            [1] => 1064
            [2] => 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 'AND a.type = b.id group by b.id' at line 1
        )

)
返回