Running from a non-root web directory.

Author Message

Tony Paterson

Wednesday 02 July 2003 11:35:48 pm

Hi,

I have installed a demo version of eZ publish 3, on Apache, on Redhat, using PHP modules. This seems to be working, at least as far as I have got.

However it seems that it must run from the wwwroot directory.

This is not an option for me as I can't run virtual hosts and have several other applications running on the same web server.

Can anyone qualify for me if I can run eZ publish COMPLETELY under a sub directory ?

I know this subject has been raised before, but the circumstances have been a little different, and answers/posts inconclusive.

Of course if you could tell me how to do this it would be most appreciated.

Many thanks in advance.

Jo Henrik Endrerud

Friday 04 July 2003 12:35:59 am

Hi

There are no problems running eZ publish in a sub-directory on the server. For information about this, read the installation document regarding non-virtual host setups

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

ossi petz

Saturday 12 July 2003 12:27:27 pm

well i have the same problem and that answer does not satisfy me.

the installation worked somehow good. but the '/doc/install' file is more confusing than helpfull. the html documentation gives a better overview as it is splitten into different documents.

i did not find the 'non virtual host' setup section. some hints are hidden in the site access section but no more than 2 sentences?

so in short of my problem which is the annoying one:
after installing in a subdirectory (using sambar 5, mysql 3, php 4.3) the demo site appears!
but clicking on any link on: http://localhost/cms/ezpublish-3.1-1/index.php (which shows the demosite)

brings me to:
--
Warning: Unknown(c:\wwwroot\demo\content\view\full\33): failed to open stream: No such file or directory in Unknown on line 0

Warning: (null)(): Failed opening 'c:\wwwroot\demo\content\view\full\33' for inclusion (include_path='.;c:\serverd\php-4\includes') in Unknown on line 0
--

which is thw wrong folder. it should point to: c:\wwwroot\cms\ezpublish-3.1-1\ ??somewhere??

so i got stuck on these warnings.

where is the admin-panel?
http://localhost/cms/ezpublish-3.1-1/index.php/admin ??
this does the 'same' warnings.

how do i get the demo-site working in that subfolder?

thanks :)
op

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:31:08
Script start
Timing: Jan 18 2025 19:31:08
Module start 'layout'
Timing: Jan 18 2025 19:31:08
Module start 'content'
Timing: Jan 18 2025 19:31:09
Module end 'content'
Timing: Jan 18 2025 19:31:09
Script end

Main resources:

Total runtime0.6898 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 589.1563152.6406
Module start 'layout' 0.00480.0029 741.796939.4922
Module start 'content' 0.00770.6804 781.2891536.5938
Module end 'content' 0.68810.0016 1,317.882812.1406
Script end 0.6897  1,330.0234 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4506160.0002
Check MTime0.00120.1780160.0001
Mysql Total
Database connection0.00080.115310.0008
Mysqli_queries0.638492.5541590.0108
Looping result0.00060.0863570.0000
Template Total0.662496.020.3312
Template load0.00200.291920.0010
Template processing0.660495.740420.3302
Template load and register function0.00020.032610.0002
states
state_id_array0.00080.110610.0008
state_identifier_array0.00080.114420.0004
Override
Cache load0.00170.2438340.0000
Sytem overhead
Fetch class attribute can translate value0.00060.088330.0002
Fetch class attribute name0.00160.226730.0005
XML
Image XML parsing0.00040.051630.0001
class_abstraction
Instantiating content class attribute0.00000.002230.0000
General
dbfile0.00060.0928100.0001
String conversion0.00000.000840.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
8content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 18
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs