Notice (8): Undefined variable: shopingcart [APP/View/Product/viewshopingcart.ctp, line 110]Code Context <?php
$a=0;
$total=0; $i=1; $k=0; foreach($shopingcart as $key=>$product) {
$viewFile = '/home/bidophar/public_html/app/View/Product/viewshopingcart.ctp'
$dataForView = array(
'description_for_layout' => '',
'keywords_for_layout' => ''
)
$description_for_layout = ''
$keywords_for_layout = ''
$duoi = '_eg'
$gioithieu = 'about us'
$nhaptukhoa = 'Search'
$sanpham = 'products'
$daily = 'distributors'
$giohang = 'cart'
$lienhe = 'contact'
$trangchu = 'Home'
$a = (int) 0
$total = (int) 0
$i = (int) 1
$k = (int) 0
include - APP/View/Product/viewshopingcart.ctp, line 110
View::_evaluate() - CORE/Cake/View/View.php, line 920
View::_render() - CORE/Cake/View/View.php, line 883
View::render() - CORE/Cake/View/View.php, line 475
Controller::render() - CORE/Cake/Controller/Controller.php, line 957
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
[main] - APP/webroot/index.php, line 92
Warning (2): Invalid argument supplied for foreach() [APP/View/Product/viewshopingcart.ctp, line 110]Code Context <?php
$a=0;
$total=0; $i=1; $k=0; foreach($shopingcart as $key=>$product) {
$viewFile = '/home/bidophar/public_html/app/View/Product/viewshopingcart.ctp'
$dataForView = array(
'description_for_layout' => '',
'keywords_for_layout' => ''
)
$description_for_layout = ''
$keywords_for_layout = ''
$duoi = '_eg'
$gioithieu = 'about us'
$nhaptukhoa = 'Search'
$sanpham = 'products'
$daily = 'distributors'
$giohang = 'cart'
$lienhe = 'contact'
$trangchu = 'Home'
$a = (int) 0
$total = (int) 0
$i = (int) 1
$k = (int) 0
include - APP/View/Product/viewshopingcart.ctp, line 110
View::_evaluate() - CORE/Cake/View/View.php, line 920
View::_render() - CORE/Cake/View/View.php, line 883
View::render() - CORE/Cake/View/View.php, line 475
Controller::render() - CORE/Cake/Controller/Controller.php, line 957
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161
[main] - APP/webroot/index.php, line 92