• Welcome to the Chevereto User Community!

    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:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

problems

  • Thread starter Thread starter tux60
  • Start date Start date
thank's yu for your help but they don't work.
Now i have this message when i uplaod an image:
Code:
Warning: copy(image/up/image/working/titre_web20.png) [function.copy]: failed to open stream: No such file or directory in /home/okba/public_html/image/engine.php on line 269

Warning: getimagesize(image/up/image/working/titre_web20.png) [function.getimagesize]: failed to open stream: No such file or directory in /home/okba/public_html/image/engine.php on line 320

Warning: unlink(image/up/image/working/titre_web20.png) [function.unlink]: No such file or directory in /home/okba/public_html/image/engine.php on line 357

And here is my config.php:
Code:
<?

/* -----------------------------------------

  Chevereto - Script de hosting de imagenes
  Nightly Build 1.4 (25/02/2009)
  http://www.chevereto.com/

  Released under the GPL 2.0
  Copyright (C) 2008 by Rodolfo Berrios
  <inbox at rodolfoberrios dot com>

  ----------------------------------------- */

// Lang
define('LANG', 'fr'); // fr - French, en - English, es - Español, fa - Farsi

define('APP_NAME', 'UpImg'); // Your image hosting name
define('TAG_LINE', 'Image Hosting'); // Your tagline (for doctitles and logo)

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

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

// Configuracion espedifica 
$lim_act = true; // true: Permite que se posten imagenes solo de tu DOM_SCRIPT - false: Permite que se suba desde cualquier parte (por ejemplo un formulario en un foro)
$debug_mode = true; // false: No muestra nada - cualquier otro valor mostrara los errores segun la config del servidor.
$cut_url = true; // true: Se cortan las URL (pe: TinyURL.com) - false: No se cortan las URL.
$cut_url_user = true; // Si $cut_url = true -> true: Permite a los usuarios elegir cortar url (preferencia) - false: No los deja establecer preferencia
$allow_over_resize = false; // true: peremite que se redimensione por sobre el ancho de la imagen - false: no redimensiona sobre el ancho de la imagen

// Upload por FTP, en algunas configuraciones no es necesario el $use_ftp, pero en la mayoria si (pe: cPanel)
$use_ftp = false; // true: usara ftp para subir los archivos - false: no usara ftp (usar si php tiene permisos o si se aplica chmod).
$ftp_host = DOM_SCRIPT; // Si no es igual a tu dom script entonces lo cambias.
$ftp_user = '';
$ftp_pass = '';

// No editar, salvo problemas
// SERVER
define('DOM_SCRIPT', $_SERVER['SERVER_NAME']);
define('PATH_SERVER', '/public_html/');

// PATH
$path = dirname($_SERVER['PHP_SELF']);
if (strlen($path)>1) { 
    define('PATH_SCRIPT', $path.'/');
} else {
    define('PATH_SCRIPT', $path);
}

// URL
define('URL_SCRIPT', 'http://'.DOM_SCRIPT.PATH_SCRIPT);

?>

I have uploaded it in: /public_html/image

thank's you for your help!
 
If i use ftp mode;
i will modify: ftphost, ftpuser and ftppass?
thks
 
I have modify it but now I have this error in the index:
Code:
Warning: ftp_close() expects parameter 1 to be resource, null given in /home/okba/public_html/image/engine.php on line 651

And when I upload an image, I have this error:
Code:
Warning: ftp_connect() [function.ftp-connect]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/okba/public_html/image/engine.php on line 251

Warning: ftp_login() expects parameter 1 to be resource, boolean given in /home/okba/public_html/image/engine.php on line 252

Unable to send images, the script is not properly configured or not working on this server.

Thks for your help
 
Oh yes!!
I have tested it in my dedicated serveur and it's work!!!!!
Yahoooooooooo
 
Back
Top