Guest Dennis Alm Posted February 27, 2008 Share Posted February 27, 2008 Installed JROX and getting error logging in and trying to check out with the cart. Getting this message.. Parse error: syntax error, unexpected T_STRING in /home/newmagic/public_html/includes/content/reg.inc.php on line 86 Line 86 is below (not sure which one) Any help? if($emailArray == TRUE && $emailArray['type']==0){ // update $where = "customer_id = ".$db->mySQLSafe($emailArray[0]['customer_id']); $update = $db->update($glob['dbprefix']."CubeCart_customer", $record, $where); $sessData['customer_id'] = $emailArray[0]['customer_id']; $update = $db->update($glob['dbprefix']."CubeCart_sessions", $sessData,"sessId=".$db->mySQLSafe($_SESSION['ccUser'])); } else { $insert = $db->insert($glob['dbprefix']."CubeCart_customer", $record); $sessData['customer_id'] = $db->insertid(); $update = $db->update($glob['dbprefix']."CubeCart_sessions", $sessData,"sessId=".$db->mySQLSafe($_SESSION['ccUser'])); $redir = treatGet(base64_decode($_GET['redir'])); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.