Forums / Setup & design / Still problem with Parse error:...

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Still problem with Parse error:...

Author Message

Kamer Vishi

Thursday 15 October 2009 6:03:27 pm

Hi all,

I'm trying to install Exponential 4.1.4 on my domain, I have PHP v5.2.3.

But I got this error message:

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

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

Can some body help me?

BR.

KVishi

Łukasz Serwatka

Friday 16 October 2009 12:12:51 am

Hi,

Are you sure about this PHP version? This looks like a PHP 4 related issue.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

André R.

Friday 16 October 2009 12:15:50 am

Class constants are not supported on PHP 4, so your basically running Exponential on PHP 4. Remember that php cli (command line) and php as used by webserver is uncoupled things. So it doesn't necessary means you have correct php version on web even if you have in in shell/cli using "php -v".

To correctly get your php version for your web server, rename index.php to something else and create a new index.php with the following:

<?php
phpinfo();
?>

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