VB3 Problem

I am kinda a noob at vb and i dont know anything about variables for config.php. Can someone give me a config.php file with everything i need in it please?


Thanks,
Zac
 
Code:
<?php
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 3.8.2
|| # ---------------------------------------------------------------- # ||
|| # All PHP code in this file is ©2000-2009 Jelsoft Enterprises Ltd. # ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/

/*-------------------------------------------------------*\
| ****** NOTE REGARDING THE VARIABLES IN THIS FILE ****** |
+---------------------------------------------------------+
| If you get any errors while attempting to connect to    |
| MySQL, you will need to email your webhost because we   |
| cannot tell you the correct values for the variables    |
| in this file.                                           |
\*-------------------------------------------------------*/

    //    ****** 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'] = '[color=Red]put the name of your database here[/color]';

    //    ****** TABLE PREFIX ******
    //    Prefix that your vBulletin tables have in the database.
$config['Database']['tableprefix'] = '[color=Red]table prefix here, such as vb_, but not necessary[/color]';

    //    ****** 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'] = '[color=Red]your email for db errors etc. goes here[/color]';

    //    ****** 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'] = '[color=Red]if other than localhost, db server goes here, otherwise leave localhost[/color]';
$config['MasterServer']['port'] = [color=Red]if other than 3306 db port goes here, otherwise leave 3306[/color];

    //    ****** 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'] = '[color=Red]db user name goes here[/color]';
$config['MasterServer']['password'] = '[color=Red]db user password goes here[/color]'
Pay attention to the red areas. These should be the only things you need for a new install.
 
If this is a new install, you don't have any tables yet. The prefix is whatever you want it to be. All of your db tables will start with this prefix. For instance, if you put vb_ as your prefix, then when the database is created your tables will be called vb_access, vb_adminhelp etc.

If you already have a database with tables that start with forum_, then yes, that would be your prefix.
 
Grinderhand said:
Did you by chance have VBSEO installed and then uninstalled it? If so, try deleting or renaming your .htaccess file.

No this is just my first forum and its on a hosting site that my friend is associated with.

And

jagid-studios.tk

sucky domain but it will be .co.uk or .com when i get the money.

if you want i am making the admin stuff available to anyone that can help.

Just email: [email protected] or IM: [email protected]


Thanks for the help people,
Zac
 
Back
Top