Trying to go to my cart which has one item - a design which doesn’t exist anymore - and get this error (below). How can I empty the cart?
Br,
Mikko
Error in PHP Script
/index.php/ShoppingCart PHP Version: 5.3.3-0.dotdeb.0; Zend Engine Version: 2.3.0; Qcodo Version: 0.3.43 (Qcodo Beta 3)
Application: Apache/2.2.9 (Debian) PHP/5.3.3-0.dotdeb.0 with Suhosin-Patch mod_ssl/2.2.9 OpenSSL/0.9.8g; Server Name: batchpcb.com
HTTP User Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; fi; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729; .NET4.0C)
A non well formed numeric value encountered
Error Type: E_NOTICE
Source File: /var/www-batchpcb/2010-03-26/core/classes/ShoppingCartItemView.class.php Line: 104
Line 99: $this->btnRemove->AddAction(new QClickEvent(), new QServerControlAction($this, ‘btnRemoveItem_Click’));
Line 100:
Line 101: $this->lblItemPrice = new QLabel($this);
Line 102: $this->lblItemPrice->CssClass = ‘ItemPrice’;
Line 103: $intPrice = $this->GetPrice();
Line 104: $this->lblItemPrice->Text = money_format(‘$%n’,$intPrice);
Line 105:
Line 106: $this->txtQuantity = new QIntegerTextBox($this);
Line 107: $this->txtQuantity->CssClass = ‘ProductQtyBox’;
Line 108: $this->txtQuantity->Text = $this->objShoppingCartItem->Quantity;
Line 109: $this->txtQuantity->Minimum = 0;
Call Stack:
#0 (): QcodoHandleError()
#1 /var/www-batchpcb/2010-03-26/core/classes/ShoppingCartItemView.class.php(104): money_format()
#2 /var/www-batchpcb/2010-03-26/local/modules/ShoppingCartViewModule.class.php(113): ShoppingCartItemView->__construct()
#3 /var/www-batchpcb/2010-03-26/core/classes/ContentBlockView.class.php(186): ShoppingCartViewModule->__construct()
#4 /var/www-batchpcb/2010-03-26/core/classes/ContentBlockView.class.php(87): ContentBlockView->initModuleViews()
#5 /var/www-batchpcb/2010-03-26/core/classes/PageView.class.php(112): ContentBlockView->__construct()
#6 /var/www-batchpcb/2010-03-26/core/index.php(253): PageView->__construct()
#7 /var/www-batchpcb/2010-03-26/includes/qcodo/_core/qform/QFormBase.class.php(285): IndexPage->Form_Create()
#8 /var/www-batchpcb/2010-03-26/core/index.php(445): QFormBase::Run()
Variable Dump: Show/Hide