Fatal error: content-tools.php

Author Message

Leszek Jakubowski

Friday 16 November 2007 3:50:26 pm

Fatal error: Call to a member function on a non-object in c:\ezpublish\ezpublish\var\storage\packages\eZ-systems\ezwebin_site\settings\content-tools.php on line 202
Fatal error: eZ Publish did not finish its request

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

This is an error I get from my eZpublish WinXP install (ezpublish-3.10.0_installer.exe) right after the "Registration" page of the setup guide.

function getNodeIdByName( $nodeNameParam, $contentClassIdParam = false )
{
	//TODO: this code was copied from another function, and may need some rewrite to make sense to a developer
	//init vars
	$returnVar = false;
	
	//build up the conditions
	$conditions = array( 'name' => $nodeNameParam );
	
	if ( $contentClassIdParam )
		array_merge( $conditions, array( 'contentclass_id' => $contentClassIdParam ) );
	
	addError( array("conditions"=>$conditions), false);
	//fetch the treenode to move
	$moveTheseContentObjects = eZContentObject::fetchList( true, $conditions, 0, 1 );
	addError( array("movethesecontentobjects"=>$moveTheseContentObjects), false);
	$returnVar = $moveTheseContentObjects[0]->mainNodeID(); //<-- line 202 is here

	return $returnVar;
}

The non-default options I chose during installation: main language Polish, secondary English (US), user path:"web" admin path: "adm", web interface installed, and the title changed...

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 01:14:35
Script start
Timing: Jan 31 2025 01:14:35
Module start 'layout'
Timing: Jan 31 2025 01:14:35
Module start 'content'
Timing: Jan 31 2025 01:14:35
Module end 'content'
Timing: Jan 31 2025 01:14:35
Script end

Main resources:

Total runtime0.0197 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0039 588.2500151.2266
Module start 'layout' 0.00390.0030 739.4766220.7188
Module start 'content' 0.00690.0114 960.1953997.7422
Module end 'content' 0.01840.0013 1,957.937529.9922
Script end 0.0197  1,987.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002211.0252140.0002
Check MTime0.00094.4623140.0001
Mysql Total
Database connection0.00063.237410.0006
Mysqli_queries0.00178.627430.0006
Looping result0.00000.041110.0000
Template Total0.00094.610.0009
Template load0.00073.359410.0007
Template processing0.00021.220110.0002
Override
Cache load0.00042.228710.0004
General
dbfile0.00189.180680.0002
String conversion0.00000.035040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs