Jump to content

Novgor

Member
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Novgor

  1. Novgor

    Novgor

    Error: WHMCS\Exception\Application\Configuration\CannotConnectToDatabase: Could not connect to the 'whmcs_dev' database. in /home/dev2/vendor/whmcs/whmcs-foundation/lib/Application/ApplicationServiceProvider.php:0 Stack trace: #0 /home/dev2/vendor/illuminate/container/Container.php(731): WHMCS\Application\ApplicationServiceProvider->WHMCS\Application\{closure}(Object(WHMCS\Container), Array) #1 /home/dev2/vendor/illuminate/container/Container.php(629): Illuminate\Container\Container->build(Object(Closure), Array) #2 /home/dev2/vendor/illuminate/container/Container.php(1174): Illuminate\Container\Container->make('app') #3 /home/dev2/vendor/illuminate/support/Facades/Facade.php(151): Illuminate\Container\Container->offsetGet('app') #4 /home/dev2/vendor/illuminate/support/Facades/Facade.php(120): Illuminate\Support\Facades\Facade::resolveFacadeInstance('app') #5 /home/dev2/vendor/whmcs/whmcs-foundation/lib/Application/Support/Facades/Facade.php(0): Illuminate\Support\Facades\Facade::getFacadeRoot() #6 /home/dev2/init.php(0): WHMCS\Application\Support\Facades\Facade::self() #7 /home/dev2/index.php(0): unknown() #8 {main}
  2. Hello.
    The problem was in the new version of mysql. I solved the error.

  3. Novgor

    Novgor

    Hello. I want to make the database on a separate server. In the configuration.php file I specify the server address. $ db_host = '192.168.0.1'; $ db_port = '3306'; $ db_username = 'whmcs_dev'; $ db_password = 'password'; $ db_name = 'whmcs_dev'; As a result, I get the error "Critical Error Could not connect to the 'whmcs_dev' database." Checked through the console, there is access to the database. If you register a localhost, then everything works. What could be wrong?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated