vidmarc Posted May 13, 2013 Share Posted May 13, 2013 All files uploaded and am getting this error: Parse error:syntax error, unexpected T_OBJECT_OPERATOR in ***/cubecart/setup/index.php on line 582 Any suggestions folks? The database I created is MySQL5 Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 13, 2013 Share Posted May 13, 2013 I initially thought it might be a problem with your version of PHP (sig says PHP5.4.12). I looked at the ChangeLog for PHP 5.4 series and no mention is made of fixing such a thing that might affect the version you are running. I just ran that chunk of code on PHP5.4.14-Win-x86-TS-VC9 and there was no parse error for me. Have you looked at the file /setup/index.php -- line 582 is in the function build_logos() near the bottom: $skins[(string)$xml->info->name][(string)$style->directory] = ((string)$style->attributes()->images == 'true') ? true : false; Quote Link to comment Share on other sites More sharing options...
vidmarc Posted May 13, 2013 Author Share Posted May 13, 2013 Thanks for the feedback! I haven't changed anything, it's just the newest version uploaded with no changes. Here's what I have: $skins[(string)$xml->info->name][(string)$style->directory] = ((string)$style->attributes()->images == 'true') ? true : false; Quote Link to comment Share on other sites More sharing options...
vidmarc Posted May 13, 2013 Author Share Posted May 13, 2013 You're right, I checked and it was still using an older version of php. Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 13, 2013 Share Posted May 13, 2013 Meaning? PHP4? The very first page of the setup screens, where a list of red and green entries show what is good and what is bad, didn't reveal an incompatible version of PHP? Quote Link to comment Share on other sites More sharing options...
vidmarc Posted May 13, 2013 Author Share Posted May 13, 2013 Yes, it was indeed php4. I didn't even get to the first screen before upgrading php. Quote Link to comment Share on other sites More sharing options...
bsmither Posted May 13, 2013 Share Posted May 13, 2013 Ok, I can see how that would happen. (Be sure to update your post at www.cubecartforums.org.) 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.