XF 2.2 Addon Line

This won't be a bug so I have moved it to troubleshooting.

If you have definitely modified the correct file and added the line exactly as written then the likelihood is that you have some aggressive opcaching involved. This may keep the old version cached for a period of time or in extreme cases until the web server or PHP is restarted.
That message only appears if the line hasn’t been added to config.php.
This is what my src/config.php looks like.


$config['db']['host'] = 'localhost';
$config['db']['port'] = 3306;
$config['db']['username'] = '';
$config['db']['password'] = '';
$config['db']['dbname'] = '';
$config['db']['socket'] = null;
$config['enableAddOnArchiveInstaller'] = true;

$config['fullUnicode'] = true;
I assume the real version has username, password and dbname filled in for the database?

If so as I said earlier, it may be that opcaching is preventing the changes from taking effect.
Top Bottom