Test site and production site using the same data..

Author Message

Uchendu Nwachukwu

Friday 15 April 2005 6:31:06 pm

Is it possible to have a test install of eZ P on the same server as a production install, and have them share the same database but maintain different template code? If it is possible, can anyone advise me how it's done?

Patrice DUCLAUD

Saturday 16 April 2005 12:23:15 am

hi,

You have to define 2 siteaccess and each siteaccess use the same database. Make a copy of your site (design/site1; settings/siteacces/site1 ..) to have design/site2; settings/siteacces/site2... and Templates, design, settings will be different for each siteaccess.
hope this help. !!!

Uchendu Nwachukwu

Saturday 16 April 2005 9:20:22 am

Thanks, that helps a lot. :)

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 19 2025 01:00:43
Script start
Timing: Jan 19 2025 01:00:43
Module start 'layout'
Timing: Jan 19 2025 01:00:43
Module start 'content'
Timing: Jan 19 2025 01:00:43
Module end 'content'
Timing: Jan 19 2025 01:00:43
Script end

Main resources:

Total runtime0.6627 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 590.9453152.6563
Module start 'layout' 0.00630.0037 743.601639.5078
Module start 'content' 0.01000.6511 783.1094465.6563
Module end 'content' 0.66110.0016 1,248.76568.1094
Script end 0.6626  1,256.8750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00370.5520160.0002
Check MTime0.00140.2050160.0001
Mysql Total
Database connection0.00110.159810.0011
Mysqli_queries0.618893.3830570.0109
Looping result0.00050.0805550.0000
Template Total0.628094.820.3140
Template load0.00220.326720.0011
Template processing0.625894.439320.3129
Template load and register function0.00030.038310.0003
states
state_id_array0.00110.168410.0011
state_identifier_array0.00110.172320.0006
Override
Cache load0.00170.2627100.0002
Sytem overhead
Fetch class attribute can translate value0.00060.094020.0003
Fetch class attribute name0.00110.166630.0004
XML
Image XML parsing0.00020.030220.0001
class_abstraction
Instantiating content class attribute0.00000.001530.0000
General
dbfile0.00110.1689100.0001
String conversion0.00000.000940.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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs