This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Install & configuration » Upgrading isn't easy.. 3.2-2 > 3.4.0

Upgrading isn't easy.. 3.2-2 > 3.4.0

Upgrading isn't easy.. 3.2-2 > 3.4.0

Wednesday 04 August 2004 9:20:28 am - 5 replies

I'm upgrading, or at least trying to upgrade our eZp-website from 3.2-2 (3.2 release 2)
to 3.4.0 (3.4.0). I'm almost there after updating databases and all, but there seems to be a problem with caching. This little bastard is holding me back:

Parse error: parse error, unexpected T_ELSE in /www/var/mysite/cache/template/compiled/folder-a9516c84a06141ba3f24dcee643c75a1.php on line 633
Fatal error: eZ publish did not finish it's request

Anyone seen this parse error before while upgrading?

This is cut'n pasted from line 633 and so on in the cache-file mentioned:
$resourceFound = false;
if ( file_exists( "var/mysite/cache/template/compiled/full-ec4187abe076068fbc1fca265893756a.php" ) )

$resourceFound = true;
$namespaceStack[] = array( $rootNamespace, $currentNamespace );
$currentNamespace = $rootNamespace = !$currentNamespace ? "NodeView" : ( $currentNamespace . ':' . "NodeView" );
include( "var/mysite/cache/template/compiled/full-ec4187abe076068fbc1fca265893756a.php" );
list( $rootNamespace, $currentNamespace ) = array_pop( $namespaceStack );


Any hints and clues would be much appreciated. happy.gif Emoticon

Best regards,
Valentin, Norway.

Modified on Wednesday 04 August 2004 9:29:12 am by Valentin Svelland

Wednesday 04 August 2004 8:52:17 pm

Hi Valentin,

One advice: clear those caches manually. Also, continue to upgrade to 3.4.1 as 3.4.0 still contains some template compile bugs.

Also run the template compile from the command line for your user site access.



Thursday 05 August 2004 3:31:55 pm

Hi Paul. Long time no see! happy.gif Emoticon I will try out your tips, hopefully tomorrow. Not to much time left over at work today for development. Anyways, could you contact me on email valentin.svelland AT ? I'd like to tell you about my latest project.

Thursday 05 August 2004 3:39:00 pm

I've installed the latest release of eZp on a dedicated server, and I point to a specific folder on my server by a virtualhost setup in httpd.conf om my apache. Works just fine on the user site, but the admin sites returns this message after perfectly ok login page:

Fatal error: Class ezuser: Cannot inherit from undefined class ezpersistentobject in /path/to/ on line 97
Fatal error: eZ publish did not finish it's request

The execution of eZ publish was abruptly ended, the debug output is present below.

Is this a known bug in eZp 3.4.1 or could this be a problem in my virtualhost snippet? Which by the way goes like this;

<VirtualHost *:80>
ServerAlias *
DocumentRoot /path/to/
ErrorLog /path/to/
CustomLog /path/to/ common

<Directory /path/to/>
AllowOverride None
Options FollowSymLinks Indexes ExecCGI

RewriteEngine On
RewriteRule !\.(gif|css|jpg|png|html)$ /path/to/

<Location />
php_admin_value open_basedir /path/to/


Modified on Friday 06 August 2004 12:33:20 pm by Valentin Svelland

Thursday 05 August 2004 4:33:29 pm


sounds like you are almost there.

when I get weird issues like this I restart httpd, sometime apc or turck etc can cache code so when you upgrade they keep old code causing the problem.
If it is not that, then check all permissions, chmod and chown to ensure all files are readable by httpd (apache or nobody depending on your distro)

also you may want to change your httpd.conf file. The new one here : enable pdf and a couple of other features to work.

-- tony

Friday 06 August 2004 1:02:50 pm

Thanks Tony, you were actually right. I was pretty close, and in the end deactivating APC and restarting the apache was all it took. I'm up and running, without accelerator though..

Anyone else experienced this bug while trying to load in php.ini ? By the way this is the error message I get from my server, and I'm no linux guru - not yet anyways! big-smile.gif Emoticon

[My server 12:53:20 2004] [apc-error] apc_shm_create: shmget(0, 31457280,914) failed: Cannot allocate memory

Thanks again, Tony and Paul!

Modified on Friday 06 August 2004 1:04:00 pm by Valentin Svelland


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from