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.