Hi,
I'd highly recommend upgrading. We don't support v1.2.0 anymore, and there have been many changes made since it's release.
The workaround for register globals is the same as the code above. You can put this at the top of "squirrelcart/cart.php", below the opening <? tag:
PHP Code:// workaround fix for when register_globals is set to off.
if (!ini_get('register_globals')) {
while (list($key, $val) = @each($_GET)) $GLOBALS[$key] = $val;
while (list($key, $val) = @each($_POST)) $GLOBALS[$key] = $val;
while (list($key, $val) = @each($_COOKIE)) $GLOBALS[$key] = $val;
while (list($key, $val) = @each($_FILES)) $GLOBALS[$key] = $val;
while (list($key, $val) = @each($_SESSION)) $GLOBALS[$key] = $val;
}




Reply With Quote