File upload

Author Message

Jon Arne Carsten

Friday 29 April 2005 2:47:51 am

I have a problem when I want innlogged users to upload files. I have made a folder named files and I want the content of this folder to be shown in a folder named published files.

Everything works except the placement. When I upload a file, it is being placed inn the files folder instead of the sub folder published files?

Maybe I am doing this completely wrong, but can anyone lead me in the right direction?

Thanx in advance

Jon Arne

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

Main resources:

Total runtime0.9798 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.0043 589.0313152.6094
Module start 'layout' 0.00430.0025 741.640639.4063
Module start 'content' 0.00690.9715 781.0469430.4219
Module end 'content' 0.97830.0015 1,211.46888.2031
Script end 0.9798  1,219.6719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.3198160.0002
Check MTime0.00130.1304160.0001
Mysql Total
Database connection0.00070.076410.0007
Mysqli_queries0.943396.2736460.0205
Looping result0.00040.0366440.0000
Template Total0.950097.020.4750
Template load0.00200.202620.0010
Template processing0.948096.755420.4740
Template load and register function0.00020.021910.0002
states
state_id_array0.00090.087010.0009
state_identifier_array0.00170.172220.0008
Override
Cache load0.00160.161390.0002
Sytem overhead
Fetch class attribute can translate value0.00080.083710.0008
Fetch class attribute name0.00050.048120.0002
XML
Image XML parsing0.00270.273710.0027
class_abstraction
Instantiating content class attribute0.00000.000320.0000
General
dbfile0.00370.3739160.0002
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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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/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.0002 secs