"Hello world"-page will not show

Author Message

Harald Svendsen

Friday 14 November 2003 1:47:22 am

Hello world!

I've just installed eZ Publis for my first time. This is my system:
Linux RedHat 9
Apache 1.3.29
PHP 4.3.4
MySQL 3.23.54
eZ Publish 3.2

I then followed the tutorial on http://www.ez.no/developer/ez_publish_3/documentation/building_an_ez_publish_site . The problem arises when I create the pagelayout.tpl, described in http://www.ez.no/developer/ez_publish_3/documentation/building_an_ez_publish_site/setting_up_the_main_layout/creating_a_barebone_main_template.

My problem is that the pagelayout.tpl I created in /design/*myname*/templates/ won't show. When I enter the adress ezpublish-3.2-1/index.php/*myname* in my browser I believe I get the standard pagelayout.tpl in /design/standard/templates/.

I thought the standard pagelayout.tpl only would be used when there was no pagelayout in /design/*myname*/templates/. What have I done wrong?

Thanks in advance!

Harald

Description of the page shown:

eZ logo on top, search feature;
some links like: mainpage, personal, trash...;
the text:
Default object view. Klikk for å lage en ny tilpasset mal
Root folder
Name

Root folder
Description

This folder contains some information about...
some buttons: preview, remove, bookmark...

eZ debug
Timing: Nov 14 2003 09:10:00

Module start 'content'

Warning: eZModuleOperationInfo::execute Nov 14 2003 09:10:00

Missing main operation memento for key: b406376d88b150b85a16e72192031d4f

Debug: here 1 Nov 14 2003 09:10:00

array(1) {
[0]=>
string(62) "ezcontentobject.contentclass_id in (1,10,11,12,13,2,5,6,7,8,9)"
}

Timing: Nov 14 2003 09:10:00

Module end 'content'

Warning: eZTemplate:eZURLOperator Nov 14 2003 09:10:00

Design element stylesheets/admin.css does not exist in any design

Warning: eZTemplate Nov 14 2003 09:10:00

No template could be loaded for "left_menu.tpl" using resource "design"

.........timing points.....

Kåre Køhler Høvik

Friday 14 November 2003 2:02:46 am

Hi

It looks like you might have forgotten to set up the siteaccess settings properly. Please see this page for instructions on how to do it :http://ez.no/developer/ez_publish_3/documentation/building_an_ez_publish_site/creating_a_new_site

Remember to clear cache after adding the ini settings.

-- Kåre

Kåre Høvik

Harald Svendsen

Friday 14 November 2003 3:36:23 am

Thanks! Problem solved.

The tutorial said I had to delete the plain directory in the var folder. So I looked in the var folder at the root, not /ezpublish-3.2-1/var/. My mistake. Now it is working.

I get some error messages though, but I guess I'm supposed to :-)

Harald

Error messages:

eZ debug
Timing: Nov 14 2003 12:26:49

Module start 'content'

Warning: eZModuleOperationInfo::execute Nov 14 2003 12:26:49

Missing main operation memento for key: b406376d88b150b85a16e72192031d4f

Error: eZTemplateDesignResource::overrideArray Nov 14 2003 12:26:49

Custom match file: path '' not found in any resource. Check template settings in settings/override.ini

Error: eZTemplateDesignResource::overrideArray, tried files Nov 14 2003 12:26:49

array(5) {
[0]=>
string(38) "design/standard/templates/sortlist.tpl"
[1]=>
string(39) "design//override/templates/sortlist.tpl"
[2]=>
string(30) "design//templates/sortlist.tpl"
[3]=>
string(48) "design/danielsen/override/templates/sortlist.tpl"
[4]=>
string(39) "design/danielsen/templates/sortlist.tpl"
}

Error: eZTemplateDesignResource::overrideArray Nov 14 2003 12:26:49

Custom match file: path '' not found in any resource. Check template settings in settings/override.ini

Error: eZTemplateDesignResource::overrideArray, tried files Nov 14 2003 12:26:49

array(5) {
[0]=>
string(34) "design/standard/templates/view.tpl"
[1]=>
string(35) "design//override/templates/view.tpl"
[2]=>
string(26) "design//templates/view.tpl"
[3]=>
string(44) "design/danielsen/override/templates/view.tpl"
[4]=>
string(35) "design/danielsen/templates/view.tpl"
}

Timing: Nov 14 2003 12:26:49

Module end 'content'

Timing: Nov 14 2003 12:26:49

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 19 2025 00:35:04
Script start
Timing: Jan 19 2025 00:35:04
Module start 'layout'
Timing: Jan 19 2025 00:35:04
Module start 'content'
Timing: Jan 19 2025 00:35:06
Module end 'content'
Timing: Jan 19 2025 00:35:06
Script end

Main resources:

Total runtime1.6360 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 588.0313152.6406
Module start 'layout' 0.00520.0029 740.671939.4766
Module start 'content' 0.00811.6265 780.1484560.2109
Module end 'content' 1.63460.0013 1,340.359412.1406
Script end 1.6359  1,352.5000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00520.3159160.0003
Check MTime0.00300.1804160.0002
Mysql Total
Database connection0.00080.049010.0008
Mysqli_queries1.553394.9450570.0273
Looping result0.00060.0345550.0000
Template Total1.596897.620.7984
Template load0.00250.151820.0012
Template processing1.594397.454720.7972
Template load and register function0.00030.020710.0003
states
state_id_array0.00120.072710.0012
state_identifier_array0.00200.121620.0010
Override
Cache load0.00220.1353930.0000
Sytem overhead
Fetch class attribute can translate value0.00170.106420.0009
Fetch class attribute name0.00170.101040.0004
XML
Image XML parsing0.00080.050420.0004
class_abstraction
Instantiating content class attribute0.00000.000640.0000
General
dbfile0.00090.0580150.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
9content/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: 27
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs