Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mancanza config DB "piracy_shield" #48

Closed
giuseppeRoar opened this issue Dec 27, 2024 · 2 comments
Closed

mancanza config DB "piracy_shield" #48

giuseppeRoar opened this issue Dec 27, 2024 · 2 comments

Comments

@giuseppeRoar
Copy link

Buongiorno,

dopo aggiornamento effettuato ieri sembra che non si trovi il connector per il db "piracy_shield" ; ho controllato anche l'ussue #45 facendo a mano la modifca sul codice m non risolve la problematica.

Running scheduled command: App\Http\Controllers\Admin\AdminController@update_dns

   InvalidArgumentException  : Database [piracy_shield] not configured.

  at /var/www/html/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:152
    148|         // If the configuration doesn't exist, we'll throw an exception and bail.
    149|         $connections = $this->app['config']['database.connections'];
    150|
    151|         if (is_null($config = Arr::get($connections, $name))) {
  > 152|             throw new InvalidArgumentException("Database [{$name}] not configured.");
    153|         }
    154|
    155|         return (new ConfigurationUrlParser)
    156|                     ->parseConfiguration($config);

  Exception trace:

  1   Illuminate\Database\DatabaseManager::configuration("piracy_shield")
      /var/www/html/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:115

  2   Illuminate\Database\DatabaseManager::makeConnection("piracy_shield")
      /var/www/html/vendor/laravel/framework/src/Illuminate/Database/DatabaseManager.php:86

@AlbertoSolaro
Copy link

AlbertoSolaro commented Dec 27, 2024

Con la modifica che ho fatto in questa PR mi è tornato a funzionare: #47

@giuseppeRoar
Copy link
Author

Confermo che con entrambe le modifiche è tornato a funzionare.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants