Forums / Setup & design / building tutorial problem

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

eZ debug

Timing: Jan 30 2025 21:21:04
Script start
Timing: Jan 30 2025 21:21:04
Module start 'content'
Timing: Jan 30 2025 21:21:04
Module end 'content'
Timing: Jan 30 2025 21:21:04
Script end

Main resources:

Total runtime0.1922 sec
Peak memory usage8,192.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0079 587.9297370.2969
Module start 'content' 0.00790.0142 958.22661,005.6406
Module end 'content' 0.02210.1701 1,963.86723,894.9375
Script end 0.1922  5,858.8047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00422.1726200.0002
Check MTime0.00130.6660200.0001
Mysql Total
Database connection0.00070.354810.0007
Mysqli_queries0.096350.08851410.0007
Looping result0.00140.70451390.0000
Template Total0.169788.310.1697
Template load0.00080.421910.0008
Template processing0.168987.870410.1689
Override
Cache load0.00060.294410.0006
Sytem overhead
Fetch class attribute can translate value0.00180.914010.0018
XML
Image XML parsing0.00030.133210.0003
General
dbfile0.00904.6870200.0005
String conversion0.00000.004730.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

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

Time used to render debug report: 0.0002 secs