Fatal error: Uncaught exception 'ADODB_Exception' with message 'mysql error: [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] in EXECUTE("SELECT * FROM ware WHERE ware_id=?") ' in /var/www/watermap.ru/application/libraries/adodb/adodb-exceptions.inc.php:80 Stack trace: #0 /var/www/watermap.ru/application/libraries/adodb/adodb.inc.php(1040): adodb_throw('mysql', 'EXECUTE', 1064, 'You have an err...', 'SELECT * FROM w...', false, Object(ADODB_mysql)) #1 /var/www/watermap.ru/application/libraries/adodb/adodb.inc.php(1015): ADOConnection->_Execute('SELECT * FROM w...', false) #2 /var/www/watermap.ru/application/libraries/adodb/adodb.inc.php(1608): ADOConnection->Execute('SELECT * FROM w...', 0) #3 [internal function]: ADOConnection->GetRow('SELECT * FROM w...', 0) #4 /var/www/watermap.ru/application/libraries/Proxy.php(12): call_user_func_array(Array, Array) #5 /var/www/watermap.ru/application/models/ware_model.php(44): in /var/www/watermap.ru/application/libraries/adodb/adodb-exceptions.inc.php on line 80