Jump to content

JROX


Guest Dennis Alm

Recommended Posts

Guest Dennis Alm

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']));

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...