Forums / Install & configuration / cannot upload more thatn 2 MB

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

eZ debug

Timing: Jan 19 2025 01:18:34
Script start
Timing: Jan 19 2025 01:18:34
Module start 'content'
Timing: Jan 19 2025 01:18:34
Module end 'content'
Timing: Jan 19 2025 01:18:34
Script end

Main resources:

Total runtime0.1835 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0067 590.6875180.8281
Module start 'content' 0.00670.0044 771.515698.0391
Module end 'content' 0.01100.1724 869.5547525.9297
Script end 0.1834  1,395.4844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00351.9174200.0002
Check MTime0.00130.7358200.0001
Mysql Total
Database connection0.00060.323710.0006
Mysqli_queries0.138175.25171410.0010
Looping result0.00170.92801390.0000
Template Total0.172093.810.1720
Template load0.00090.463410.0009
Template processing0.171293.306110.1712
Override
Cache load0.00060.319910.0006
Sytem overhead
Fetch class attribute can translate value0.00100.525410.0010
XML
Image XML parsing0.00030.138910.0003
General
dbfile0.00150.8197200.0001
String conversion0.00000.016830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

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

Time used to render debug report: 0.0002 secs