( ! ) Fatal error: Uncaught exception 'DatabaseConnException' with message 'Database Connection Exception: An error 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 occurred when executing SELECT amount FROM olala3w_product_region WHERE product_id = 1223 AND region_id = LIMIT 1.' in /var/www/html/kiemtienchosi/includes/class/DatabaseConnect.class.php on line 56 |
( ! ) DatabaseConnException: Database Connection Exception: An error 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 occurred when executing SELECT amount FROM olala3w_product_region WHERE product_id = 1223 AND region_id = LIMIT 1. in /var/www/html/kiemtienchosi/includes/class/DatabaseConnect.class.php on line 56 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0001 | 235696 | {main}( ) | .../index.php:0 |
2 | 0.0164 | 377400 | include( '/var/www/html/kiemtienchosi/modules/huong_dan_kiem_tien.php' ) | .../index.php:150 |
3 | 0.0165 | 379120 | include( '/var/www/html/kiemtienchosi/modules/x_product.php' ) | .../huong_dan_kiem_tien.php:13 |
4 | 0.0200 | 420264 | include( '/var/www/html/kiemtienchosi/modules/temp/show_list_product2.php' ) | .../x_product.php:164 |
5 | 0.0232 | 420312 | getNotificationAmount( ) | .../show_list_product2.php:67 |
6 | 0.0232 | 420472 | getAmountProductPerLocation( ) | .../Function.php:4692 |
7 | 0.0232 | 420600 | ActiveRecord->select( ) | .../Function.php:4672 |
8 | 0.0233 | 420760 | DatabaseConnect->query( ) | .../ActiveRecord.class.php:18 |