Forums / Install & configuration / Missing classes in my siteaccess

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

eZ debug

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

Main resources:

Total runtime0.2300 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.0066 588.0547370.2813
Module start 'content' 0.00660.0149 958.33591,009.7031
Module end 'content' 0.02150.2085 1,968.03913,898.9922
Script end 0.2300  5,867.0313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00462.0175200.0002
Check MTime0.00130.5779200.0001
Mysql Total
Database connection0.00070.293910.0007
Mysqli_queries0.129356.22181410.0009
Looping result0.00140.59961390.0000
Template Total0.208090.410.2080
Template load0.00110.477810.0011
Template processing0.206989.936510.2069
Override
Cache load0.00060.253010.0006
Sytem overhead
Fetch class attribute can translate value0.00210.905610.0021
XML
Image XML parsing0.00040.155710.0004
General
dbfile0.01074.6524200.0005
String conversion0.00000.002630.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