Want more timely Centmin Mod News Updates?
Become a Member

Xenforo xenforo installation error..

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

  1. modder

    modder Member

    109
    16
    18
    Dec 6, 2019
    Ratings:
    +25
    Local Time:
    12:30 AM
    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:

    Code:
    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
    [​IMG]


    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

    50,928
    11,808
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,267
    Local Time:
    2:30 AM
    Nginx 1.25.x
    MariaDB 10.x
    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