Forums / Setup & design / Strange problem with "upload_max_filesize"

Strange problem with "upload_max_filesize"

Author Message

Felix Laate

Friday 17 September 2004 4:36:46 am

Hi all!

On one of my ez-installations (3.3-5) I get this message when one tries to upload an image or a file to the server:

Image: Size of uploaded file exceeds limit set by upload_max_filesize directive in php.ini.

Now, this could be a piece of cake to fix.. only problem is that this variable is allready set to 200 megs (which is allready too much) and the files in question are 0-2 MB of size.

For fun, I tried to set the variable to a much higher value, but to no avail.

Its obliously also of interest, that the other installaions running on this server (ranging from 3.0-2 to 3.4.1) all work well (at least concerning this).

Any help would be helpfull..!

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Bård Farstad

Monday 20 September 2004 12:15:02 am

Felix,

there is also a setting for the max file size in eZ publish. This is set on class level, so if you go to your class setup and edit the class image you will find a setting for the maximum upload size there.

--bård

Documentation: http://ez.no/doc

Felix Laate

Monday 20 September 2004 3:33:12 am

Hi Bård,

thank you for your answer! I tried this and I still get the same message when trying to upload an image. When uploading a <b>file</b> I get this message after klicking the publish-button:

File: Oppgi en gyldig fil.

When I klick the publish-button again, it gets published.

Maybe its notworthy that this sytem was upgraded from 3.2-5 to 3.3-5. It worked very well in the previous version..

Best regards,
Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

Bård Farstad

Monday 20 September 2004 3:51:57 am

If it works with smaller files check the following: upload_max_filesize, post_max_size in php.ini and the setting of the attribute in your class. If no files work check that file_uploads are set in php.ini.

--bård

Documentation: http://ez.no/doc

Felix Laate

Monday 20 September 2004 5:10:21 am

Thank you again for your swift answer..

Unfortunatly it still doesn't work. I've these settings:

PHP.INI
------------------
upload_max_filesize = 100M
post_max_size = 200M
file_uploads = On

Image and File Class
------------------
max size = 20M

There are some 20 sites running on the same server as this one, and none of them experience such problems... so I'm dazzled and puzzled and so on..

Felix

Publlic Relations Manager
Greater Stavanger
www.greaterstavanger.com

eZ debug

Timing: Jan 18 2025 19:24:27
Script start
Timing: Jan 18 2025 19:24:27
Module start 'content'
Timing: Jan 18 2025 19:24:28
Module end 'content'
Timing: Jan 18 2025 19:24:28
Script end

Main resources:

Total runtime1.2593 sec
Peak memory usage4,096.0000 KB
Database Queries200

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0104 589.2734180.8125
Module start 'content' 0.01041.0079 770.0859571.4141
Module end 'content' 1.01830.2408 1,341.5000337.3672
Script end 1.2592  1,678.8672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.3327210.0002
Check MTime0.00160.1282210.0001
Mysql Total
Database connection0.00130.104010.0013
Mysqli_queries1.166892.65352000.0058
Looping result0.00280.22611980.0000
Template Total1.220996.920.6104
Template load0.00230.183520.0012
Template processing1.218596.764520.6093
Template load and register function0.00030.024410.0003
states
state_id_array0.00120.096610.0012
state_identifier_array0.00150.116720.0007
Override
Cache load0.00200.1618440.0000
Sytem overhead
Fetch class attribute can translate value0.00370.294130.0012
Fetch class attribute name0.00110.086370.0002
XML
Image XML parsing0.00140.108830.0005
class_abstraction
Instantiating content class attribute0.00000.0012100.0000
General
dbfile0.00270.2177340.0001
String conversion0.00000.000530.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 23
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs