Zum Inhalt springen

Filelionks 7 Dateiverweise: Datei zu groß

Erstellt am 10. März 2009 · 2 Antworten · letzte Antwort am 12. März 2009

Tags: Dateien & FAL, Frage

Chricken ·

Hallo,

Ich benutze Typo3 4.2.0 auf Linux.

Und es gibt da ein Problem. Wenn ich eine Datei mit dem eingebauten Dateilink zum Download anbieten will, die größer als 10MB ist, dann bekomme ich diese Fehlermeldung.

1: Filesize (23 M) of file '/home/www/web2/html/fileadmin/Downloads/Ausgabe 13/a_Landung0.avi' exceeds limit (10.0 M). (tt_content:59:media)

Das Problem haben andere auch, und haben es mit einem Eintrag in die typo3conf/extTables.php gelöst.
Diesen Eintrag habe ich auch gemacht. Aber es brachte keinen Erfolg.

Hier meine php-Datei:

<?php
/**
 * Overriding $TCA
 *
 * The TYPO3 Configuration Array (TCA) is defined by the distributed tables.php and ext_tables.php files.
 * If you want to extend and/or modify its content, you can do so with scripts like this.
 * Or BETTER yet - with extensions like those found in the typo3conf/ext/ or typo3/ext/ folder.
 * Extensions are movable to other TYPO3 installations and provides a much better division between things! Use them!
 *
 * Information on how to set up tables is found in the document "Inside TYPO3" available as a PDF from where you downloaded TYPO3.
 *
 * Usage:
 * Just put this file to the location typo3conf/extTables.php and add this line to your typo3conf/localconf.php:
 * $typo_db_extTableDef_script = 'extTables.php';
 */

// Rotate loginbox images from this directory
# $GLOBALS['TBE_STYLES']['loginBoxImage_rotationFolder'] = '../fileadmin/loginimg/';

// Raise upload limit for images in 'image' content-elements to 10*1024 bytes = 1MB
$GLOBALS['TCA']['tt_content']['columns']['image']['config']['max_size'] = 100*1024;
$GLOBALS['TCA']['tt_content']['columns']['media']['config']['maxitems'] = 100;

// Changes date fields to datetime fields in pages and tt_content
# $GLOBALS['TCA']['tt_content']['columns']['starttime']['config']['eval'] = 'datetime';
# $GLOBALS['TCA']['tt_content']['columns']['endtime']['config']['eval'] = 'datetime';
# $GLOBALS['TCA']['pages']['columns']['starttime']['config']['eval'] = 'datetime';
# $GLOBALS['TCA']['pages']['columns']['endtime']['config']['eval'] = 'datetime';

?>

Aber das löst das Problem nicht.
An die Datei etc/httpd/conf.d/php.conf komme ich nicht ran.
Ehrlich gesagt weiß ich nicht, wo sie ist, denn der Pfad existiert nicht.

Oder muss ich noch irgendwas neu starten?

Juggalo40 ·

BackEnd -> InstallTool -> AllConfiguration -> [maxFileSize] und dann Wert anpassen oder direkt in der /typo3conf/localconf.php mit

$TYPO3_CONF_VARS['BE']['maxFileSize'] = 'Wert angeben'

Wenn du über die exttables.php gehst solltest du diesen Satz beachten

* Usage:
* Just put this file to the location typo3conf/extTables.php and add this line to your typo3conf/localconf.php:
* $typo_db_extTableDef_script = 'extTables.php';
*/