Want to subscribe to topics you're interested in?
Become a Member

Xenforo xenforo installation error..

Discussion in 'Forum software usage' started by modder, Nov 30, 2021.

  1. modder

    modder Member

    Dec 6, 2019
    Local Time:
    8:52 PM
    It's a new server, new installation of centminmod by:

    Code (Text):
    yum -y update; curl -O https://centminmod.com/betainstaller81.sh && chmod 0700 betainstaller81.sh && bash betainstaller81.sh

    Then I installed the latest version of Xenforo.

    The new database is ready.

    But when I tried to install the xenforo I see the following:

    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 have experience in installation centminmod/xenforo, this is the first time I've seen an error.
    Last edited: Nov 30, 2021
  2. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    10:52 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Xenforo doesn't support PHP 8.1 yet not officially Is the latest XenForo 227 patch 1 compatible with PHP 8.1.0?. You'd need to use PHP 8.0 i.e. 8.0.13

    Might want to report the bug anyway Bug reports