Strict Standards: Non-static method Configure::read() should not be called statically in /home/caycanh/domains/caycanh.net.vn/public_html/cake/basics.php on line 233
Strict Standards: Non-static method Configure::getInstance() should not be called statically in /home/caycanh/domains/caycanh.net.vn/public_html/cake/libs/configure.php on line 163
Notice (8): Undefined index: HTTP_REFERER [APP/controllers/products_controller.php, line 120]Code |
Context $this->Session->write("cart.'".$id."'", $qty);
//$this->redirect(array('action' => 'viewcart'));
$name=$_SERVER['HTTP_REFERER'];
$id = "58"
$qty = 1
ProductsController::addtocart() - APP/controllers/products_controller.php, line 120
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83