building tutorial problem

Author Message

b j

Tuesday 24 January 2006 4:38:22 am

Using a "building" tutorial I tried to create a site but I failed on "Setting up the main layout" step. I changed all ini settings, folder names and so. But after copied the pagelayout.tpl file I'm unable to read the content of the page.

when I try to open the page: ...../index.php/liga //'liga' is the name of my page

I got the following debug report:

SET NAMES 'latin2'
Timing: Jan 24 2006 13:16:40
Module start 'content'
Error: error/view.php Jan 24 2006 13:16:40
Error ocurred using URI: /system/index.php/liga

And the error in browser:

Access denied
You don't have permission to access this area.

I thought it is a problem with policies for anonymous users so I enabled for him CONTENT/READ for all but it doesn't work still...

Had anyone the same problem? I would be really gracefull for any help.

Greets.

b j

Tuesday 24 January 2006 11:47:49 pm

Now I changed the policies for anonymous to "no restrictions" but site is still not working. It seems that instead of my pagalayout.tpl it is "standart" template always loaded... It is really making me sick.

my debug now:

Notice: eZMySQLDB::query(0.000 ms) query number per page:0 Jan 25 2006 08:44:09
SET NAMES 'latin2'
Timing: Jan 25 2006 08:44:09
Module start 'content'
Warning: eZTemplate Jan 25 2006 08:44:09
No template could be loaded for "node/view/full.tpl" using resource "design"
Timing: Jan 25 2006 08:44:09
Module end 'content'
Timing: Jan 25 2006 08:44:09
End

Ɓukasz Serwatka

Wednesday 25 January 2006 12:52:10 am

Hi,

Have you tried clear the all cache after moving your pagelayout to new design directory? Make sure that your new design directory is set to the SiteDesign in your site.ini.append.php file for public siteacess.

[DesignSettings]
SiteDesign=your_new_design_dir
AdditionalSiteDesignList[]=base

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

b j

Wednesday 25 January 2006 4:59:48 am

Yep I did it a lot of times. And my settings in sit.ini.append.php are correct, but.... strange thing is that when I have:

[DesignSettings]
SiteDesign=liga
AdditionalSiteDesignList[]=base

then always the base template is displayed

when I changed to

[DesignSettings]
SiteDesign=liga
AdditionalSiteDesignList[]=

then its standart template displayed.... why hes ignoring my template? I had the same problem in other instalation (on different server) but after removing "base" from [DesignSetting] my template was properly displayed.

Here it is not :( Could it be some problem with url's? hm...

b j

Wednesday 25 January 2006 5:04:47 am

I cleared the cache manually and it works.... :D

HELLO WORLD!!!

but a lot of errors below in debug-box hm.... Im not sure if it is a real success

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 30 2025 21:38:07
Script start
Timing: Jan 30 2025 21:38:07
Module start 'layout'
Timing: Jan 30 2025 21:38:07
Module start 'content'
Timing: Jan 30 2025 21:38:09
Module end 'content'
Timing: Jan 30 2025 21:38:09
Script end

Main resources:

Total runtime1.4367 sec
Peak memory usage8,192.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0076 588.1328151.2109
Module start 'layout' 0.00770.0054 739.3438220.6875
Module start 'content' 0.01301.4227 960.03134,473.4063
Module end 'content' 1.43580.0009 5,433.437511.8516
Script end 1.4367  5,445.2891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.2683160.0002
Check MTime0.00130.0922160.0001
Mysql Total
Database connection0.00070.050710.0007
Mysqli_queries1.340993.3303630.0213
Looping result0.00070.0467610.0000
Template Total1.364595.020.6823
Template load0.00220.153820.0011
Template processing1.362394.821920.6812
Template load and register function0.00140.097810.0014
states
state_id_array0.00220.153610.0022
state_identifier_array0.00210.146920.0011
Override
Cache load0.00190.1318510.0000
Sytem overhead
Fetch class attribute can translate value0.00160.111520.0008
Fetch class attribute name0.00190.132760.0003
XML
Image XML parsing0.00060.042720.0003
class_abstraction
Instantiating content class attribute0.00000.000760.0000
General
dbfile0.00080.0558180.0000
String conversion0.00000.000840.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
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/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
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs