What files are placed in the seperate site directories when running multiple sites with seperate databases from one eZ installation?

Author Message

Maggie Martin

Thursday 29 May 2003 3:24:14 pm

I realise that each site must have its individual database set-up but what else?

I truly appreciate any help on this question.

Jo Henrik Endrerud

Friday 30 May 2003 12:37:10 am

I would suggest to use separate var directories. To do this set the VarDir setting in [FileSettings] in the site.ini.append file for the current site access and point this variable to the new var directory for each site.
Everything else can be shared.

Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no

Maggie Martin

Saturday 31 May 2003 11:10:16 am

Thanks, Jan!

We had a power outtage for 14 hours so I couldn't say my thanks sooner ;-)

would this look like so?

in

settings/siteaccess/testsite/site.ini.append

[FileSettings]
VarDir=testsite/var
StorageDir=testsite/storage
CacheDir=testsite/cache

M.

Jo Henrik Endrerud

Monday 02 June 2003 12:34:03 am

Jan? No, this is Jo Henrik :)

The StorageDir and CacheDir variables should be relative to the var directory, so the only variable you should change is the VarDir. If this is set to testsite/var then StorageDir is automaticly set to testsite/var/storage.

I hope this works out for you

Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no

Hussain Vahanvaty

Monday 02 June 2003 10:00:34 am

Maggie did this work for you?

Maggie Martin

Tuesday 03 June 2003 5:02:10 pm

Sorry I mixed up your name, Jo!

And "separate" is the correct spelling.

Hi Hussain.

No I haven't got this to work yet.

Good thing I'm stubborn because this is not "ez" to install ;-)

I'm still trying to set up a separate site with its own admin and user and a separate database sharing one eZpublish installation

I 'm still testing to be sure I haven't missed something simple. I'll be back with more questions very soon!

I sure wish there was a step by step recipe I could follow for this ...

M.

Alexandre Cunha

Friday 13 June 2003 7:19:03 pm

So, how you setup a individual database for each site ?
Tha separation of files anda templates is easy, but cant understand how setup multiple databases with one EZ install.

See my other question post at http://ez.no/developer/ez_publish_3/forum/setup_design/how_use_different_databases_for_different_sites_with_some_ez_instalation_

axel

http://AlexandreCunha.com

Bruce Morrison

Saturday 14 June 2003 12:11:30 am

To setup an individual database for each site you need to put the database information in siteaccess/site_name/site.ini.append. There should be no database information in override/site.ini.append.php

Bruce
designIT

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

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 19:29:38
Script start
Timing: Jan 18 2025 19:29:38
Module start 'layout'
Timing: Jan 18 2025 19:29:38
Module start 'content'
Timing: Jan 18 2025 19:29:39
Module end 'content'
Timing: Jan 18 2025 19:29:39
Script end

Main resources:

Total runtime0.8162 sec
Peak memory usage4,096.0000 KB
Database Queries78

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0062 590.3281152.7500
Module start 'layout' 0.00620.0035 743.078139.6484
Module start 'content' 0.00970.8051 782.7266689.1406
Module end 'content' 0.81480.0013 1,471.867215.9531
Script end 0.8161  1,487.8203 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4050160.0002
Check MTime0.00140.1714160.0001
Mysql Total
Database connection0.00100.122010.0010
Mysqli_queries0.740390.7023780.0095
Looping result0.00070.0871760.0000
Template Total0.778395.420.3892
Template load0.00220.272520.0011
Template processing0.776195.088220.3880
Template load and register function0.00020.018610.0002
states
state_id_array0.00120.147110.0012
state_identifier_array0.00090.115520.0005
Override
Cache load0.00200.2396450.0000
Sytem overhead
Fetch class attribute can translate value0.00070.082250.0001
Fetch class attribute name0.00180.219790.0002
XML
Image XML parsing0.00130.160550.0003
class_abstraction
Instantiating content class attribute0.00000.002190.0000
General
dbfile0.00090.1162160.0001
String conversion0.00000.001240.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
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 25
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs