Loading...
 
Español

Español


INCREASE THE UPLOAD FILE SIZE LIMIT TO 10MB

posts: 6

Hola, estoy en tikiwiki 3.0 y deseo aumentar el limite para subir archivos. Actualemnte esta en 3MB y deseo aumentarlo a 10MB.

Como hago

JAIRO

posts: 11 Spain

Jairo, saludos.

En mi opinión creo que debes modificar la variable 'upload_mx_filesize' en tu fichero php.ini . No recuerdo que fuera algo que tuviera que ver con la configuración de tiki. De hecho nosotros en nuestra tiki interna lo tenemos así.

Si necesitas más ayuda ya sabes wink


posts: 1817 Catalan Countries

JAiro, hay un foro en castellano. Publica mensajes allí, por favor.
Y si escribes en inglés para pedir ayuda, hazlo en el foro correspondiente (el que sea), pero no en el documentación si tu mensaje no estárelacionado con la documentación

Muevo el hilo al foro de castellano


posts: 6

Hola,

Edite el archivo php.ini pero ya tiene la variable con 64M y centa con el siguiente código:
=====
'';;;;;;;;;;;;;;;;
; File Uploads ;
;;;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.
file_uploads = On

; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
upload_tmp_dir = "\xampp\tmp"

; Maximum allowed size for uploaded files.
upload_max_filesize = 64M''
=======

Tambien edite el archivo max_upload_size.php y modifique el código, pero tampoco funciona:

==
''// We also reduce of a memory size of 3 MB (which is an approximation too) that may be necessary for other tasks to work
//
$remaining_memory = max(0, int)($memory_limit - $current_memory_usage) / 3) - (3 * 1024 * 1024;

if ( $max_upload_size > $remaining_memory ) {
$max_upload_size = $remaining_memory;
$max_upload_size_comment = tra('This is an approximation based on your server memory limit:').' '.$memory_limit_ini;
}
}
}

$smarty->assign("max_upload_size_comment", $max_upload_size_comment);
$smarty->assign("max_upload_size", "$max_upload_size");''


==

QUE HAGO?


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting