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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 11:02:19
Script start
Timing: Jan 18 2025 11:02:19
Module start 'layout'
Timing: Jan 18 2025 11:02:19
Module start 'content'
Timing: Jan 18 2025 11:02:19
Module end 'content'
Timing: Jan 18 2025 11:02:19
Script end

Main resources:

Total runtime0.0247 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0103 589.2813152.6563
Module start 'layout' 0.01030.0037 741.937539.5078
Module start 'content' 0.01400.0070 781.445389.5234
Module end 'content' 0.02110.0035 870.968834.3047
Script end 0.0246  905.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002911.5950140.0002
Check MTime0.00114.5487140.0001
Mysql Total
Database connection0.00093.467610.0009
Mysqli_queries0.005923.961730.0020
Looping result0.00000.077410.0000
Template Total0.002911.910.0029
Template load0.00103.938510.0010
Template processing0.00207.962110.0020
Override
Cache load0.00062.412610.0006
General
dbfile0.00135.330080.0002
String conversion0.00000.041640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs