Forums / Setup & design / update from 3.7.x to 3.8.0

update from 3.7.x to 3.8.0

Author Message

Emil Ă–sterlund

Tuesday 25 September 2007 4:26:34 am

I updated my ez and all scripts and databasqueries run without any errors. I copied all my extensions and everything and it worked perfectly fine.
Until i tried to edit a object. then i get this error msg:

<i>Fatal error: Call to a member function on a non-object in /www/html/vhost/update.diil.no/kernel/content/node_edit.php on line 703
Fatal error: eZ publish did not finish its request

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

Warning: Invalid argument supplied for foreach() in /www/html/vhost/update.diil.no/kernel/common/eztemplatedesignresource.php on line 816

Notice: Undefined variable: matchFileArray in /www/html/vhost/update.diil.no/kernel/common/eztemplatedesignresource.php on line 895

Warning: array_keys(): The first argument should be an array in /www/html/vhost/update.diil.no/kernel/common/eztemplatedesignresource.php on line 483

Warning: Invalid argument supplied for foreach() in /www/html/vhost/update.diil.no/kernel/common/eztemplatedesignresource.php on line 483

Warning: Invalid argument supplied for foreach() in /www/html/vhost/update.diil.no/kernel/common/eztemplatedesignresource.php on line 816

Notice: Undefined variable: matchFileArray in /www/html/vhost/update.diil.no/kernel/common/eztemplatedesignresource.php on line 895
eZ debug
Notice: eZMySQLDB::query(0.000 ms) query number per page:0 Sep 25 2007 13:03:40

SET NAMES 'latin1'

Timing: Sep 25 2007 13:03:40

Module start 'content'

Warning: PHP Sep 25 2007 13:03:40

Invalid argument supplied for foreach() in /www/html/vhost/update.diil.no/kernel/content/attribute_edit.php on line 171

Warning: PHP Sep 25 2007 13:03:40

array_keys(): The first argument should be an array in /www/html/vhost/update.diil.no/kernel/content/attribute_edit.php on line 411

Warning: PHP Sep 25 2007 13:03:40

Invalid argument supplied for foreach() in /www/html/vhost/update.diil.no/kernel/content/attribute_edit.php on line 411

Warning: PHP Sep 25 2007 13:03:40

array_keys(): The first argument should be an array in /www/html/vhost/update.diil.no/kernel/content/attribute_edit.php on line 453

Warning: PHP Sep 25 2007 13:03:40

Invalid argument supplied for foreach() in /www/html/vhost/update.diil.no/kernel/content/attribute_edit.php on line 453

Warning: PHP Sep 25 2007 13:03:40

Undefined variable: versionedAssignedNodeArray in /www/html/vhost/update.diil.no/kernel/content/node_edit.php on line 694

Error: eZINI Sep 25 2007 13:03:40

Undefined group: 'ExtensionSettings'

Error: eZDebug::writeFile Sep 25 2007 13:03:40

Cannot open log file 'var/log/error.log' for writing
The web server must be allowed to modify the file.
File logging for 'var/log/error.log' is disabled.

Error: eZINI Sep 25 2007 13:03:40

Undefined group: 'ExtensionSettings'

Error: Sep 25 2007 13:03:40

Could not open file 'var/plain/cache/override/override_725096131.php' for writing, perhaps wrong permissions

Error: eZPHPCreator::store Sep 25 2007 13:03:40

Failed to open file 'var/plain/cache/override/override_725096131.php'

Error: eZTemplateDesignResource::createOverrideCache Sep 25 2007 13:03:40

Could not write template override cache file, check permissions in var/plain/cache/override/.
Running eZ publish without this cache will have a performance impact.

Error: eZINI Sep 25 2007 13:03:40

Undefined group: 'ExtensionSettings'

Warning: eZTemplate Sep 25 2007 13:03:40

No template could be loaded for "setup/debug_toolbar.tpl" using resource "design"

Error: eZDebug::writeFile Sep 25 2007 13:03:40

Cannot open log file 'var/log/warning.log' for writing
The web server must be allowed to modify the file.
File logging for 'var/log/warning.log' is disabled.</i>

i changed the .php file to check if $version was actually set which passed me on some errors. also i have checked manually if the database contains any objects where version is not set but there where none

André R.

Tuesday 25 September 2007 6:14:11 am

Hi, seems like you have several issues.
1. file permissions (can't write to var directory)
2. Seems like you have forgot to set the SiteLanguageList[]= ini variable as described in upgrade doc.
3. DB might be corrupted (in that case you should try to upgrade from your 3.7 database to a more recent version of 3.8 directly)

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