Xtaoth
Usuario Novato
Usuario Novato

Wenas!....

Soy un usuario nuevo de mi@, y he intentado instalar el geeklog para llevar mi sitio, pero me da el siguiente error cuando le doy a instalar...


Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/webcindario/clanwhiterock/system/databases/mysql.class.php on line 108
Cannnot connect to DB server

¿Alguien sabe como arreglarlo?

Gracias...

Avatar Image
Machacateclados
Machacateclados

Configura el config.php y subi el archivo .sql que hay o si no hay solo configura el config.php y ya te debe funcionar..

Xtaoth
Usuario Novato
Usuario Novato

Weno.... el archivo config.php ya está configurado...
esto es lo que puse, no se si hice algo mal...

$_DB_host = 'localhost'; // host name or IP address of your DB server
$_DB_name = 'clanwhiterock'; // name of your database,
// must exist before running the installer!
$_DB_user = 'clanwhiterock'; // MySQL user name
$_DB_pass = ++++++++++++++++ (no os lo pongo, obviamente, pero seguro que es este) // MySQL password

// The table prefix is prepended to each table used be Geeklog to avoid name
// collisions with other tables that may already exist in your database.
$_DB_table_prefix = 'cwr_'; // e.g. 'gl_'


// +---------------------------------------------------------------------------+
// | (2) Paths |
// +---------------------------------------------------------------------------+

// Note for Windows users: It's safe to use the forward slash '/' instead of
// the backslash '\' in paths. Make sure each path starts with a drive letter!

// This should point to the directory where your config.php file resides.
$_CONF['path'] = '/home/webcindario/clanwhiterock/'; // should end in a slash

// You only need to change this if you moved or renamed the public_html
// directory. In that case, you should specify the complete path to the
// directory (i.e. without the $_CONF['path']) like this:
// $_CONF['path_html'] = '/path/to/your/public_html/';
$_CONF['path_html'] = $_CONF['path'] . 'public_html/';


// +---------------------------------------------------------------------------+
// | (3) Site Settings |
// +---------------------------------------------------------------------------+

// Make sure this is the correct URL to your site, i.e. to where Geeklog's
// index.php file resides (no trailing slash).
$_CONF['site_url'] = 'https://clanwhiterock.webcindario.com/public_html/';

// Some hosting services have a preconfigured admin directory. In that case,
// you need to rename Geeklog's admin directory to something like "myadmin"
// and change the following URL as well. Leave as is until you experience any
// problems accessing Geeklog's admin menu.
$_CONF['site_admin_url'] = $_CONF['site_url'] . '/admin';

// This is the return address for all email sent by Geeklog:
$_CONF['site_mail'] = 'j_torrandell@yahoo.es';

// Name and slogan of your site
$_CONF['site_name'] = 'Clan WhiteRock';
$_CONF['site_slogan'] = 'Página oficial del clan WhiteRock';

Xtaoth
Usuario Novato
Usuario Novato

Ya lo arreglé , ya me funciona el portal, pero con un warning que me está dando la mañana....

Warning: ini_set() has been disabled for security reasons in /home/webcindario/clanwhiterock/public_html/lib-common.php on line 215

sabeis de que va este warning? como puedo quitarlo?

Avatar Image
@man / @woman
@man / @woman

El warning es porque usa una función no habitada en mi@. Habría que analizar el código y ver si es importante o no, en caso que no sea importante con editar el código y poner delante de esa función una @ valdría.

ATENCIÓN: Este tema no tiene actividad desde hace más de 6 MESES,
te recomendamos abrir un nuevo tema en lugar de responder al actual
Opciones:
Ir al subforo:
Permisos:
TU NO PUEDES Escribir nuevos temas
TU NO PUEDES Responder a los temas
TU NO PUEDES Editar tus propios mensajes
TU NO PUEDES Borrar tus propios mensajes
Temas similares
TemaUsuariosRespuestasVisitasActividad
Por: , el 07/Jul/2005, 16:47
disagree0745Jul/05