Error occured. Sent email to admin. Put nice error template page here
QUERY: 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 'AND pickup_postcode = AND special_delivery != '1' AND ( activation_status = 'A' ' at line 1SELECT * FROM single_sales WHERE sale_type = 'B' AND member_id = AND pickup_postcode = AND special_delivery != '1' AND ( activation_status = 'A' || ( activation_status != 'A' && admin_confirmation = '0' && activation_checked = '1' ) ) ORDER BY id DESC
array (
'u' => 'shoppingmall/cart/14',
'ESESSION' => '80823e99c7c2513c332bf0794fde9ce3',
)array (
'DOCUMENT_ROOT' => '/home/voppie/domains/voppie.com/public_html',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5',
'HTTP_ACCEPT_CHARSET' => 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
'HTTP_ACCEPT_ENCODING' => 'gzip',
'HTTP_ACCEPT_LANGUAGE' => 'en-us,en;q=0.5',
'HTTP_CACHE_CONTROL' => 'no-cache',
'HTTP_CONNECTION' => 'close',
'HTTP_COOKIE' => 'ESESSION=80823e99c7c2513c332bf0794fde9ce3',
'HTTP_HOST' => 'www.voppie.com',
'HTTP_IF_MODIFIED_SINCE' => 'Sat, 25 Sep 2010 06:35:13 GMT',
'HTTP_PRAGMA' => 'no-cache',
'HTTP_USER_AGENT' => 'CCBot/1.0 (+http://www.commoncrawl.org/bot.html)',
'HTTP_X_CC_ID' => 'ccc02-02',
'PATH' => '/bin:/usr/bin',
'PHPRC' => '/usr/local/etc/php5/cgi/',
'QUERY_STRING' => 'u=shoppingmall/cart/14',
'REDIRECT_QUERY_STRING' => 'u=shoppingmall/cart/14',
'REDIRECT_STATUS' => '200',
'REDIRECT_UNIQUE_ID' => 'Ty4Mhso8QL4AAD6Hj@IAAAAU',
'REDIRECT_URL' => '/shoppingmall/cart/14',
'REMOTE_ADDR' => '38.107.179.220',
'REMOTE_PORT' => '55647',
'REQUEST_METHOD' => 'GET',
'REQUEST_URI' => '/shoppingmall/cart/14',
'SCRIPT_FILENAME' => '/home/voppie/domains/voppie.com/public_html/index.php',
'SCRIPT_NAME' => '/index.php',
'SERVER_ADDR' => '202.60.64.190',
'SERVER_ADMIN' => 'webmaster@voppie.com',
'SERVER_NAME' => 'www.voppie.com',
'SERVER_PORT' => '80',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'SERVER_SIGNATURE' => 'Apache/2 Server at www.voppie.com Port 80
',
'SERVER_SOFTWARE' => 'Apache/2',
'UNIQUE_ID' => 'Ty4Mhso8QL4AAD6Hj@IAAAAU',
'PHP_SELF' => '/index.php',
'REQUEST_TIME' => 1328417926,
'argv' =>
array (
0 => 'u=shoppingmall/cart/14',
),
'argc' => 1,
)