Forums / Install & configuration / Parse error line 121 on 4.0 with PHP5

Parse error line 121 on 4.0 with PHP5

Author Message

Lee Wallis

Tuesday 20 May 2008 6:22:00 am

Hey there guys,

I have tried to install 4.0 and get that parse error above...
Parse error: syntax error, unexpected ',', expecting '(' in /home/xxxx/public_html/index.php on line 121??

Any ideas? I am running PHP 5.2.5 and all the correct stuff to run this, I triple checked.

I have read the other forum posts about this, but there has been no solution to the fix on any of them for me.

Cheers.

André R.

Tuesday 20 May 2008 6:42:30 am

Line 121 contains a class constant ("eZDebug::LEVEL_NOTICE"), witch is a core php5 feature.
Rename index.php and create a new one with this content to see what php version you are really running:

<?php

phpversion();

?>

http://no.php.net/manual/en/language.oop5.constants.php

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

Lee Wallis

Tuesday 20 May 2008 6:49:06 am

Never mind, my web hosting company have given me false information!!!!!!!

Thanks for that! It's 4.4.8

Kristof Coomans

Tuesday 20 May 2008 7:25:18 am

Related to http://issues.ez.no/11722.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org