Bueno vi el demo de chevereto y como a la mayoria me ha gustado comparado con otros script de imagenes es bastante bueno pero he tenido varios problemas a la hora de instalarlo tanto que de plano me he dado por vencido ya probe todo lo del tema :
000webhost
que me imagino es parecido a mi hot en donde lo estoy tratando de instalar.
a ver mi direccion es : csradio.000a.biz pero ahora mismo no tengo al chevereto instalado.
mis datos de mi ftp son:
FTP user name dooof_&$¬/*#"
FTP password mipassword
FTP host name ftp.my.host
claro que no son los reales configuro el archivo config.php
chevereto ver 1.7
hago esto
// Language //
define('LANG', 'es'); // en - English | es - Español | fa - Farsi | fr - Français | nl - Dutch | cn - ZH-CN (Chinese)
define('APP_NAME', 'CS RADIO'); // Your image hosting name
define('TAG_LINE', 'Imagen Hosting'); // Your tagline (for doctitles and logo)
// Folders //
/* If you change this, you also must change the folders name. */
define('DIR_UP','up/');
define('DIR_IM','images/'); // Change this to have something like /X/filename.jpg - where "X/" is the folder name.
define('DIR_WORKING',DIR_UP.'working/');
define('DIR_TEMP',DIR_UP.'temp/');
define('DIR_TH','thumbs/');
// Min-Max values -> php.ini rules the nation... //
$max_mb = '1'; // Max. image size (Mbytes)
$max_by = $max_mb*1048576; // (bytes)
$max_name = '20'; // Max. file name lenght.
// Thumbs //
$mini_ancho = '200'; // Thumb width (pixels)
$mini_alto = '200'; // Thumb height (pixels)
// Resize //
$lowres = '16'; // Min. resize value (pixels)
$higres = '1880'; // Max. resize value (pixels)
// Options //
$lim_act = true; // true: Allows uploading just for your domain - false: Allows upload from anywhere (post from another website)
$debug_mode = true; // false: Debug OFF - true: Debug ON.
$cut_url = false; // true: Short URLs (TinyURL tr.im etc.) - false: normal url (http://mysite.com/images/image.jpg).
$cut_url_service = 'tinyurl'; // tinyurl
$cut_url_user = true; // If $cut_url = true -> true: Allows your users to cut their urls (preference) - false: Users can't choose to cut or not.
$allow_over_resize = true; // true: Allows over resize images - false: Don't allow over resize.
///////////////////////////////////////////////////////////////////
///// DO NOT EDIT BELOW THIS - (do it if the script can't run) ////
///////////////////////////////////////////////////////////////////
// SERVER ///
/* We get this values with $_SERVER. If your server doesn't resolve this values The script will not work.
If the script doesn't work, you must change this values to be like values in the comments (see the exaple below) */
$DOM_SCRIPT = $_SERVER['csradio.000a.biz']; // --> mysite.com
$PATH_SERVER = $_SERVER['/htdocs']; // --> /public_html (pssst.. NO ENDING SLASH!)
// example:
# $DOM_SCRIPT = 'mysite.com';
# $PATH_SERVER = '/public_html';
/* Btw, you can check this values by uncommenting this: */
// echo 'DOM: '.$DOM_SCRIPT.' - PATH: '.$PATH_SERVER;
// FTP MODE //
/* Use this if you want to upload the files through ftp php (http://php.net/ftp). This is handly when your server config don't
allow to upload files without CHMOD 777, like almost all the cPanel. Using this, you can forget the CHMOD */
$use_ftp = true; // true: Uses ftp to upload files - false: Upload without ftp.
$ftp_host = 'ftp.000a.biz'; // Change this if your ftp host is not the same as your mysite.com -- example: $ftp_host = 'ftp.mysite.com';
$ftp_user = 'dooof_&$¬/*#"'; // valid username.
$ftp_pass = 'mypasword'; // Valid password.
// NOTICE: FTP user must have access to the script folder.
///////////////////////////////
/// DO NOT TOUCH BELOW THIS ///
///////////////////////////////
// PATH //
/* Uhhh.. Can't touch this!. */
$path = dirname($_SERVER['PHP_SELF']);
if (strlen($path)>1) {
define('PATH_SCRIPT', $path.'/');
} else {
define('PATH_SCRIPT', $path);
}
// URL //
/* Uhhh... Uhhh.. Can't touch this!. */
define('URL_SCRIPT', 'http://'.$DOM_SCRIPT.PATH_SCRIPT);
?>
y me sale lo siguiente :
Critital error: Invalid $DOM_SCRIPT, edit it manually in config.php
con la version 1.7 me da ese problema
mi host usa el vista panel, que es muy parecidoal cpanel
con versiones anterior a la 1.7 (1.4 y 1.6)
como ya dije probe de todo y nada ha funcionado. se instala eso si pero cuando quiero subir imagenes me dice que no se puede subir por que algo esta mal configurado en el chevereto.
alguien me puede dar una solucion real a mi problema la verdad ando medio desesperado ya probe muchos script y la verdad el que mas me ha gustado es este script.
Un saludo y faliz año nuevo
000webhost
que me imagino es parecido a mi hot en donde lo estoy tratando de instalar.
a ver mi direccion es : csradio.000a.biz pero ahora mismo no tengo al chevereto instalado.
mis datos de mi ftp son:
FTP user name dooof_&$¬/*#"
FTP password mipassword
FTP host name ftp.my.host
claro que no son los reales configuro el archivo config.php
chevereto ver 1.7
hago esto
// Language //
define('LANG', 'es'); // en - English | es - Español | fa - Farsi | fr - Français | nl - Dutch | cn - ZH-CN (Chinese)
define('APP_NAME', 'CS RADIO'); // Your image hosting name
define('TAG_LINE', 'Imagen Hosting'); // Your tagline (for doctitles and logo)
// Folders //
/* If you change this, you also must change the folders name. */
define('DIR_UP','up/');
define('DIR_IM','images/'); // Change this to have something like /X/filename.jpg - where "X/" is the folder name.
define('DIR_WORKING',DIR_UP.'working/');
define('DIR_TEMP',DIR_UP.'temp/');
define('DIR_TH','thumbs/');
// Min-Max values -> php.ini rules the nation... //
$max_mb = '1'; // Max. image size (Mbytes)
$max_by = $max_mb*1048576; // (bytes)
$max_name = '20'; // Max. file name lenght.
// Thumbs //
$mini_ancho = '200'; // Thumb width (pixels)
$mini_alto = '200'; // Thumb height (pixels)
// Resize //
$lowres = '16'; // Min. resize value (pixels)
$higres = '1880'; // Max. resize value (pixels)
// Options //
$lim_act = true; // true: Allows uploading just for your domain - false: Allows upload from anywhere (post from another website)
$debug_mode = true; // false: Debug OFF - true: Debug ON.
$cut_url = false; // true: Short URLs (TinyURL tr.im etc.) - false: normal url (http://mysite.com/images/image.jpg).
$cut_url_service = 'tinyurl'; // tinyurl
$cut_url_user = true; // If $cut_url = true -> true: Allows your users to cut their urls (preference) - false: Users can't choose to cut or not.
$allow_over_resize = true; // true: Allows over resize images - false: Don't allow over resize.
///////////////////////////////////////////////////////////////////
///// DO NOT EDIT BELOW THIS - (do it if the script can't run) ////
///////////////////////////////////////////////////////////////////
// SERVER ///
/* We get this values with $_SERVER. If your server doesn't resolve this values The script will not work.
If the script doesn't work, you must change this values to be like values in the comments (see the exaple below) */
$DOM_SCRIPT = $_SERVER['csradio.000a.biz']; // --> mysite.com
$PATH_SERVER = $_SERVER['/htdocs']; // --> /public_html (pssst.. NO ENDING SLASH!)
// example:
# $DOM_SCRIPT = 'mysite.com';
# $PATH_SERVER = '/public_html';
/* Btw, you can check this values by uncommenting this: */
// echo 'DOM: '.$DOM_SCRIPT.' - PATH: '.$PATH_SERVER;
// FTP MODE //
/* Use this if you want to upload the files through ftp php (http://php.net/ftp). This is handly when your server config don't
allow to upload files without CHMOD 777, like almost all the cPanel. Using this, you can forget the CHMOD */
$use_ftp = true; // true: Uses ftp to upload files - false: Upload without ftp.
$ftp_host = 'ftp.000a.biz'; // Change this if your ftp host is not the same as your mysite.com -- example: $ftp_host = 'ftp.mysite.com';
$ftp_user = 'dooof_&$¬/*#"'; // valid username.
$ftp_pass = 'mypasword'; // Valid password.
// NOTICE: FTP user must have access to the script folder.
///////////////////////////////
/// DO NOT TOUCH BELOW THIS ///
///////////////////////////////
// PATH //
/* Uhhh.. Can't touch this!. */
$path = dirname($_SERVER['PHP_SELF']);
if (strlen($path)>1) {
define('PATH_SCRIPT', $path.'/');
} else {
define('PATH_SCRIPT', $path);
}
// URL //
/* Uhhh... Uhhh.. Can't touch this!. */
define('URL_SCRIPT', 'http://'.$DOM_SCRIPT.PATH_SCRIPT);
?>
y me sale lo siguiente :
Critital error: Invalid $DOM_SCRIPT, edit it manually in config.php
con la version 1.7 me da ese problema
mi host usa el vista panel, que es muy parecidoal cpanel
con versiones anterior a la 1.7 (1.4 y 1.6)
como ya dije probe de todo y nada ha funcionado. se instala eso si pero cuando quiero subir imagenes me dice que no se puede subir por que algo esta mal configurado en el chevereto.
alguien me puede dar una solucion real a mi problema la verdad ando medio desesperado ya probe muchos script y la verdad el que mas me ha gustado es este script.
Un saludo y faliz año nuevo