Project

General

Profile

Actions

Bug #63595

closed

typo3 7.0 - Upload should use maxfilesize should use php.ini setting

Added by Paul A. Auwehla almost 10 years ago. Updated almost 10 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-12-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Upload in dialog or in FileList should
use at least php.ini-setting from webpages root of typo3.
Install tool should check this on installation.

upload_max_filesize=
max_execution_time=
post_max_size=

should be taken into account from typo3 7.0 and earlier versions.

Install a fresh typo3 7.0, put these lines into php.ini
in webpages root of the typo3 installation:

upload_max_filesize=24M
max_execution_time=240
post_max_size=24M

Try to upload some pictures.
You will get 2048 KB at max,
the internal settings of typo3.

Thats not very smart of
typo3 as of version 7.0 ...
Its modern and good looking skin should
have modern and good working functions.

Actions #1

Updated by Markus Klein almost 10 years ago

  • Description updated (diff)
  • Status changed from New to Accepted
  • Target version set to 7.0

Agreed. The TYPO3 internal setting must be kept, because on some hostings you may want to limit the upload size per TYPO3 instance and not for the whole server.
e.g. 100MB via PHP, but only 2 MB for a specific instance.

I propose to change the default of the internal setting to infinite.

Actions #2

Updated by Markus Klein almost 10 years ago

By the way, the default value for [BE][maxFileSize] is 10 MB

Actions #3

Updated by Markus Klein almost 10 years ago

This is actually a very tough setting. It influences of TCA definition for tables fe_users and tt_content.
I've to dig deeper again to see if these settings are actually still needed there and how this would break things.

Actions #4

Updated by Mathias Schreiber almost 10 years ago

  • Target version changed from 7.0 to 7.1 (Cleanup)
Actions #5

Updated by Mathias Schreiber almost 10 years ago

  • Status changed from Accepted to Rejected

Having these settings is done by design.
The settings are there to supply the ability to limit the amount of data uploaded into a specific field and are not bound to settings in PHP.INI

Actions #6

Updated by Markus Klein almost 10 years ago

  • Target version deleted (7.1 (Cleanup))
Actions

Also available in: Atom PDF