Jon,
Purchased the mod today and I've followed all instructions. I am able to do an anonymous checkout with no problem but when I try to log in to complete an order I get this error (both from home.php login and checkout area:
Parse error: parse error, unexpected T_ELSE in /usr/home/birdshop/public_html/xcart/include/login.php on line 204
I am using Version 4.0.5 and this is what my login.php looks like that I am supposed to change but it doesn't look the same as in the instructions.
You have:
if ($login_type == "C" || $login_type == "B") {
if (!func_is_cart_empty($cart)) {
func_header_location($redirect_to."/cart.php");
I have:
if ($login_type == "C" || $login_type == "B") {
if (!func_is_cart_empty($cart)) {
if(strpos($HTTP_REFERER, "mode=auth") === false) {
func_header_location($redirect_to."/cart.php");
Can you tell me what I need to change to make the login work for registered users?
Please advise,
Louise
BirdShopper.com
|