Notice: Undefined offset: 0 in /home/cityboy/www/cityboy/_app/class/Class_Product.php on line 15
Notice: Undefined offset: 0 in /home/cityboy/www/cityboy/_app/class/Class_Product.php on line 16
Notice: Undefined offset: 0 in /home/cityboy/www/cityboy/_app/class/Class_Product.php on line 17
Notice: Undefined offset: 0 in /home/cityboy/www/cityboy/_app/class/Class_Product.php on line 18
Fatal error: Uncaught exception 'PDOException' with message '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 'limit 1' at line 1' in /home/cityboy/www/cityboy/_app/db/Db_Core.php:79
Stack trace:
#0 /home/cityboy/www/cityboy/_app/db/Db_Core.php(79): PDOStatement->execute()
#1 /home/cityboy/www/cityboy/_app/class/Class_Product.php(83): Db_Core->selectById(NULL)
#2 /home/cityboy/www/cityboy/_app/class/Class_Product.php(20): Class_Product->getCategoryName(NULL)
#3 /home/cityboy/www/cityboy/product_detail.php(9): Class_Product->getProduct('204')
#4 {main}
thrown in /home/cityboy/www/cityboy/_app/db/Db_Core.php on line 79