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

eZ debug

Timing: Jan 30 2025 00:59:00
Script start
Timing: Jan 30 2025 00:59:00
Module start 'content'
Timing: Jan 30 2025 00:59:00
Module end 'content'
Timing: Jan 30 2025 00:59:01
Script end

Main resources:

Total runtime0.3139 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 588.1797180.8047
Module start 'content' 0.00700.0080 768.984494.1016
Module end 'content' 0.01500.2988 863.0859522.1563
Script end 0.3138  1,385.2422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00341.0842200.0002
Check MTime0.00130.4177200.0001
Mysql Total
Database connection0.00060.205510.0006
Mysqli_queries0.258782.42921410.0018
Looping result0.00150.46491390.0000
Template Total0.298495.110.2984
Template load0.00090.298210.0009
Template processing0.297594.789010.2975
Override
Cache load0.00070.217310.0007
Sytem overhead
Fetch class attribute can translate value0.00080.250210.0008
XML
Image XML parsing0.00020.070010.0002
General
dbfile0.01264.0138200.0006
String conversion0.00000.001330.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

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

Time used to render debug report: 0.0001 secs