File Uploads Going To Wrong Storage Folder

Author Message

Ashley Knowles

Monday 12 June 2006 10:22:47 pm

When I upload files into my site, instead of being stored in ezpublish/var/agx/, all files are being uploaded into ezpublish/var/corporate. Where abouts can I change this? The website has been migrated from an old server to a new one, and I have ironed out most of the issues, but this one has stumped me, as the website pulls files from ezpublish/var/agx, and shows file sizes and what not, but for any new files, it just shows the file in the list, with no file size, as it is trying to find the file in ezpublish/var/agx but of course it is in ezpublish/var/corporate...

Helppppp!!! :-)

Kristof Coomans

Monday 12 June 2006 11:48:05 pm

Hi Ashley

You should inspect the VarDir setting under FileSettings in site.ini ( http://ez.no/doc/ez_publish/technical_manual/3_8/reference/configuration_files/site_ini/filesettings/vardir ).

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Ashley Knowles

Monday 12 June 2006 11:55:42 pm

No luck, all of the files (agx, agx_admin) both point to ezpublish/var/agx

agx_admin is my admin interface. Perhaps I should clarify that I am uploading files from the admin interface.

Kristof Coomans

Tuesday 13 June 2006 12:17:26 am

And you don't have the setting overriden by settings/override/site.ini.append(.php) ?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Ashley Knowles

Tuesday 13 June 2006 8:08:48 pm

Found the problem (whoops)...

Didn't see the line in setting/siteaccess/agx_admin/site.ini.append.php with the directory it it... Selective blindness I think...

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:17:28
Script start
Timing: Jan 18 2025 19:17:28
Module start 'layout'
Timing: Jan 18 2025 19:17:28
Module start 'content'
Timing: Jan 18 2025 19:17:29
Module end 'content'
Timing: Jan 18 2025 19:17:29
Script end

Main resources:

Total runtime1.0050 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0075 588.1641152.6563
Module start 'layout' 0.00750.0041 740.820339.4922
Module start 'content' 0.01160.9919 780.3125552.0625
Module end 'content' 1.00350.0015 1,332.375012.1250
Script end 1.0050  1,344.5000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3398160.0002
Check MTime0.00160.1546160.0001
Mysql Total
Database connection0.00150.146010.0015
Mysqli_queries0.954394.9487630.0151
Looping result0.00060.0575610.0000
Template Total0.973496.820.4867
Template load0.00180.180720.0009
Template processing0.971596.667820.4858
Template load and register function0.00020.022810.0002
states
state_id_array0.00080.083110.0008
state_identifier_array0.00120.117820.0006
Override
Cache load0.00140.1409180.0001
Sytem overhead
Fetch class attribute can translate value0.00050.051820.0003
Fetch class attribute name0.00290.292660.0005
XML
Image XML parsing0.00060.058520.0003
class_abstraction
Instantiating content class attribute0.00000.002870.0000
General
dbfile0.00080.0798160.0001
String conversion0.00000.002240.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
5content/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/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: 14
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs