Forums / Install & configuration / How to create a root folder?

How to create a root folder?

Author Message

Cristian G. L.

Tuesday 08 June 2004 9:32:51 am

Hi everyone!

I want to manage multiple sites in one eZ publish installation, each site with different database.
I created the new database and initialized it executing the scripts in /kernel/sql/mysql. Then, i maked two new siteaccess, one for user site and another for de admin site.
Now i can access to admin site but... i don't have root folder! I tried to make a new folder but when i selected "folder" and click in the "New" button, the system does nothing and continues showing the "Object is unavailable" error.

How can i create the root folder?

(Sorry for my poor english)

Thanks in advance

Cristian

Lazaro Ferreira

Tuesday 08 June 2004 10:10:55 am

Hi,

Have you clear all of the EZP cache, after creating the new siteaccess ?

Case yes, turn on debug output at settings/siteaccess/youradminsite/site.ini.append... and clear the cache

Take a look at debug output, you should get useful information

Lazaro

Lazaro
http://www.mzbusiness.com

Cristian G. L.

Wednesday 09 June 2004 12:29:37 am

Hi
I turned on the debug, and i got a lot of error related to a permission problem. After i solved that error, i got the following errors:

Error: eZContentObject::fetch()  	Jun 09 2004 09:18:52
Object not found

Error: eZFunctionHandler::execute 	Jun 09 2004 09:18:52
Function 'object_by_attribute' in module 'content' did not return a result value

Error: eZTemplate @ design/base/templates/pagelayout.tpl:35[16] 	Jun 09 2004 09:18:52
Cannot retrieve attribute of a NULL

The problem continues being what don't exist a root folder. When i try to create a folder, i get this errors:

Error: eZContentObject::fetch()  	Jun 09 2004 09:29:31
Object not found

Error: eZTemplate @ design/admin/templates/pagelayout.tpl:82[98] 	Jun 09 2004 09:29:31
Cannot retrieve attribute of a NULL

What can i do?

Bye

Cristian

Cristian G. L.

Wednesday 09 June 2004 12:34:30 am

Hi

This information could be useful. In the admin interface, i get the same error when i try to create <b>any new object</b>.

Bye

Cristian

Lazaro Ferreira

Thursday 10 June 2004 2:57:55 am

Hi,

have you solved the permission problem at all ?

if you can afford it, install EZP 3.4.0 stable release using the setup wizard , it is better troubleshotting your installation

Also, have you checked your MySQL and PHP error logs ?, I'm assuming that you are using a LAMP setup

Lazaro

 

Lazaro
http://www.mzbusiness.com

Paul Forsyth

Thursday 10 June 2004 3:08:44 am

I notice in the 3.4 settings files you can change the root node assignment. Look in settings/content.ini for this:

[NodeSettings]
# The node ID of the normal content tree
RootNode=2
# The node ID of the user tree
UserRootNode=5
# The node ID for the media tree
MediaRootNode=43
# The node ID for the setup tree
SetupRootNode=48

I haven't tried this out but it sounds like it may work.

paul

--
http://www.visionwt.com

Cristian G. L.

Thursday 10 June 2004 7:06:28 am

Hi

The permission problem (solved) haven't relation with root folder problem.
I am using eZ publish 3.4.
The problem isn't specify which is the root node, rather it doesn't exist and i don't know how create it. Now, i can't make any object.

Thanks to all. Bye.

Cristian

Cristian G. L.

Monday 14 June 2004 2:47:27 am

Hi

The problem was the default content locale. In the database, the locale of all object was "eng-GB" (because "cleandata.sql" set it in this way), but in my site.ini.append i have "esl-ES".
I changed changed all locales in the database executing the following SQL sentences:

UPDATE ezcontentobject_name
SET
 content_translation='esl-ES',
 real_translation='esl-ES'
WHERE
 content_translation='eng-GB' OR
 real_translation='eng-GB';
UPDATE ezcontentobject_attribute
SET
 language_code='esl-ES'
WHERE
 language_code='eng-GB';

Thanks

Cristian

eZ debug

Timing: Jan 18 2025 16:18:32
Script start
Timing: Jan 18 2025 16:18:32
Module start 'content'
Timing: Jan 18 2025 16:18:33
Module end 'content'
Timing: Jan 18 2025 16:18:34
Script end

Main resources:

Total runtime1.1562 sec
Peak memory usage4,096.0000 KB
Database Queries211

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0072 588.9453180.8281
Module start 'content' 0.00721.0080 769.7734601.6094
Module end 'content' 1.01520.1410 1,371.3828341.7969
Script end 1.1561  1,713.1797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.3438210.0002
Check MTime0.00140.1248210.0001
Mysql Total
Database connection0.00080.071010.0008
Mysqli_queries1.077593.18632110.0051
Looping result0.00200.17062090.0000
Template Total1.126197.420.5630
Template load0.00210.180920.0010
Template processing1.124097.207720.5620
Template load and register function0.00010.011310.0001
states
state_id_array0.00120.103310.0012
state_identifier_array0.00100.089320.0005
Override
Cache load0.00190.1675600.0000
Sytem overhead
Fetch class attribute can translate value0.00090.077640.0002
Fetch class attribute name0.00120.105580.0002
XML
Image XML parsing0.00060.050840.0001
class_abstraction
Instantiating content class attribute0.00000.002080.0000
General
dbfile0.00310.2680210.0001
String conversion0.00000.000830.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
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
16content/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
4content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 35
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs