Topic: config.php

The file 'config.php' already exists which would mean that PunBB is already installed. You should go here instead.

^ i click there and i get the below... the file has all the contents i was told to put in there and i cannot see anything wrong


The file 'config.php' doesn't exist or is corrupt. Please run install.php to install PunBB first.

2 (edited by Dr.Jeckyl 2007-08-09 18:35)

Re: config.php

double check to make sure that it is in fact a .php file and not a .php.txt file. also make sure it's formatted correctly.

example:

<?php

$db_type = 'mysql';
$db_host = 'xxxxxx';
$db_name = 'xxxxxx';
$db_username = 'xxxxxx';
$db_password = 'xxxxxx';
$db_prefix = 'xxxxxx';
$p_connect = false;

$cookie_name = 'punbb_cookie';
$cookie_domain = '';
$cookie_path = '/';
$cookie_secure = 0;
$cookie_seed = 'cc6973d2';

define('PUN', 1);

no spaces or charectors after define('PUN', 1);

~James
FluxBB - Less is more

Re: config.php

Also, make sure you're not saving it as UTF-8 or some other wonky encoding.

Re: config.php

When you save the file as config.php make sure you choose the file type "all files" or else you will be saving it as a text document and not a PHP document.