Problema instalando VBulletin

  • Autor Autor romeo2k
  • Data de início Data de início
Tradução em andamento: em alguns minutos este tópico estará em português. Por enquanto, o conteúdo está no original em espanhol. Ver original
R

romeo2k

Curioso
Usuário com poucas negociações! Use sempre o saldo do ForoBeta!
Hola, muy buenas a todos.

Al instalar VBulletin, me surge el siguiente error:

Inserir CODE, HTML ou PHP:
Fatal error: Call to undefined function set_magic_quotes_runtime() in C:\AppServ\www\includes\class_core.php on line 1644

Antes de sufrir este error, he instalado appserv que no es más que un servidor Apache con soporte MySql y modifiqué el fichero config.php tal cual se dice en el siguiente tutorial:

Enlace eliminado

A ver si me podéis arrojar un poquito de luz, que estoy muy perdido ^^

Muchas gracias, un saludo 🙂.
 
Foi útil? Participe da conversa

Com sua conta grátis você pode responder, mandar mensagem privada ao autor e comprar com Saldo retido: o pagamento é liberado quando você recebe o combinado.

Leva 30 segundos · você volta a este tópico ao terminar
Trata de subir de nuevo el archivo class_core.php, que se encuentra en la carpeta includes/
 
Hola, probé subir el fichero y nada, he vuelto a instalar todo desde 0 y el resultado es el mismo 🙁.

Lo que he hecho:

- Instalar appserv 2.6.0
- Crearme una base de datos nombre_db
- Modificar el fichero configure.php de tal manera:

Inserir CODE, HTML ou PHP:
    //    ****** DATABASE TYPE ******
    //    This is the type of the database server on which your vBulletin database will be located.
    //    Valid options are mysql and mysqli, for slave support add _slave.  Try to use mysqli if you are using PHP 5 and MySQL 4.1+
    // for slave options just append _slave to your preferred database type.
$config['Database']['dbtype'] = 'mysql';

    //    ****** DATABASE NAME ******
    //    This is the name of the database where your vBulletin will be located.
    //    This must be created by your webhost.
$config['Database']['dbname'] = 'nombre_db';

    //    ****** TABLE PREFIX ******
    //    Prefix that your vBulletin tables have in the database.
$config['Database']['tableprefix'] = 'alf_';

    //    ****** TECHNICAL EMAIL ADDRESS ******
    //    If any database errors occur, they will be emailed to the address specified here.
    //    Leave this blank to not send any emails when there is a database error.
$config['Database']['technicalemail'] = 'micorreo@mailing.com';

    //    ****** FORCE EMPTY SQL MODE ******
    // New versions of MySQL (4.1+) have introduced some behaviors that are
    // incompatible with vBulletin. Setting this value to "true" disables those
    // behaviors. You only need to modify this value if vBulletin recommends it.
$config['Database']['force_sql_mode'] = false;


    //    ****** MASTER DATABASE SERVER NAME AND PORT ******
    //    This is the hostname or IP address and port of the database server.
    //    If you are unsure of what to put here, leave the default values.
$config['MasterServer']['servername'] = 'localhost';
$config['MasterServer']['port'] = 3306;

    //    ****** MASTER DATABASE USERNAME & PASSWORD ******
    //    This is the username and password you use to access MySQL.
    //    These must be obtained through your webhost.
$config['MasterServer']['username'] = '*******';
$config['MasterServer']['password'] = '*******';

Y abrir un navegador con la siguiente dirección:

Inserir CODE, HTML ou PHP:
http://localhost/install/install.php

Y con estas modificaciones, el error que obtengo es el mencionado:

Inserir CODE, HTML ou PHP:
[B]Fatal error[/B]:  Call to undefined function set_magic_quotes_runtime() in [B]D:\Programas\AppServ\www\includes\class_core.php[/B] on line [B]1644
[/B]

Está todo corriendo en Windows XP Profesional, en un portátil.
 
no tienes configurado el nombre y password de la base de datos.. al momento de terminar de instalar appserv te pide que configures el pass del myqsl y el user seria root...

Inserir CODE, HTML ou PHP:
$config['MasterServer']['username'] = 'root';
$config['MasterServer']['password'] = '1234';
 
no tienes configurado el nombre y password de la base de datos.. al momento de terminar de instalar appserv te pide que configures el pass del myqsl y el user seria root...

Inserir CODE, HTML ou PHP:
$config['MasterServer']['username'] = 'root';
$config['MasterServer']['password'] = '1234';

Si, sí que está, pero puse los asteriscos para ocultarlo jejej, pero gracias por tu aportación 🙂...

¡¡¡EUREKA!!!

Por fín encontré la solución, resulta que instalé la última versión de appserv, la 2.6 que contiene php 6.0 y parece ser que algunas funciones cambian, así que he quitado este appserv y he puesto una versión anterior, la 2.59, con php 5.3 y ya por fín me funciona, al menos hasta la pantalla de instalación de VBulletin.

Espero que si alguien se ve con el mismo error encuentre este post, ya que la solución pasa por instalar una versión PHP anterior a la última.

Puede cerrarse este tema por mi parte.

Un saludo!
 
Voltar
Topo