markscarts Posted November 14, 2005 Share Posted November 14, 2005 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? Quote Link to comment Share on other sites More sharing options...
Guest Posted November 14, 2005 Share Posted November 14, 2005 Look at the end of line 112. It has this: mySQLSafe($_SESSION['ccUser']);SSION['ccUser']); It should just be this: mySQLSafe($_SESSION['ccUser']); No problem. Quote Link to comment Share on other sites More sharing options...
markscarts Posted November 14, 2005 Author Share Posted November 14, 2005 Thanks Bill! Looks so obvious now that you pointed it out :) 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.