Помощь по скриптам | что за ошибка?
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 '`, mod` = '1'' at line 1' in Z:\home\test1.ru\www\system\classes\Core.class.php:27 Stack trace: #0 Z:\home\test1.ru\www\system\classes\Core.class.php(27): PDOStatement->execute(Array) #1 Z:\home\test1.ru\www\system\model\enter.class.php(109): Core::query('INSERT INTO `us...', Array) #2 Z:\home\test1.ru\www\system\controller\enter.class.php(32): enter_model->reg_post() #3 Z:\home\test1.ru\www\system\classes\Route.class.php(20): enter->registration() #4 Z:\home\test1.ru\www\index.php(27): Route::start('/enter/registra...') #5 {main} thrown in Z:\home\test1.ru\www\system\classes\Core.class.php on line 27
Не правильный синтаксис. Показано в каком месте
Avenax (10.01.2018 в 21:21)
Не правильный синтаксис. Показано в каком месте
Не правильный синтаксис. Показано в каком месте
а это не подскажите часть ошибки уьрал
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 '`' at line 1' in Z:\home\test1.ru\www\system\classes\Core.class.php:27 Stack trace: #0 Z:\home\test1.ru\www\system\classes\Core.class.php(27): PDOStatement->execute(Array) #1 Z:\home\test1.ru\www\system\model\enter.class.php(109): Core::query('INSERT INTO `us...', Array) #2 Z:\home\test1.ru\www\system\controller\enter.class.php(32): enter_model->reg_post() #3 Z:\home\test1.ru\www\system\classes\Route.class.php(20): enter->registration() #4 Z:\home\test1.ru\www\index.php(27): Route::start('/enter/registra...') #5 {main} thrown in Z:\home\test1.ru\www\system\classes\Core.class.php on line 27