Fatal error: Undefined class name 'ezcontentobjecttreenode'

Author Message

Stephan Staubli

Monday 06 March 2006 6:32:01 am

hy there

after installation with the ezpublish wizzard i get this error when i try to access the page:

<i>
<b>Fatal error</b>: Undefined class name 'ezcontentobjecttreenode' in /var/www/html/virtualdomains/10/ezpublish30.net/documents/ezpublish/kernel/common/eztreemenuoperator.php on line 193
Fatal error: eZ publish did not finish its request
</i>

we offer an automatic installation of ezpublish to the clients of our hosting software.
if a client orderd this installation, we unpack the ezpublish tar into directory ezpublish (thats the only thing we changed to the original tar, we renamed the folder ezpublish-3.7.3 to ezpublish) on his domain and use a perlscript to enter all data into <i>kickstart.ini</i> so that the wizard only shows the "welcome" and the "finish" screen.
because we dont want the adminuser to be named "admin" with pass "publish" we edit automatically the values in <i>share/db_data.dba</i> to look eg like this:
<i>
array (
0 => '14',
1 => 'nospam@ez.no',
2 => 'ad2638',
3 => 'd30d0e168b84b9bed20906f8d354fcb4',
4 => '1',
</i>

if you can give me any tips to solve this fatalerror-problem ill be very happy because i try to fix this now for 2 days! if i can solve this with ur help, this will bring a huge new number of ezpublish users to ur comunity.

thank you very much.

here my kickstart.ini (intro comments removed)

[email_settings]
## Continue=<true|false>
## Whether this step should continue after reading the data
Continue=true
## Type=<email-type>
## Type of email handler
## <email-type>:
## - mta - Use Sendmail/MTA
## - smtp - Use SMTP
#Type=mta
## Server=<hostname>
## Which server to use for SMTP
#Server=
## User=<username>
## Which user to use for SMTP
#User=
## Password=<hostname>
## Which password to use for SMTP
Password=VMg+_wt93P

[database_choice]
## Continue=<true|false>
## Whether this step should continue after reading the data
Continue=true
## Type=<database-system>
## Which database system to use
## <database-system>:
## - mysql - Use mysql
## - postgresql - Use postgresql
## other values are possible if provided by extension
Type=mysql

[database_init]
## Continue=<true|false>
## Whether this step should continue after reading the data
Continue=true
## Server=<hostname>
## Which hostname has the database server
Server=10.1.1.100
## Database=<database>
## Which database to use
Database=ezpublish_ad2639
## User=<username>
## Which user should be used in database
User=ad2639
## Server=<password>
## Which password should be used for user
Password=VMg+_wt93P
## Socket=<socket-path>
## Path to socket or empty for no socket
#Socket=

[language_options]
## Continue=<true|false>
## Whether this step should continue after reading the data
Continue=true
## Primary=<locale>
## The primary language for the site
Primary=eng-GB
## Languages[]=<locale>
## Additional languages
#Languages[]

[site_types]
## Continue=<true|false>
## Whether this step should continue after reading the data
Continue=true
## Sites[]=<identifier>
## Which site to install, identifier is taken from site package (ezpkg)
Sites[]
Sites[]=news

[site_packages]
## Continue=<true|false>
## Whether this step should continue after reading the data
Continue=true
## Packages[]=<identifier>
## Which additional package to install, identifier is taken from addon package (ezpkg)
Packages[]
Packages[]=gallery

[site_access]
## Continue=<true|false>
## Whether this step should continue after reading the data
Continue=true
## Access=<access-type>
## <access-type>:
## - url - Use url/path for matching
## - port - Use port for matching
## - hostname - Use hostname for matching
Access=url

[site_details]
## Continue=<true|false>
## Whether this step should continue after reading the data
Continue=true
## Title[<site-identifier>]=<string>
## The title to use for a given site-identifier
## if not supplied it uses the site type name
#Title[]
#Title[news]=My cool new site

## URL[<site-identifier>]=<url>
## The URL to use for a given site-identifier
## if not supplied it will generate it from the current url
#URL[]
#URL[news]=

## Access[<site-identifier>]=<string>
## The access name to use for user page
## if not supplied it will use site identifier
#Access[]
#Access[news]=news

## AdminAccess[<site-identifier>]=<string>
## The access name to use for admin page
## if not supplied it will use site identifier + _admin
#AdminAccess[]
AdminAccess[news]=news_admin

## AccessPort[<site-identifier>]=<number>
## The access port to use for user page
#AccessPort[]
#AccessPort[news]=8080

## AdminAccessPort[<site-identifier>]=<number>
## The access port to use for admin page
#AdminAccessPort[]
#AdminAccessPort[news]=8081

## AccessHostname[<site-identifier>]=<url>
## The access hostname to use for user page
#AccessHostname[]
#AccessHostname[news]=news.test.com

## AdminAccessHostname[<site-identifier>]=<url>
## The access hostname to use for admin page
#AdminAccessHostname[]
#AdminAccessHostname[news]=news-admin.test.com

## Database[<site-identifier>]=<databasename>
## The database name to use for site
#Database[]
#Database[news]=ezp35test

## DatabaseAction[<site-identifier>]=<action>
## What to do with the database, can be one of:
## <action>:
## - ignore
## Try to add entries without cleaning up
## - remove
## Clean up entries and add new ones
## - skip
## Do not insert database schema + data
#DatabaseAction[]
DatabaseAction[news]=ignore

[site_admin]
## Continue=<true|false>
## Whether this step should continue after reading the data
Continue=true
## FirstName=[string]
## The first name of the administrator user
FirstName=
## LastName=[string]
## The first name of the administrator user
LastName=
## Email=[string]
## The email address of the administrator user
Email=
## Password=[string]
## The password of the administrator user
Password=VMg+_wt93P

[security]
## Continue=<true|false>
## Whether this step should continue after reading the data
Continue=true

[registration]
## Continue=<true|false>
## Whether this step should continue after reading the data
Continue=true
## Comments=<string>
## Comment string to add to registration email
#Comments=
## Send=<boolean>
## Whether to send registration email or not
Send=false

Betsy Gamrat

Monday 06 March 2006 7:41:36 am

Add this line to the beginning of your script.

include_once( "kernel/classes/ezcontentobjecttreenode.php" );

Stephan Staubli

Tuesday 07 March 2006 12:03:10 am

thanks for your answer Betsy.

to which script should i add this line?
its an ezpublish script which comes up with this error when i try to access
www.domainname.tld/ezpublish/index.php
or ezpublish/index.php?/news

Stephan Staubli

Tuesday 07 March 2006 12:29:52 am

if i dont use the kickstart.ini and enter the data manually, it works...
but with kickstart.ini i get the error when i want to visit the page after the wizard.
strange

Stephan Staubli

Tuesday 07 March 2006 5:40:43 am

works now.

the only things i changed:
- provide an email adr for admin
- provide a database for Database[news]=

****CLOSE****

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 18 2025 19:24:15
Script start
Timing: Jan 18 2025 19:24:15
Module start 'layout'
Timing: Jan 18 2025 19:24:15
Module start 'content'
Timing: Jan 18 2025 19:24:17
Module end 'content'
Timing: Jan 18 2025 19:24:17
Script end

Main resources:

Total runtime1.6344 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 589.3047152.6563
Module start 'layout' 0.00550.0026 741.960939.5078
Module start 'content' 0.00801.6248 781.4688583.9922
Module end 'content' 1.63290.0015 1,365.460920.0938
Script end 1.6344  1,385.5547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.1968160.0002
Check MTime0.00130.0788160.0001
Mysql Total
Database connection0.00070.040110.0007
Mysqli_queries1.540594.2540630.0245
Looping result0.00060.0372610.0000
Template Total1.598597.820.7993
Template load0.00230.143020.0012
Template processing1.596297.661320.7981
Template load and register function0.00020.014710.0002
states
state_id_array0.00120.070510.0012
state_identifier_array0.00190.116420.0010
Override
Cache load0.00240.14452130.0000
Sytem overhead
Fetch class attribute can translate value0.00060.037920.0003
Fetch class attribute name0.00160.096760.0003
XML
Image XML parsing0.00070.040520.0003
class_abstraction
Instantiating content class attribute0.00000.000860.0000
General
dbfile0.00080.0499160.0001
String conversion0.00000.000440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
29content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
25content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 62
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs