Missing classes in my siteaccess

Author Message

Fabien Garnier

Friday 05 September 2008 8:07:35 am

Hello,

I have just installed eZPublish 4.0.1 on Ubuntu.
In the ezwebin_site_admin siteaccess, i have a lot of classes (type of item) available (29).

But i have a problem with my own siteaccess (and siteaccess_admin) i created.

I created my database with kernel_schema.sql and cleandata.sql scripts.
I gave all rights on it with the request "grant all on mydatabase.* to user@localhost identified by 'password';
I modified the settings/override/site.ini file to add my siteaccess' and specified the name of my database, the user and the password in the settings/siteaccess/mysiteaccess(_admin)/site.ini files.

Everything is OK, but in my siteaccess_admin interface, i don't have all classes available in ezweb_in_site_admin. I have only a few (6).

Is it normal ?
Is it possible to have all classes available in ezweb_in_site_admin in my own siteaccess_admin ?

Best regards

FG

André R.

Friday 05 September 2008 10:57:39 am

ezwebin content & settings is created as part of the webin installer when you choose the package during install, you can find the db scheme in ezwebin svn or you can simply make a copy of your current ezwebin db.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Gaetano Giunta

Sunday 07 September 2008 3:55:16 am

You can also use the "package" system to export the content class definition from one eZ Publish installation to another one. It is probably easier than messing with sql scripts, as it is all GUI-driven.

Please note that just moving all the classes to another install, hand-created, might give you some unexpected results, as you will have the classes but not the templates and override rules that are used to display them in the original site.

Principal Consultant International Business
Member of the Community Project Board

Fabien Garnier

Tuesday 09 September 2008 3:00:30 am

Hello,

i installed ezwebin classes package in my siteaccess_admin and now, i have all classes available. That's great !

But now, i have a problem with these classes.
For example, when i create an object Forum Topic or Forum Reply, i can see it in my public siteacess but i can't edit it cause i don't see the edit windows and i have this message in the Debug Output :

Error: eZTemplate @ extension/ezwebin/design/ezwebin/override/templates/edit/forum_reply.tpl:22[71]  	Sep 09 2008 10:46:39

No such attribute for array(0): subject
Choose one of following: 

I don't understand why i don't have the attribute "subject" in the template and i don't know if i have to modify it or something...

Does someone have a solution to my problem ?

Best regards.

FG

Andrew Duck

Wednesday 17 September 2008 11:02:28 am

Hi Fabien,

My initial suggestion to you is to start by reinitiating the installation and installing the ezwebin packages from the installer, to ensure the configuration is completed successfully.

I feel that the errors you are encountering are likely related to the installation process you have used to try and setup the site initially.

You could restart the installer by editing the settings/override/site.ini.append.php file and changing CheckValidity to true.

[SiteAccessSettings]
CheckValidity=true

This will restart the installer and allow you to complete the standard ezwebin installation, preferrably into a clean database.

If you alternatively want to try and debug your existing system (likely a longer process) please let me know what steps you have taken to try and get ezwebin working?

Regards,
Andrew.

Andrew Duck, Executive Director, Quiqcorp Limited
eZ Certified Developer and Trainer.
Member of the Community Project Board
http://quiqcorp.com | http://twitter.com/andrewduck

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 18 2025 15:00:29
Script start
Timing: Jan 18 2025 15:00:29
Module start 'layout'
Timing: Jan 18 2025 15:00:29
Module start 'content'
Timing: Jan 18 2025 15:00:30
Module end 'content'
Timing: Jan 18 2025 15:00:30
Script end

Main resources:

Total runtime0.9223 sec
Peak memory usage4,096.0000 KB
Database Queries67

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 589.1719152.6406
Module start 'layout' 0.00560.0027 741.812539.4766
Module start 'content' 0.00820.9128 781.2891665.8828
Module end 'content' 0.92100.0012 1,447.171916.1406
Script end 0.9222  1,463.3125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3785160.0002
Check MTime0.00140.1528160.0001
Mysql Total
Database connection0.00080.082710.0008
Mysqli_queries0.852192.3954670.0127
Looping result0.00070.0760650.0000
Template Total0.889696.520.4448
Template load0.00210.228120.0011
Template processing0.887596.223720.4437
Template load and register function0.00020.016510.0002
states
state_id_array0.00110.121410.0011
state_identifier_array0.00070.077620.0004
Override
Cache load0.00180.1987450.0000
Sytem overhead
Fetch class attribute can translate value0.00180.191740.0004
Fetch class attribute name0.00160.171390.0002
XML
Image XML parsing0.00500.541340.0012
class_abstraction
Instantiating content class attribute0.00000.0016100.0000
General
dbfile0.00430.4627370.0001
String conversion0.00000.001040.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/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
2content/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: 31
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs