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

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/

eZ debug

Timing: Jan 18 2025 22:14:31
Script start
Timing: Jan 18 2025 22:14:31
Module start 'content'
Timing: Jan 18 2025 22:14:31
Module end 'content'
Timing: Jan 18 2025 22:14:31
Script end

Main resources:

Total runtime0.6149 sec
Peak memory usage4,096.0000 KB
Database Queries183

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 587.9766180.8047
Module start 'content' 0.00630.4823 768.7813482.4063
Module end 'content' 0.48860.1262 1,251.1875333.0625
Script end 0.6148  1,584.2500 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.6615210.0002
Check MTime0.00160.2558210.0001
Mysql Total
Database connection0.00070.112910.0007
Mysqli_queries0.550489.50441830.0030
Looping result0.00200.33111810.0000
Template Total0.589595.920.2948
Template load0.00210.337320.0010
Template processing0.587495.534720.2937
Template load and register function0.00010.013810.0001
states
state_id_array0.00070.117310.0007
state_identifier_array0.00070.115520.0004
Override
Cache load0.00160.2650190.0001
Sytem overhead
Fetch class attribute can translate value0.00170.280120.0009
Fetch class attribute name0.00070.114320.0004
XML
Image XML parsing0.00080.128020.0004
class_abstraction
Instantiating content class attribute0.00000.000920.0000
General
dbfile0.00360.5849290.0001
String conversion0.00000.001230.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
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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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