• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

  • Register
  • Login
  • Search
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups

Uncaught Error: Class 'Illuminate\Foundation\Application' not found in /mnt/c/Users/TEST/Desktop/Work/bagisto-standard/bootstrap/app.php:14

Installing Bagisto
bagisto install ambiguous
2
2
1.9k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V
    Vlad99 last edited by 3 Jul 2020, 15:17

    I've successfully installed bagisto, but when I run composer dump-autoload, it shows warnings about some ambiguous classes like:

    Warning: Ambiguous class resolution, "App\Console\Kernel" was found in both "$baseDir . '/app/Console/Kernel.php" and "/mnt/c/Users/TEST/Desktop/Work/bagisto-standard/vendor/bagisto/bagisto/app/Console/Kernel.php", the first will be used.

    Warning: Ambiguous class resolution, "App\Exceptions\Handler" was found in both "$baseDir . '/app/Exceptions/Handler.php" and "/mnt/c/Users/TEST/Desktop/Work/bagisto-standard/vendor/bagisto/bagisto/app/Exceptions/Handler.php", the first will be used.

    And after that, if I try to run php artisan serve, and navigate to localhost:800 , it redirects me to http://localhost:8000/installer , but the page crashes and I see in the console the followings:

    PHP Warning: mysqli::close(): Couldn't fetch mysqli in /mnt/c/Users/TEST/Desktop/Work/bagisto-standard/public/installer/install.php on line 67
    PHP Fatal error: Uncaught Error: Class 'Illuminate\Foundation\Application' not found in /mnt/c/Users/TEST/Desktop/Work/bagisto-standard/bootstrap/app.php:14

    Can anyone help?

    1 Reply Last reply Reply Quote 0
    • V
      Vaishali Agarwal last edited by 5 Jul 2020, 15:39

      Hi @Vlad99
      follow the solution provided here

      https://github.com/bagisto/bagisto/issues/3090

      https://forums.bagisto.com/topic/357/couldn-t-fetch-mysqli-in-adminconfig-php-during-installation/6

      1 Reply Last reply Reply Quote 0
      1 out of 2
      • First post
        1/2
        Last post