Jump to content

New install, Cubecart 5.2.2.


Recommended Posts

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

 

 

 

Link to comment
Share on other sites

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;
Link to comment
Share on other sites

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;

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.

 Share

×
×
  • Create New...