cannot upload more thatn 2 MB

Author Message

Augusto César Díaz

Tuesday 14 June 2005 3:33:27 pm

I cannot upload more than 2 MB, i already changed the max_upload_size and post_something in php.ini, but it still says cannot upload due to php.ini max_upload directive.

im using windows2003 server, php4, mysql 4.1.10

ideas anybody ?

Augusto Cesar Diaz

kracker (the)

Tuesday 14 June 2005 4:23:23 pm

Hi

While you say your using <i>"windows2003 server, php4, mysql 4.1.10"</i>, you don't mention if your using the IIS web server or the Apache web server.

I think your using the Apache web server (most do :)

I have spoken in great detail on overcoming this problem (regardless of what operating system your using, GNU/Linux or Windows)

<i>http://www.ez.no/community/forum/setup_design/experiencing_problem_with_file_upload
http://www.ez.no/community/forum/setup_design/upload_pdf_does_not_work</i>

cheers,
//kracker

<i>Film : The Life Aquatic With Steve Zissou</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Augusto César Díaz

Tuesday 14 June 2005 4:41:02 pm

yea, thanks man.

Im using apache, I tried everything but the last optional thing you put, i dont know where to, hehe

Augusto Cesar Diaz

François Xavier Lacroix

Wednesday 15 June 2005 2:21:17 am

maybe in the configuration file php.ini,
you may change the upload_max_filesize from 2mo to 16 or more...

;;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.
file_uploads = On

; Maximum allowed size for uploaded files.
upload_max_filesize = 2M

regards.

Thomas Nunninger

Wednesday 15 June 2005 2:47:17 am

What do you mean with "optional thing"?

Perhaps you need to restart your webserver?

Do you have access to the apache configs or are you working with htaccess files?

Have a nice day

Thomas

Augusto César Díaz

Wednesday 15 June 2005 7:16:23 am

Responding to François Xavier Lacroix, I already tried that, it has now 30M...

and

Responding to Thomas Nunninger, the optional thing I meant is in the article that kraker explained in detail, is the last one not really necesary because all upload forms have a default limit of 30M, so you shouldnt need to change unless you upload really big files

oh, im using ez 3.5.1

the exact message is:

The draft could not be stored.
Required data is either missing or is invalid:

File: The size of the uploaded file exceeds the limit set by the upload_max_filesize directive in php.ini.

and I have access to everything, is a dedicated server just for me :)

thanx

Augusto Cesar Diaz

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:33:45
Script start
Timing: Jan 19 2025 04:33:45
Module start 'layout'
Timing: Jan 19 2025 04:33:45
Module start 'content'
Timing: Jan 19 2025 04:33:46
Module end 'content'
Timing: Jan 19 2025 04:33:46
Script end

Main resources:

Total runtime0.9852 sec
Peak memory usage4,096.0000 KB
Database Queries70

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 589.2734152.6406
Module start 'layout' 0.00510.0030 741.914139.4766
Module start 'content' 0.00820.9757 781.3906655.4688
Module end 'content' 0.98390.0013 1,436.859416.1484
Script end 0.9852  1,453.0078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3408160.0002
Check MTime0.00150.1533160.0001
Mysql Total
Database connection0.00080.084110.0008
Mysqli_queries0.910092.3649700.0130
Looping result0.00080.0812680.0000
Template Total0.951596.620.4757
Template load0.00210.209320.0010
Template processing0.949496.362620.4747
Template load and register function0.00020.024010.0002
states
state_id_array0.00150.150010.0015
state_identifier_array0.00130.128220.0006
Override
Cache load0.00190.1921440.0000
Sytem overhead
Fetch class attribute can translate value0.00080.080340.0002
Fetch class attribute name0.00130.136090.0001
XML
Image XML parsing0.00300.304840.0008
class_abstraction
Instantiating content class attribute0.00000.001790.0000
General
dbfile0.00220.2215300.0001
String conversion0.00000.000840.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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 26
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs