Перейти к содержанию
Форум поддержки пользователей VamShop

MySQL DB Error

   (0 отзывов)

4pb
  • Статус: Closed

Очень много приходит ошибок MySQL DB Error

Помогите разобраться, пожалуйста.

 

Первый тип:

MYSQL ERROR REPORT
 - 21/12/2017 20:12:26
---------------------------------------
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 ''32''' at line 1

select parent_id from categories where categories_id = '32''
---------------------------------------
Server Name : niva-lada4x4.ru
Remote Address: 176.59.196.59
Referer : 
Requested : /index.php?cat=32'&page=15&
Trace Back : redirector.php:282(includearray(1) {; [0]=>; string(49) "index.php"; }; ) => index.php:26(includearray(1) {; [0]=>; string(68) "includes/application_top.php"; }; ) => includes/application_top.php:490(vam_get_category_patharray(1) {; [0]=>; &string(3) "32'"; }; ) => inc/vam_get_category_path.inc.php:27(vam_get_parent_categoriesarray(2) {; [0]=>; &array(0) {; }; [1]=>; &string(3) "32'"; }; ) => inc/vam_get_parent_categories.inc.php:24(vamDBqueryarray(1) {; [0]=>; &string(60) "select parent_id from categories where categories_id = '32''"; }; ) => includes/application_top.php:209(vam_db_queryCachedarray(1) {; [0]=>; &string(60) "select parent_id from categories where categories_id = '32''"; }; ) => inc/vam_db_queryCached.inc.php:47(vam_db_errorarray(3) {; [0]=>; &string(60) "select parent_id from categories where categories_id = '32''"; [1]=>; &int(1064); [2]=>; &string(151) "You have an error in your SQL syntax; check th!
 e manual that corresponds to your MySQL server version for the right syntax to use near ''32''' at line 1"; }; )

 

Второй тип:

MYSQL ERROR REPORT
 - 20/12/2017 21:12:56
---------------------------------------
 - 

connect
---------------------------------------
Server Name : niva-lada4x4.ru
Remote Address: 83.220.239.215
Referer : https://niva-lada4x4.ru/index.php?cat=32&page=21
Requested : /index.php?cat=32&page=22
Trace Back : redirector.php:282(includearray(1) {; [0]=>; string(49) "index.php"; }; ) => index.php:26(includearray(1) {; [0]=>; string(68) "includes/application_top.php"; }; ) => includes/application_top.php:192(vam_db_connectarray(0) {; }; ) => inc/vam_db_connect.inc.php:37(vam_db_errorarray(3) {; [0]=>; &string(7) "connect"; [1]=>; &NULL; [2]=>; &NULL; }; )


Обратная связь


×
×
  • Создать...