Like Tree1Likes

Configurar config.php

Esta es una discusión para el tema Configurar config.php en el foro vBulletin 3 - Preguntas, Problemas y Soluciones, bajo la categoría Soporte vBulletin; Hola amigos. Antes de nada, se que este tema esta muy contestado en el foro, y lo lei veces, me baje manuales, etc pero llevo muchos dias intentando configurar el config.php y leo y releo ...
Página:


Página 1 de 2 12 ÚltimoÚltimo
Resultados 1 al 15 de 23

Temas similares

  1. Por joxxxe en el foro vBulletin 3 - Preguntas, Problemas y Soluciones
  2. Por Kerozzene en el foro vBulletin 3 - Preguntas, Problemas y Soluciones
  3. Por Duby-Doo en el foro Archivos de vBulletin 3.0 - 3.7
  4. Config.php Respuestas: 4
    Por fabian_anz en el foro Archivos de vBulletin 3.0 - 3.7
  5. Como configurar el correo Respuestas: 20
    Por jugonet en el foro Archivos de vBulletin 3.0 - 3.7
  1. #1
    Miembro Array
    Fecha de ingreso
    14 mar, 08
    Mensajes
    16
    Gustado
    0 Veces
    Me Gustan
    0 Veces

    Predeterminado Configurar config.php

    Hola amigos.
    Antes de nada, se que este tema esta muy contestado en el foro, y lo lei veces, me baje manuales, etc pero llevo muchos dias intentando configurar el config.php y leo y releo los manuales, pongo los datos, ya probe varios editores por si era fallo de ellos y creo que correctamente los subo y siempre me da el dichoso error de la bd.
    Yo subo el fichero config.php a la carpeta includes y tambien a la raiz, pero el resultado es identico.
    Soy novato en el tema, es mas no tengo idea de ingles, pero aunque los manuales lo ponen muy claro. cambio y modifico los datos, las bd etc, las elimino y hago una nueva y no me funciona de ningun modo.
    A ver si alguna alma caritativa me puede a decir que es lo q hago mal.


    Tengo la version 3.6.8., cuando la tenga funcionando, ya empezare a mirar como actualizarla, pero con la 3.7 aun no me atrevo, jejeje.
    gracias de antemano.
    os dejo los datos ficticios...

    // ****** 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'] =
    'foro'; aqui el nombre de la bd creada

    // ****** TABLE PREFIX ******
    // Prefix that your vBulletin tables have in the database.
    $config['Database']['tableprefix']
    = ''; aqui lo dejo tal cual

    // ****** 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@gmail.com'; (aqui pongo mi email)
    // ****** 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'] = 'DDG; aqui pongo el nombre del usuario de la bd.
    $config['MasterServer']['password'] =
    'o123456'; aqui la contraseña de la bd
    // ****** MASTER DATABASE PERSISTENT CONNECTIONS ******
    // This option allows you to turn persistent connections to MySQL on or off.
    // The difference in performance is negligible for all but the largest boards.
    // If you are unsure what this should be, leave it off. (0 = off; 1 = on)
    $config['MasterServer']['usepconnect'] = 0;


    // ****** SLAVE DATABASE CONFIGURATION ******
    // If you have multiple database backends, this is the information for your slave
    // server. If you are not 100% sure you need to fill in this information,
    // do not change any of the values here.
    $config['SlaveServer']['servername'] = 'localhost';
    $config['SlaveServer']['port'] = 3306;
    $config['SlaveServer']['username'] = 'miforo.net'; aqui el nombre de mi foro, otras veces puse los datos de la bd y tampoco funcionó
    $config['SlaveServer']['password'] = '0123456'; aqui el pass de mi foro o de la bd, que son el mismo
    $config['SlaveServer']['usepconnect'] = 0;

  2. #2
    Miembro especial Array
    Fecha de ingreso
    21 mar, 08
    Mensajes
    36
    Gustado
    0 Veces
    Me Gustan
    0 Veces

    Predeterminado Respuesta: Lo siento....

    Vamos haber, solo has de poner, el nombre de tu base, el usuario de tu base y su pass, guardas y lo subes dentro de includes y ya puedes empezar la instalacion.

    Código PHP:
     // ****** 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'] = 'nombrebase';
     
     
    // ****** 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'] = 'nombreusuario';
    $config['MasterServer']['password'] = 'pass'

  3. #3
    Miembro Array
    Fecha de ingreso
    14 mar, 08
    Mensajes
    16
    Gustado
    0 Veces
    Me Gustan
    0 Veces

    Predeterminado Respuesta: Lo siento....

    Gracias Matronick, por tu inmediata respuesta.
    Eso que me dices ya lo hice varias veces, y sigue dandome el dichoso error.
    :mad:
    Database errorThe database has encountered a problem.Please try the following:
    • Load the page again by clicking the Refresh button in your web browser.
    • Open the www.miforo.net home page, then try to open another page.
    • Click the Back button to try another link.

  4. #4
    Miembro especial Miembro de oro Array Avatar de Carlos_White
    Fecha de ingreso
    18 oct, 07
    Ubicación
    República Dominicana
    Mensajes
    188
    Gustado
    1 Veces
    Me Gustan
    0 Veces

    Predeterminado Re: Respuesta: Lo siento....

    Cita Iniciado por antiscammers Ver mensaje
    Gracias Matronick, por tu inmediata respuesta.
    Eso que me dices ya lo hice varias veces, y sigue dandome el dichoso error.
    :mad:
    Database errorThe database has encountered a problem.Please try the following:
    • Load the page again by clicking the Refresh button in your web browser.
    • Open the www.miforo.net home page, then try to open another page.
    • Click the Back button to try another link.

    Hola amigo:

    Despues que pones los datos en esta parte:

    Código PHP:
    // ****** 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'] = 'DDG; aqui pongo el nombre del usuario de la bd. 
    $config['
    MasterServer']['password'] = 'o123456'; aqui la contraseña de la bd 
    Lo demás no se toca. Osea lo siguiente:
    Código PHP:
     // ****** MASTER DATABASE PERSISTENT CONNECTIONS ******
     // This option allows you to turn persistent connections to MySQL on or off.
     // The difference in performance is negligible for all but the largest boards.
     // If you are unsure what this should be, leave it off. (0 = off; 1 = on)
    $config['MasterServer']['usepconnect'] = 0;
     
     
    // ****** SLAVE DATABASE CONFIGURATION ******
     // If you have multiple database backends, this is the information for your slave
     // server. If you are not 100% sure you need to fill in this information,
     // do not change any of the values here.
    $config['SlaveServer']['servername'] = 'localhost';
    $config['SlaveServer']['port'] = 3306;
    $config['SlaveServer']['username'] = 'miforo.net'aqui el nombre de mi forootras veces puse los datos de la bd y tampoco funcionó
    $config
    ['SlaveServer']['password'] = '0123456'aqui el pass de mi foro o de la bdque son el mismo
    $config
    ['SlaveServer']['usepconnect'] = 0

    Saludos.

  5. #5
    Miembro Array
    Fecha de ingreso
    14 mar, 08
    Mensajes
    16
    Gustado
    0 Veces
    Me Gustan
    0 Veces

    Predeterminado Respuesta: Lo siento....

    Hola Carlos_White, gracias por tu aportación.
    Ya edite de todas las maneras posibles y siempre me da el dichoso error.
    Solo pongo los datos que dijo el amigo Matronick, y me sigue dando el error.
    Parece cosa de brujas...
    Lo seguire intentando con paciencia, talvez lo consiga.
    un saludo

  6. #6
    Miembro especial Miembro de oro Array Avatar de Carlos_White
    Fecha de ingreso
    18 oct, 07
    Ubicación
    República Dominicana
    Mensajes
    188
    Gustado
    1 Veces
    Me Gustan
    0 Veces

    Predeterminado Re: Respuesta: Lo siento....

    Cita Iniciado por antiscammers Ver mensaje
    Hola Carlos_White, gracias por tu aportación.
    Ya edite de todas las maneras posibles y siempre me da el dichoso error.
    Solo pongo los datos que dijo el amigo Matronick, y me sigue dando el error.
    Parece cosa de brujas...
    Lo seguire intentando con paciencia, talvez lo consiga.
    un saludo
    Hola.

    Te dejo a continuación en rojo los datos que debe de cambiar por los tuyo par aque te funcione la configuración, ya que me fije en tus codigos hay un error al cerrar los datos: ejemplo: 'mysql';.

    Saludos.


    // ****** 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'] = 'ciber-digital';

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

    // ****** 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'] = 'carlos-white@ciber-digital.net';

    // ****** 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'] = 'root';
    $config['MasterServer']['password'] = '123456';

  7. #7
    Miembro Array
    Fecha de ingreso
    14 mar, 08
    Mensajes
    16
    Gustado
    0 Veces
    Me Gustan
    0 Veces

    Predeterminado Respuesta: Lo siento....

    Hola.

    Te dejo a continuación en rojo los datos que debe de cambiar por los tuyo par aque te funcione la configuración, ya que me fije en tus codigos hay un error al cerrar los datos: ejemplo: 'mysql';.

    Saludos.


    // ****** 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'] = 'ciber-digital';

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

    // ****** 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'] = 'carlos-white@ciber-digital.net';

    // ****** 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'] = 'root';
    $config['MasterServer']['password'] = '123456';

    Probablemente hay un error en si servidor.

    Pongo todo los datos bien, miniciosamente y sigue dando el error.
    Gracias por todo.
    Contactare con el host, a ver si hay algun problema.

    un saludo

  8. #8
    Miembro especial Miembro de oro Array Avatar de Carlos_White
    Fecha de ingreso
    18 oct, 07
    Ubicación
    República Dominicana
    Mensajes
    188
    Gustado
    1 Veces
    Me Gustan
    0 Veces

    Predeterminado Re: Lo siento....

    Hola.

    Disculpa que incista, pero no creo que el problema sea de tu host, es ma bien problema de configuración, trata de hacerlo tal como te lo deje, y te funcionara.

    Saludos.

  9. #9
    Miembro Array
    Fecha de ingreso
    14 mar, 08
    Mensajes
    16
    Gustado
    0 Veces
    Me Gustan
    0 Veces

    Predeterminado Respuesta: Lo siento....

    Gracias carlos.
    Te mande un email a tu correo, para que veas tu mismo los datos que pongo, a ver si ves el error.
    un saludo y perdonad por mi torpeza, pero bueno, espero devolver los favores.
    gracias

  10. #10
    Miembro especial Array
    Fecha de ingreso
    21 mar, 08
    Mensajes
    36
    Gustado
    0 Veces
    Me Gustan
    0 Veces

    Predeterminado Respuesta: Lo siento....

    Vete a lycos, contrata un hostin gratuito, metele el vbulletin y si sigue dandote fallo, es que lo haces mal, si se soluciona, es culpa del hostin.

  11. #11
    Miembro especial Miembro de diamante Array Avatar de IsraelSKA
    Fecha de ingreso
    03 jul, 06
    Ubicación
    Santiago de Chile
    Mensajes
    800
    Gustado
    3 Veces
    Me Gustan
    0 Veces

    Predeterminado Re: Configurar config.php

    Te hare unas cuantas aclaraciones... pon mucho ojo, de lo contrario te apareceran errores..




    // ****** 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'] =
    'UsuarioHosting_BaseDeDatos'; Ojo con el nombre de la basde de datos, algunos hosting tienen una nomenclatura como esta.. tu pudiste haber creado una base de datos llamada "kavezon", pero la base de datos en realidad se llama "UsuarioHosting_kavezon"


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

    // ****** 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@gmail.com'; (aqui pongo mi email)
    // ****** 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'] = 'DDG; Aqui coloca tu nombre de usuario de tu servidor (UsuarioHosting)
    $config['MasterServer']['password'] =
    'o123456'; Aqui la contraseña de tu servidor (UsuarioHosting)
    // ****** MASTER DATABASE PERSISTENT CONNECTIONS ******
    // This option allows you to turn persistent connections to MySQL on or off.
    // The difference in performance is negligible for all but the largest boards.
    // If you are unsure what this should be, leave it off. (0 = off; 1 = on)
    $config['MasterServer']['usepconnect'] = 0;


    // ****** SLAVE DATABASE CONFIGURATION ******
    // If you have multiple database backends, this is the information for your slave
    // server. If you are not 100% sure you need to fill in this information,
    // do not change any of the values here.
    $config['SlaveServer']['servername'] = 'localhost'; aqui puede ir en blanco
    $config['SlaveServer']['port'] = 3306;
    $config['SlaveServer']['username'] = 'miforo.net'; Aqui tu usuario de hosting
    (UsuarioHosting)
    $config['SlaveServer']['password'] = '0123456'; Usuario de tu hosting (UsuarioHosting)
    $config['SlaveServer']['usepconnect'] = 0;


    Vuelve a revisar..

    Saludos

  12. #12
    Miembro especial Miembro de platino Array Avatar de kenshin_inferno
    Fecha de ingreso
    19 mar, 08
    Mensajes
    459
    Gustado
    0 Veces
    Me Gustan
    4 Veces

    Predeterminado Respuesta: Configurar config.php

    Hola amigo, un saludo y hay un pequeñísimo pero gran detalle a la véz que todo mundo pasó por alto según estaba leyendo, y es el siguiente; mira en la siguiente parte es lo que te faltó, ya que si has subido el vb a un host gratis en internet es simple. Fíjate Bien...

    // ****** 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'; <--- en esta parte
    $config['MasterServer']['port'] = 3306;



    Amigo, en esa parte que te señalo con rojo no se deja así, ahí va algo como sql no se que, por que depende del host que uses, ahi va el nombre del server o sea del servidor que te asignaron.
    Cuando tu host es tu pc, ahí va así:
    // ****** 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;
    Pero si te has registrado en un host gratuito, ahí va así:
    // ****** 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'] = 'sql445.gratishost.com; $config['MasterServer']['port'] = 3306;

    entra al panel de tu host y ahí lo verás el nombre, como te dije comienza con algo así como con sql.
    Ese es el error amigo solo has eso y listo, ya tendrás tu web en marcha.
    Para cualquier duda agregame a mi e-mail: lance_inferno@hotmail.com
    Mi web Www.The-Masters.Net aunque ahorita tengo un problem con ella.
    Última edición por kenshin_inferno; 23/03/2008 a las 00:59

  13. #13
    Miembro especial Miembro de diamante Array Avatar de Coletta
    Fecha de ingreso
    06 feb, 06
    Ubicación
    Escobar, Buenos Aires, Argentina.
    Mensajes
    1,114
    Gustado
    12 Veces
    Me Gustan
    0 Veces

    Predeterminado Re: Configurar config.php

    kenshin, en el 99% de los casos "localhost" debe dejarse asi, en el caso de los hostings gratuitos desconozco

  14. #14
    Miembro especial Miembro de platino Array Avatar de kenshin_inferno
    Fecha de ingreso
    19 mar, 08
    Mensajes
    459
    Gustado
    0 Veces
    Me Gustan
    4 Veces

    Predeterminado Respuesta: Configurar config.php

    Si es cierto Coletta. Pero como él no especifíca en su comentario que el vb está en un servidor casero, por eso deduzco que lo tiene en un host gratuito o de pago. Ya verán que si tiene subido el vb en un host gratuito y no en uno local, la solución que yo le dí es la única correcta jeje saludos.

  15. #15
    Miembro especial Array
    Fecha de ingreso
    21 mar, 08
    Mensajes
    36
    Gustado
    0 Veces
    Me Gustan
    0 Veces

    Predeterminado Respuesta: Configurar config.php

    Aqui en España hay varios hostins que utilizan servidor base "tudominio_base.com" en vez de "localhost" y pegan mas escopetazos que la carabina del abuelo xD , y no solo con vbulletin si no con otros scrips que se solucionan al cambiar de hosting, de hay mi propuesta a probar en otro.
    Sobre las bases, se me paso lo que a dicho el compañero, muchas veces y personalmente yo utilizo nick_base1 nick_nombrebase1, etcc puede ser ese el fallo igual.

Página 1 de 2 12 ÚltimoÚltimo