Several ez sites-one database for all

Author Message

Jorge estévez

Friday 13 January 2006 1:30:08 pm

I would like to have several sites www.a.com www.b.com www.c.com sharing the same database.

So, every ez site should have in their site.ini a reference to the database common o everyone as:

[DatabaseSettings]
Database=corporate

As every site will have its own domain located in the same hosting server I suppose I should make a reference in every site.ini to the URL+database_name where the database is located.

Can someone please comment on how to do this. Is it possible?

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

Jorge estévez

Sunday 15 January 2006 8:08:11 am

Can someone help with this issue please...

thanks

Diseño Web Cuba
Web Design Cuba
www.elfosdesign.com

Daniel Beyer

Sunday 15 January 2006 12:22:16 pm

Hi Jorge,

you might find this post useful:
http://ez.no/community/forum/general/important_multiple_sites_with_multiple_urls_with_the_same_installation/(offset)/0#msg52186

Greetings, Daniel.

Daniel Beyer
_________________________________
YMC AG
Kreuzlingen, Switzerland
web: www.ymc.ch
____________________________________

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 04:53:51
Script start
Timing: Jan 18 2025 04:53:51
Module start 'layout'
Timing: Jan 18 2025 04:53:51
Module start 'content'
Timing: Jan 18 2025 04:53:53
Module end 'content'
Timing: Jan 18 2025 04:53:53
Script end

Main resources:

Total runtime1.5602 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 589.4609152.6406
Module start 'layout' 0.00630.0037 742.101639.4766
Module start 'content' 0.01001.5488 781.5781533.5078
Module end 'content' 1.55880.0015 1,315.08598.1406
Script end 1.5602  1,323.2266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2171160.0002
Check MTime0.00150.0947160.0001
Mysql Total
Database connection0.00080.053310.0008
Mysqli_queries1.483895.1000570.0260
Looping result0.00080.0482550.0000
Template Total1.513597.020.7567
Template load0.00230.145820.0011
Template processing1.511296.856320.7556
Template load and register function0.00020.012910.0002
states
state_id_array0.00250.158610.0025
state_identifier_array0.00220.141920.0011
Override
Cache load0.00180.1161180.0001
Sytem overhead
Fetch class attribute can translate value0.00120.079720.0006
Fetch class attribute name0.00120.075440.0003
XML
Image XML parsing0.02101.345220.0105
class_abstraction
Instantiating content class attribute0.00000.000640.0000
General
dbfile0.02401.5371160.0015
String conversion0.00000.000640.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs