Quote:
Originally Posted by Pierre
I installed the mods for the gift certificate, but I keep getting the error message:
Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /includes/classes/shopping_cart.php on line 383
I then overwrited the shopping_cart.php with the original one and the mod still didn't work. I tried this on new zen cart installations, and edited ones.
Can someone please give me some help on how to install the gv mod?
Hi there Pierre!
I discovered a similar problem when I moved to a server with an older php and MySQL, where the line
Code:
$mod_product_model = $db->Execute($mod_product_model_query)->fields['products_model'];must be changed to
Code:
$mod_product_model = $db->Execute($mod_product_model_query);
$mod_product_model = $mod_product_model->fields['products_model'];It seems that "$db->Execute" and "->fields" cant' be on the same line. You can try it your self or wait for an updated version to be posted shortly... The same kind of change needs to be on on several lines in shopping_cart.php and maybe in some other file.