Miri
Well-known member
I'm trying to perform a fresh installation of XenForo 2.2.7 for a new project, but unfortunately, I'm encountering an issue right from the start. As soon as I attempt to access the URL to begin the installation, I receive the following error:
I contacted my hosting provider because I suspected it might be related to "mod_security," but on two separate occasions, they suggested that it could be an issue with XenForo.
I've tried different PHP versions and temporarily disabled "mod_security" to check for any conflicts.
Could someone please advise me on what to do?
Thank you
An exception occurred: [mysqli_sql_exception] Access denied for user ''@'localhost' (using password: NO) in src/XF/Db/Mysqli/Adapter.php on line 161
mysqli->real_connect() in src/XF/Db/Mysqli/Adapter.php at line 161
XF\Db\Mysqli\Adapter->makeConnection() in src/XF/Db/Mysqli/Adapter.php at line 28
XF\Db\Mysqli\Adapter->getConnection() in src/XF/Db/AbstractAdapter.php at line 62
XF\Db\AbstractAdapter->connect() in src/XF/Db/Mysqli/Adapter.php at line 113
XF\Db\Mysqli\Adapter->escapeString() in src/XF/Db/AbstractAdapter.php at line 518
XF\Db\AbstractAdapter->quote() in src/XF/Db/AbstractAdapter.php at line 496
XF\Db\AbstractAdapter->quote() in src/XF/DataRegistry.php at line 139
XF\DataRegistry->readFromDb() in src/XF/DataRegistry.php at line 84
XF\DataRegistry->get() in src/XF/DataRegistry.php at line 227
XF\DataRegistry->offsetGet() in src/XF/Install/App.php at line 73
XF\Install\App->XF\Install\{closure}() in src/XF/Container.php at line 30
XF\Container->offsetGet() in src/XF/App.php at line 2318
XF\App->setupAddOnComposerAutoload() in src/XF/Install/App.php at line 159
XF\Install\App->setup() in src/XF.php at line 485
XF::setupApp() in src/XF.php at line 508
XF::runApp() in install/index.php at line 14
I contacted my hosting provider because I suspected it might be related to "mod_security," but on two separate occasions, they suggested that it could be an issue with XenForo.
I've tried different PHP versions and temporarily disabled "mod_security" to check for any conflicts.
Could someone please advise me on what to do?
Thank you