josedebaires
Chevereto Noob
lo que me di cuenta es que el mio permite 2 mb y el tuyo 1, lo cambiaste? quizas tenga que ver, no se
Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.
Please keep in mind:
josedebaires said:lo que me di cuenta es que el mio permite 2 mb y el tuyo 1, lo cambiaste? quizas tenga que ver, no se
shadow said:josedebaires said:lo que me di cuenta es que el mio permite 2 mb y el tuyo 1, lo cambiaste? quizas tenga que ver, no se
lo deje en 2 mb de igual manera, pero aun no me deja subir esa imagen :S no logro entender porque.. alguna idea?
Rodolfo said:shadow said:josedebaires said:lo que me di cuenta es que el mio permite 2 mb y el tuyo 1, lo cambiaste? quizas tenga que ver, no se
lo deje en 2 mb de igual manera, pero aun no me deja subir esa imagen :S no logro entender porque.. alguna idea?
puede que sea el limite seteado en la config del php.ini
rkstro15 said:Rodolfo said:shadow said:lo deje en 2 mb de igual manera, pero aun no me deja subir esa imagen :S no logro entender porque.. alguna idea?
puede que sea el limite seteado en la config del php.ini
con eso se refiere a que el script te limita el tamaño del archivo, pero eso es secundario con respecto a la configuracion del php.ini, que es el encargado de la configuracion de php, ejemplo: si php.ini, dice que los archivos seran maximo de 700 kb, pero tu en la configuracion de chevereto pusiste 2mb, el que vale realmente es el de 700kb
// PHP muestra siempre errores con getfilesize...
error_reporting(0);
// PHP muestra siempre errores con getfilesize...
//error_reporting(0);
Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\index.php:1) in C:\AppServ\www\engine.php on line 28
shadow said:emm mcuhas gracias, lo hiceCode:Warning: Cannot modify header information - headers already sent by (output started at C:\AppServ\www\index.php:1) in C:\AppServ\www\engine.php on line 28
// CONDITIONAL GET
function conditionalGET($timestamp) {
$lastmodified = gmdate("D, d M Y H:i:s \G\M\T", $timestamp);
$etag = '"'.md5($lastmodified).'"';
header("Last-Modified: $last-modified");
header("ETag: $etag");
$ifmodifiedsince = isset($_SERVER['HTTP_IF_MODIFIED_SINCE']) ? stripslashes($_SERVER['HTTP_IF_MODIFIED_SINCE']) : false;
$ifnonematch = isset($_SERVER['HTTP_IF_NONE_MATCH']) ? stripslashes($_SERVER['HTTP_IF_NONE_MATCH']) : false;
if(!$ifmodifiedsince && !$ifnonematch) return;
if($ifnonematch && $ifnonematch != $etag) return;
if($ifmodifiedsince && $ifmodifiedsince != $lastmodified) return;
header("HTTP/1.0 304 Not Modified");
exit;
}
conditionalGET($timestamp);
Fatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 15488 bytes) in C:\AppServ\www\engine.php on line 409
shadow said:ahora al subir la imagen no sale en blanco sino queFatal error: Allowed memory size of 25165824 bytes exhausted (tried to allocate 15488 bytes) in C:\AppServ\www\engine.php on line 409
shadow said:emmm en al configuración del script o del appserver? (sry mi ignorancia xD)
muy complejo?
salu2s!
edit: aer creo q entendi si me la gana posteo xD
;;;;;;;;;;;;;;;;
; 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 =
; Maximum allowed size for uploaded files.
upload_max_filesize = 200M
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
max_execution_time = 60 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 50M ; Maximum amount of memory a script may consume (8MB)
shadow said:Eso es lo unico que veo con memoria :S
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
max_execution_time = 60 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 50M ; Maximum amount of memory a script may consume (8MB)
sera eso?
shadow said:wiiiiiiiiiiiiiiiiiiiiiiii xD
muchas gracias ahí funciono, te pasaste, ahora, taba probando con lo de este topic " http://chevereto.com/foro/viewtopic.php?pid=180#p180 "