Loading...
 
Skip to main content

Español


You are viewing a reply to INCREASE THE UPLOAD FILE SIZE LIMIT TO 10MB

QUE HAGO? INCREMENTAR EL TAMAÑO MAXIMO PARA SUBIR ARCHIVOS EN TIKIWIKI 3.0 - NO FUNCIONA

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?