X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   IE Error on check out (https://forum.x-cart.com/showthread.php?t=54339)

Fersick 06-25-2010 12:14 AM

IE Error on check out
 
Getting this error when someone gets to the check out page after selecting an item and signing in.
Have had a look at the code in this area of the cart.php my programming skills are starting to get better and from what i can tell there isn't any need for a { anywhere.


Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SV1; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 1.1.4322; InfoPath.2; Tablet PC 2.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729; AskTbUT2V5/5.8.0.12304)
Timestamp: Fri, 25 Jun 2010 07:58:48 UTC


Message: Expected '{'
Line: 305
Char: 15
Code: 0
URI: https://www.#########.com.au/###/cart.php?mode=checkout&registered=&keep_https=yes


Message: Expected '{'
Line: 314
Char: 15
Code: 0
URI: https://www.##########.com.au/###/cart.php?mode=checkout&registered=&keep_https=yes

// LINES 303 to 330 of cart.php
# Recalculate cart totals after new item added
$products = func_products_in_cart($cart, (!empty($user_account["membershipid"]) ? $user_account["membershipid"] : ""));
$cart = func_array_merge($cart, func_calculate($cart, $products, $login, $current_area, 0));

if ($active_modules["Special_Offers"]) {
include $xcart_dir."/modules/Special_Offers/add_free_products.php";
}

if ($_GET["redirect_to_referer"] === "Y")
func_header_location($HTTP_REFERER . "&redirect_from_cart=Y");

$func_is_cart_empty = func_is_cart_empty($cart);

func_register_ajax_message(
'cartChanged',
array(
'changes' => array(
$result['productindex'] => array(
'productid' => $add_product["productid"],
'quantity' => $result['quantity'],
'changed' => $result['changed']
)
),
'isEmpty' => empty($cart['products']) && empty($cart['giftcerts']),
'status' => $result['status']
)
);

balinor 06-25-2010 05:13 AM

Re: IE Error on check out
 
4.3.0 was extremely buggy and essentially a beta release - you need to upgrade to the stable release which is currently 4.3.2


All times are GMT -8. The time now is 07:36 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.