Forums / Install & configuration / Upgrading from 3.7.5 to 3.8
H-Works Agency
Thursday 11 May 2006 11:25:19 am
I imported the .sql update fine but when i run this command :
cd your_ez_publish_directory php update/common/scripts/updatemultilingual.php -s admin_siteacess_name
I get this error
Parse error: syntax error, unexpected T_CLONE, expecting T_STRING in /home/user/www/ezpublish-3.8.0/kernel/classes/ezcontentobjectversion.php on line 982
I can't find anything about this in the forum.
Can someone help me ?
Martin
EZP is Great
Kristof Coomans
Thursday 11 May 2006 11:06:01 pm
Are you using PHP 5?
eZ publish is not compatible with PHP 5. You should use PHP 4.4 with eZ 3.8. It is mentioned on the download page ( http://ez.no/download/ez_publish ).
independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org
Sunday 14 May 2006 11:27:32 am
Yes you where right...my 'php' command was a link to php5.
But now if i use php4 i have :
PHP Warning: mime_magic: type regex BEGIN[[:space:]]*[{] application/x-awk invalid in Unknown on line 0 Fatal error: eZ publish did not finish its request The execution of eZ publish was abruptly ended, the debug output is present below.
Does any of this mean something to anyone ?
What exact php/pear modules do i need to upgrade to 3.8 ?
Thanx.
Sunday 14 May 2006 11:08:06 pm
Hi Martin
Are you running PHP 4.4 now? If so, that's okay.
Take a look in the error log (in var/log or var/<i>yoursiteaccessname</i>/log) to see if there are any related errors in there, and post them here.
Monday 15 May 2006 6:36:37 am
Ok it was a problem in my 'php' command php.ini file : mysql.so wasn't included :\
You should add a step to the 3.7->3.8 upgrade article about the fact that the standalone php executable must be installed and configured correctly. In fact i guess most of people use php's apache module.
Thanx