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