How use different Databases for different sites with some EZ instalation ?

Author Message

Alexandre Cunha

Thursday 12 June 2003 7:33:50 pm

I setup EZ with diferent sites, like this:
- http://localhost/ezp3/index.php/site1/ for site 1
- http://localhost/ezp3/index.php/site2/ for site 2
etc...
I want setup diferent databases for each site.

I try setup a [DatabaseSettings] section on "settings\siteaccess\site1\site.ini.append" and "settings\siteaccess\site2\site.ini.append" overriding "settings\override\site.ini.append.php"
but EZ ignores the definitions.

Any help ?

axel

http://AlexandreCunha.com

Alexandre Cunha

Sunday 15 June 2003 6:47:57 am

Found same aswners where:

http://ez.no/content/view/full/24445//

Beatifull! One instalation, 3 sites, 3 databases !

http://AlexandreCunha.com

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 11:05:22
Script start
Timing: Jan 18 2025 11:05:22
Module start 'layout'
Timing: Jan 18 2025 11:05:22
Module start 'content'
Timing: Jan 18 2025 11:05:23
Module end 'content'
Timing: Jan 18 2025 11:05:23
Script end

Main resources:

Total runtime0.9348 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 588.4063152.6875
Module start 'layout' 0.00730.0050 741.093839.5234
Module start 'content' 0.01230.9211 780.6172452.6563
Module end 'content' 0.93350.0013 1,233.27348.2188
Script end 0.9348  1,241.4922 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3619160.0002
Check MTime0.00130.1404160.0001
Mysql Total
Database connection0.00090.098710.0009
Mysqli_queries0.889995.2009520.0171
Looping result0.00060.0624500.0000
Template Total0.889895.220.4449
Template load0.00190.201320.0009
Template processing0.887994.981420.4439
Template load and register function0.00020.022410.0002
states
state_id_array0.00120.132410.0012
state_identifier_array0.00110.115920.0005
Override
Cache load0.00150.1607160.0001
Sytem overhead
Fetch class attribute can translate value0.00050.053610.0005
Fetch class attribute name0.00210.229320.0011
XML
Image XML parsing0.00010.012010.0001
class_abstraction
Instantiating content class attribute0.00000.000920.0000
General
dbfile0.00060.0625100.0001
String conversion0.00000.001140.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs