54
55
$_GET['cat'] = $explode[0];
56
$categoryInfo = $Zupr->selectEl("catalog", " WHERE id={$_GET["cat"]} AND visibility=1");
57 $categotyItemCount = $categoryInfo['countItem'];
58
59
if ( empty($categotyItemCount) ) {
60
$categoryInfo['countItem'] = $Zupr->selectElCou('item', "WHERE `cat_id` =1412 AND visibility =1");
Описание ошибки: Undefined index: countItem
Вызов из /var/www/u1241017/data/www/radugasibir.delosite.org/catalog/index.php строка № 57
72
die();
73
}
74
}
75 $thisCat = $categoryInfo['title'];
76
77
$parentCategoryInfo = $Zupr->selectEl("catalog", " WHERE id={$categoryInfo["parent_id"]}");
78
Описание ошибки: Undefined index: title
Вызов из /var/www/u1241017/data/www/radugasibir.delosite.org/catalog/index.php строка № 75
74
}
75
$thisCat = $categoryInfo['title'];
76
77 $parentCategoryInfo = $Zupr->selectEl("catalog", " WHERE id={$categoryInfo["parent_id"]}");
78
79
if (!empty($parentCategoryInfo)){
80
Описание ошибки: Undefined index: parent_id
Вызов из /var/www/u1241017/data/www/radugasibir.delosite.org/catalog/index.php строка № 77
Array ( [code] => 1064 [message] => 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 [query] => SELECT * FROM catalog WHERE id= [context] => /var/www/u1241017/data/www/radugasibir.delosite.org/engine/Inclusio/Component/Zapr/Class.php line 8 )