jareczekjsp
Member
Hello guys I have problem when i open page shop I see like that
My script is Gifts.php is
Exception class: PDOException()
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'ots.z_shop_categories' doesn't exist
Backtrace:
#0 /var/www/html/system/libs/pot/OTS_Base_DB.php(86): PDO->query()
#1 /var/www/html/system/libs/pot/OTS_DB_PDOQuery_PHP71.php(10): OTS_Base_DB->doQuery()
#2 /var/www/html/system/pages/gifts.php(128): OTS_Base_DB->query()
#3 /var/www/html/index.php(353): require('...')
#4 {main}
My script is Gifts.php is
Can somebody help me ?I dont have table "{
unset($_SESSION['viewed_confirmation_page']);
$offer_types = array();
$tmp_query = $db->query('SELECTname
,description
FROM' . 'z_shop_categories
WHEREhidden
!= 1')->fetchAll();
foreach($tmp_query as $tmp_res) {
$offer_types[$tmp_res['name']] = $tmp_res['description'];
}
z_shop_categories