Forums / Install & configuration / File upload... again

File upload... again

Author Message

Vincent Saulnier

Monday 20 January 2003 6:00:54 am

When I want to upload a file via the File (under 5 MB) class sometimes the file is not uploaded and it leaves the field blank.

Is there a bug with file transfer?

Is there a configuration I should use in apache, php has already been configured!

Thank you.

Tony Wood

Monday 20 January 2003 9:01:10 am

I had this...

I can be that you var/cache/storage directory is not present or the web server does not have access privilages to it.

> When I want to upload a file via the File (under 5 MB) class
> sometimes the file is not uploaded and it leaves the field
> blank.
>
> Is there a bug with file transfer?

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Vincent Saulnier

Tuesday 21 January 2003 6:22:29 am

I should tell you that the size of the files I want to transfer are 400 Mo and above!

Vincent Saulnier

Tuesday 21 January 2003 6:38:37 am

> Most php installs have a limit of 8Mb, take a look at the
> post_max_size in phpinfo();
>
> Most providers do this for a reason! Use FTP for files >> 8
> Mb, such as 400 Mb. The http-protocol is not designed for
> such files!

Thank you hans but I forget to write that I've already changed :
post_max_filesize= 1Go
memory_limit=1Go
max_input_time=0 (unlimitited time)
max_execution_time=0 (unlimited time)
upload_max_filesize=1Go

Do you know a way to use a browser to use FTP protocole that works with PC and MAC

Tony Wood

Tuesday 21 January 2003 6:53:36 am

Hi,

Assumption: You cannot upload any files using eZPublish 3 admin interface.

I had something similar to this. For me the problem was that apache did not have sufficient rights to var/cache/storage location.

The solution is to give apache rights to var/cache/storage i.e. chown noone.noone var/cache/storage or something similar.

I hope this helps a little.

Tony

> When I want to upload a file via the File (under 5 MB) class
> sometimes the file is not uploaded and it leaves the field
> blank.
>
> Is there a bug with file transfer?
>
> Is there a configuration I should use in apache, php has
> already been configured!
>
> Thank you.

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Vincent Saulnier

Tuesday 21 January 2003 7:09:21 am

> Hi,
>
> Assumption: You cannot upload any files using eZPublish 3
> admin interface.
>
> I had something similar to this. For me the problem was that
> apache did not have sufficient rights to var/cache/storage
> location.
>
> The solution is to give apache rights to var/cache/storage
> i.e. chown noone.noone var/cache/storage or something
> similar.
>
> I hope this helps a little.
>
> Tony
>

Thank you Tony but I've already succeed with uploading files under 2 Mo.

Vincent Saulnier

Wednesday 05 February 2003 6:07:53 am

> > Most php installs have a limit of 8Mb, take a look at
> the
> > post_max_size in phpinfo();
> >
> > Most providers do this for a reason! Use FTP for files >>
> 8
> > Mb, such as 400 Mb. The http-protocol is not designed
> for
> > such files!
>
> Thank you hans but I forget to write that I've already
> changed :
> post_max_filesize= 1Go
> memory_limit=1Go
> max_input_time=0 (unlimitited time)
> max_execution_time=0 (unlimited time)
> upload_max_filesize=1Go
>
> Do you know a way to use a browser to use FTP protocole that
> works with PC and MAC

I'm still having the same problem,
Does someone got a solution?

It's a life or death situation!
thanks.

Vidar Langseid

Wednesday 29 October 2003 2:45:37 am

FYI

Apache also have a limit for the size of a request body.
The directive in question is named : LimitRequestBody

Claus Jensen

Wednesday 29 October 2003 3:46:53 am

The directive setting did not have any positive effect on this problem for my site. I still get:
Request Entity Too Large
The requested resource
/admin/content/edit/3863/1/
does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit.
Apache/2.0.40 Server at xxx.xx.x.xx Port 9000

when trying to upload a file that is bigger than ca. 500 KB.
I also checked that apache has full control over all the directories in ezpublish/var.

If anybody has other suggestions PLEASE give me a tip...please... im dying here...

regards,
claÜs

eZ debug

Timing: Jan 18 2025 03:02:19
Script start
Timing: Jan 18 2025 03:02:19
Module start 'content'
Timing: Jan 18 2025 03:02:20
Module end 'content'
Timing: Jan 18 2025 03:02:20
Script end

Main resources:

Total runtime0.7174 sec
Peak memory usage4,096.0000 KB
Database Queries216

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 587.7109180.8359
Module start 'content' 0.00540.6174 768.5469690.6328
Module end 'content' 0.62280.0945 1,459.1797340.4688
Script end 0.7173  1,799.6484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.5388210.0002
Check MTime0.00140.1931210.0001
Mysql Total
Database connection0.00070.094110.0007
Mysqli_queries0.632388.13382160.0029
Looping result0.00170.23372140.0000
Template Total0.694696.820.3473
Template load0.00200.284220.0010
Template processing0.692596.529020.3463
Template load and register function0.00010.017010.0001
states
state_id_array0.00070.097710.0007
state_identifier_array0.00060.087820.0003
Override
Cache load0.00200.27481100.0000
Sytem overhead
Fetch class attribute can translate value0.00090.126350.0002
Fetch class attribute name0.00120.1672100.0001
XML
Image XML parsing0.00100.140250.0002
class_abstraction
Instantiating content class attribute0.00000.0032110.0000
General
dbfile0.00250.3511270.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
9content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
17content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
12content/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: 42
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs