Moving an existing design & siteaccess into a stock eZ publish 3 build

Author Message

kracker (the)

Wednesday 16 February 2005 9:15:11 am

What's up Lollypop factory,

Today I have been working on moving an existing eZ publish design & siteaccess from an older build into a stock eZ publish 3 build. I was doing this because of my very odd error, Roles & Permissions : Strange Admin Error : http://www.ez.no/community/forum/general/roles_permissions_strange_admin_error
and was the reason I asked for a list of eZ publish Kernel Error Codes: http://www.ez.no/community/forum/install_configuration/kernel_error_code_documentation#msg68613

I kept encountering an eZ publish : kernel (1) error (prompting me to login)! The error was all to oddly familiar. I just knew I had seen it before but couldn't remember and my own private faq list did not have it documented (tisk,tisk). It was driving me crazy!

I kept thinking that i should simply only need to drop in my design and siteaccess information (check to make sure it's still accurate) and it should work without the error. Well, I was mostly right ...

It turns out I had forgotten (ahhhh) that you must first configure via the Administrator > Roles & Access > Anonymous > to allow login from my new site design as well as the default corporate_user.

So I edited the Anonymous Role to include the site design in it's Policies and saved my changes.

* <b>Legend</b>: Module Function Limitations
* <b>Before</b>: user login SiteAccess( corporate_user )
* <b>After</b>: user login SiteAccess( corporate_user , bluewire )

This solved my error kernel (1), which makes a lot of sense, now that i think about, i guess this is just one of those things you really <b>have to</b> know about when trying to do something like this (hind sight is 20/20 and I've done this more than 3 times). I thought a nice big write up on my experience would save me this headache (and perhaps you too!) in the future.

cheers,
//kracker
I'm a living dead entropy engine ...

Sage Francis : Sun vs. Moon

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

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 01:11:27
Script start
Timing: Jan 19 2025 01:11:27
Module start 'layout'
Timing: Jan 19 2025 01:11:27
Module start 'content'
Timing: Jan 19 2025 01:11:28
Module end 'content'
Timing: Jan 19 2025 01:11:28
Script end

Main resources:

Total runtime0.9122 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0137 590.5391152.6563
Module start 'layout' 0.01380.0048 743.195339.5234
Module start 'content' 0.01860.8919 782.7188477.2969
Module end 'content' 0.91040.0017 1,260.01568.0938
Script end 0.9121  1,268.1094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4201160.0002
Check MTime0.00150.1635160.0001
Mysql Total
Database connection0.00250.278610.0025
Mysqli_queries0.853293.5323460.0185
Looping result0.00050.0586440.0000
Template Total0.852493.420.4262
Template load0.00210.231320.0011
Template processing0.850393.215320.4251
Template load and register function0.00010.010510.0001
states
state_id_array0.00230.246910.0023
state_identifier_array0.00130.139920.0006
Override
Cache load0.00170.1858190.0001
Sytem overhead
Fetch class attribute can translate value0.00090.094410.0009
Fetch class attribute name0.00070.078420.0004
XML
Image XML parsing0.00070.075010.0007
class_abstraction
Instantiating content class attribute0.00000.000420.0000
General
dbfile0.00190.2113180.0001
String conversion0.00000.001540.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs