Adam Howard
Well-known member
So before I go reporting this as a bug, I'm just wondering if maybe I'm missing something here.
This is the config.php file that XenForo automatically generated.
I normally add a few small things such as this on top.
And a condense the white space (as I do with any site in the past). So the end result is
This is exactly how I have it on my live site and all is working fine.
I just did this on my test site which is a fresh copy of XenForo 1.2 ..... Gave me all sorts of issues telling me the config file was wrong.
Thoughts?
This is the config.php file that XenForo automatically generated.
PHP:
<?php
$config['db']['host'] = 'localhost';
$config['db']['port'] = '3306';
$config['db']['username'] = 'USER NAME HERE';
$config['db']['password'] = 'PASSWORD HERE';
$config['db']['dbname'] = 'DATABASE HERE';
$config['superAdmins'] = '1';
I normally add a few small things such as this on top.
PHP:
#$config['enableListeners'] = false;
#$config['debug'] = 1;
#ini_set('display_errors', true);
And a condense the white space (as I do with any site in the past). So the end result is
PHP:
<?php
#$config['enableListeners'] = false;
#$config['debug'] = 1;
#ini_set('display_errors', true);
$config['db']['host'] = 'localhost';
$config['db']['port'] = '3306';
$config['db']['username'] = 'USER NAME HERE';
$config['db']['password'] = 'PASSWORD HERE';
$config['db']['dbname'] = 'DATABASE HERE';
$config['superAdmins'] = '1';
This is exactly how I have it on my live site and all is working fine.
I just did this on my test site which is a fresh copy of XenForo 1.2 ..... Gave me all sorts of issues telling me the config file was wrong.
Thoughts?