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