VarDir on "drive network" ?

Author Message

MIMRAN David

Monday 23 April 2007 8:02:05 am

We are several developer working for an ezpublish project and we want to centralize the folder Var.
For that, I have change the VarDir variable for a "network volume":
VarDir=x:/test/var
but there is a problem to upload an image. I.E there is a new image in:
X:/test/var/test/storage/images/objectTest/3492-5-fre-FR/objectTest.png
but when you edit the object, the image previsualisation is not good because of an error with the function ezimagemanager::createImageAlias to generate objectTest_reference.png and objectTest_medium.png.
After having specify $sourceMimeData in the function createImageAlias:
$sourceMimeData['name']='image/png';
$destinationMimeData['name']='image/png';
the images objectTest_reference.png and objectTest_medium.png was generate but the previsualisation of the image in the edit view does not ok.

Therefore, after all these bugs I always seek a solution to centralize the folder Var for few developer. Is this possible with a "network volume"?

HFP

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 03:21:20
Script start
Timing: Jan 19 2025 03:21:20
Module start 'layout'
Timing: Jan 19 2025 03:21:20
Module start 'content'
Timing: Jan 19 2025 03:21:21
Module end 'content'
Timing: Jan 19 2025 03:21:21
Script end

Main resources:

Total runtime0.7899 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 589.1719152.6250
Module start 'layout' 0.00480.0026 741.796939.4453
Module start 'content' 0.00740.7812 781.2422429.1250
Module end 'content' 0.78860.0013 1,210.36728.1641
Script end 0.7898  1,218.5313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3923160.0002
Check MTime0.00140.1742160.0001
Mysql Total
Database connection0.00060.076710.0006
Mysqli_queries0.752195.2211460.0164
Looping result0.00040.0488440.0000
Template Total0.759496.120.3797
Template load0.00190.240320.0009
Template processing0.757595.906120.3788
Template load and register function0.00010.018510.0001
states
state_id_array0.00130.161410.0013
state_identifier_array0.00080.099220.0004
Override
Cache load0.00160.1963140.0001
Sytem overhead
Fetch class attribute can translate value0.00050.068610.0005
Fetch class attribute name0.00050.058310.0005
XML
Image XML parsing0.00010.013210.0001
class_abstraction
Instantiating content class attribute0.00000.000510.0000
General
dbfile0.00290.3635100.0003
String conversion0.00000.001040.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
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/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: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs