«»

Формат

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 '' at line 1


SQL: 
SELECT COUNT(*) as `count` FROM `moe_catalog` WHERE `type` = '' AND `author` =
#0  messageQuit(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 '' at line 1, SELECT COUNT(*) as `count` FROM `moe_catalog` WHERE `type` = '' AND `author` = ) called at [/var/www/polygraph/polygraph.od.ua/library.php:25]
#1  dbQuery(SELECT COUNT(*) as `count` FROM `moe_catalog` WHERE `type` = '' AND `author` = ) called at [/var/www/polygraph/polygraph.od.ua/lib_catalog.php:635]
#2  catalog_entry_show() called at [/var/www/polygraph/polygraph.od.ua/index.php:132]
Array
(
)
Array
(
    [0] => Array
        (
            [file] => /var/www/polygraph/polygraph.od.ua/library.php
            [line] => 25
            [function] => messageQuit
            [args] => Array
                (
                    [0] => 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 '' at line 1
                    [1] => SELECT COUNT(*) as `count` FROM `moe_catalog` WHERE `type` = '' AND `author` = 
                )

        )

    [1] => Array
        (
            [file] => /var/www/polygraph/polygraph.od.ua/lib_catalog.php
            [line] => 635
            [function] => dbQuery
            [args] => Array
                (
                    [0] => SELECT COUNT(*) as `count` FROM `moe_catalog` WHERE `type` = '' AND `author` = 
                )

        )

    [2] => Array
        (
            [file] => /var/www/polygraph/polygraph.od.ua/index.php
            [line] => 132
            [function] => catalog_entry_show
            [args] => Array
                (
                )

        )

)