Forums / Install & configuration / Parse error: syntax error, unexpected (During Setup)

Parse error: syntax error, unexpected (During Setup)

Author Message

Matthew Andrade

Wednesday 23 September 2009 11:34:32 am

Guys,

How are you? I just downloaded the newest version of EzPublish and I keep getting error saying this:

Parse error: syntax error, unexpected ',', expecting '(' in /ezpublish/index.php on line 106

What went wrong here did I miss something?????

Thanks,

Matt

André R.

Wednesday 23 September 2009 2:31:38 pm

Is this the line your getting error on?

    $logMap = array( 'notice' => eZDebug::LEVEL_NOTICE,

If so, then your running php 4, eZ Publish 4.x only works on php 5.1.2 and higher (preferably 5.2.1 or higher since that is requirement for newest version of eZ Componets).

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Matthew Andrade

Wednesday 23 September 2009 2:45:41 pm

Yes!,

That was the problem that I had. I have since corrected that but I am now having this problem apper during the setup wizard:

<i>
The database [db298318687] cannot be used, the setup wizard wants to create the site in [utf-8] but the database has been created using character set [iso-8859-1]. You will have to choose a database having support for [utf-8] or modify [db298318687] .</i>

I have checked my DB with myphpadmin and it clearly is set to utf8 as it's charset... so I have no idea why this would send an error and not allow me to continue the install.

Thanks,

Matt