Upload file size limit

Author Message

Koutouan Emmanuel

Wednesday 05 November 2008 2:35:11 am

Hi,
I would like to know how to increase the size of upload file.
I already configured php.ini to 20Mo.
I also configure in the class the max size to 20 Mo.
But I still can't upload a file of 17Mo.
When i submit the edit form , the return page is the edit form again....
I looked in the doc pages for the setting file upload.ini but no doc ...
Is there any another config that I missed ?

Thanks.

Salvatore Guarino

Wednesday 05 November 2008 4:46:25 am

Maybe you have to increase also memory limit and timeout limit on php.ini...

Koutouan Emmanuel

Thursday 06 November 2008 2:18:01 am

I already made this modification but it is always similar.
There would not be a file of configuration to change upload max of ezpublish?

Ivo Lukac

Thursday 06 November 2008 3:23:51 am

Check LimitRequestBody in Apache.

Also if you are using mod_security check it's limitations (once I had smiliar problems and mod_security was the cause)

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Christian Rößler

Thursday 06 November 2008 2:02:32 pm

Koutouan,

try to increase post_max_size and upload_max_filesize values in php.ini.
I think i had those issues in the past and can remember darkly that this was the solution.
Nearby make sure your request will not time out (server and client side) or try to upload those huge files via ftp or webdav - or anything else you prefer.

See this site for a simple and stupid explanition and background-info: http://drupal.org/node/97193

chris.

Hannover, Germany
eZ-Certified http://auth.ez.no/certification/verify/395613

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 11:14:24
Script start
Timing: Jan 18 2025 11:14:24
Module start 'layout'
Timing: Jan 18 2025 11:14:24
Module start 'content'
Timing: Jan 18 2025 11:14:24
Module end 'content'
Timing: Jan 18 2025 11:14:24
Script end

Main resources:

Total runtime0.0159 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 589.0391152.6250
Module start 'layout' 0.00600.0032 741.664139.4297
Module start 'content' 0.00930.0047 781.093893.2891
Module end 'content' 0.01400.0019 874.382834.3047
Script end 0.0159  908.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002817.7629140.0002
Check MTime0.00117.0580140.0001
Mysql Total
Database connection0.00148.778610.0014
Mysqli_queries0.002918.115830.0010
Looping result0.00000.069110.0000
Template Total0.00169.910.0016
Template load0.00085.302910.0008
Template processing0.00074.616810.0007
Override
Cache load0.00063.734010.0006
General
dbfile0.00031.849780.0000
String conversion0.00000.043540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs