Jump to content

Store is down after upgrade


markscarts

Recommended Posts

Went from 3.0.4 to 3.0.6 today. Now I can't pull up the store at http://cc3.biz - although I have no trouble pulling up the ACP at cc3.biz/admin/

Following error message displays:

Parse error: parse error, unexpected '[' in /home/. . . /public_html/cc3/includes/session.inc.php on line 112

My session.inc.php contains only 114 lines; following are lines 112 - 114:

// get userdata

$query = "SELECT * FROM ".$glob['dbprefix']."CubeCart_sessions LEFT JOIN ".$glob['dbprefix']."CubeCart_customer ON ".$glob['dbprefix']."CubeCart_sessions.customer_id = ".$glob['dbprefix']."CubeCart_customer.customer_id LEFT JOIN  ".$glob['dbprefix']."CubeCart_adg_groups_mod on discount_group_id = group_id WHERE sessId = ".$db->mySQLSafe($_SESSION['ccUser']);SSION['ccUser']);

$ccUserData = $db->select($query);

?>

Can anyone make a guess as to my problem?

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...