File uploading

Author Message

Roy Jonse

Sunday 23 July 2006 6:02:04 am

Hi,
I've installed ez 3.8 with the windows installer.
Everything works fine except for the file uploading - can't upload file a with size over 8 M.
Changed the value in the php.ini to 50 M.And also the Max Size attribute of the class-file to 50 M too and still cannot upload a file of more then 8 M.

Thanks for any help
Roy

Patrick Kaiser

Monday 24 July 2006 3:26:51 am

there are several configuration directives that affect file uploading in php.ini.

The following two settings directly affect the max allowed filesize. if you want to allow file uploads up to 50 MB set it to 51M since there seems to be some overhead (from other form-fields for example)
post_max_size 51M
upload_max_filesize 51M

if theese to settings are set to low the script may terminate before the file upload is finished:
max_execution_time 120
max_input_time 240

if you compiled php with --enable-memory-limit than you have to ensure that memory_limit is not set too low as well (although you dont have to set it to the same size as post_max_size).

hope that helps..

patrick


Best regards,

Patrick

Roy Jonse

Tuesday 01 August 2006 1:23:56 am

Thanks,

The issue was solved after I changed the post_max_size in the php.ini

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 16:03:43
Script start
Timing: Jan 18 2025 16:03:43
Module start 'layout'
Timing: Jan 18 2025 16:03:43
Module start 'content'
Timing: Jan 18 2025 16:03:44
Module end 'content'
Timing: Jan 18 2025 16:03:44
Script end

Main resources:

Total runtime0.7561 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.0052 589.2188152.6094
Module start 'layout' 0.00520.0032 741.828139.4297
Module start 'content' 0.00840.7461 781.2578534.2500
Module end 'content' 0.75450.0016 1,315.50788.1953
Script end 0.7561  1,323.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4219160.0002
Check MTime0.00130.1683160.0001
Mysql Total
Database connection0.00100.134410.0010
Mysqli_queries0.713494.3484570.0125
Looping result0.00050.0661550.0000
Template Total0.721995.520.3609
Template load0.00230.309620.0012
Template processing0.719595.155720.3598
Template load and register function0.00010.013110.0001
states
state_id_array0.00100.133210.0010
state_identifier_array0.00220.291620.0011
Override
Cache load0.00160.2102240.0001
Sytem overhead
Fetch class attribute can translate value0.00050.060820.0002
Fetch class attribute name0.00070.097140.0002
XML
Image XML parsing0.00050.070320.0003
class_abstraction
Instantiating content class attribute0.00000.000840.0000
General
dbfile0.00070.0951160.0000
String conversion0.00000.001340.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/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/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: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs