• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

uploading problem ..

artan

Chevereto Noob
even if u run the script with defaults cofigurations u will get blank screen if u r uploading 2mb picture ..


example :
i made max size per img : 4MB
and i cant upload even a 2MB image .

my config :
Code:
// Si cambias esto deberas cambiar las carpetas fisicas
define('DIR_UP','up/');
define('DIR_IM','images/');
define('DIR_WORKING',DIR_UP.'working/');
define('DIR_TEMP',DIR_UP.'temp/');
define('DIR_TH','thumbs/');

// Configuraciones de imagenes
$max_mb = '4.0'; // Maximo tamaño de imagen (Mbytes)
$max_by = $max_mb*4194304; // Maximo tamaño de imagen en bytes)
$max_name = '10'; // Caracteres maximos (no incluye ext y ".")
$mini_ancho = '150'; // Ancho del thumb (pixels)
$mini_alto = '150'; // Alto del thumb (pixels)
$lowres = '16'; // Minimo ancho a redimensionar
$higres = '1280'; // Maximo ancho de redimension

i'm running this script on a dedicated server , so it doesnt got a upload limit per file ..

Can admins explain me why is this happening , and what can i do to fix it ?


cheers .
 
This is mostly by your hosting company. You see... You can even use "100mb" and you coul not upload a file of that size and that is because that limits are setted by the php.ini

So you can't override the max size limit. Please check your configuration with:
PHP:
<? phpinfo(); ?>

Also, if you set like "8mb" you may not exceed the execution time... In a nutshell, limitations from the hosting company.

Regards.
 
but i already said that i run this script on a dedicated server .. and it doesnt has upload limits via ftp ..
 
artan said:
but i already said that i run this script on a dedicated server .. and it doesnt has upload limits via ftp ..

Yes, no ftp limit but php.ini limits you must edit that.
 
Rodolfo said:
artan said:
but i already said that i run this script on a dedicated server .. and it doesnt has upload limits via ftp ..

Yes, no ftp limit but php.ini limits you must edit that.

i could'nt find "php.ini" on my server .. u just downloaded php.ini , and than uploaded to root directory ...


could u tell me wich one from those 3 lines controles the php script ??

Code:
file_uploads = On
upload_tmp_dir = /usr/local/www/php/tmp
upload_max_filesize = 5M

cheers .
 
Back
Top