drehimself / laravel-ecommerce-example

Code for YouTube series on building a Laravel E-Commerce application.
https://www.youtube.com/watch?v=o5PWIuDTgxg&list=PLEhEHUEU3x5oPTli631ZX9cxl6cU_sDaR
1.01k stars 585 forks source link

How can i fix this probleme #43

Open hamzahlb opened 5 years ago

hamzahlb commented 5 years ago

1

donchi4all commented 5 years ago

The issues is that it is making reference to the table that has not created in the database Goto your env and add this ALGOLIA_APP_ID=YourApplicationID ALGOLIA_SECRET=YourAPIKey

after Run => php artisan migrate Run=>php artisan ecommerce:install

You might encounter below issues laravel-key-too-long

To Solve it To go App/Provider/AppServiceProvider.php add this use Illuminate\Support\Facades\Schema;

public function boot() { Schema::defaultStringLength(191); }

techguydev commented 5 years ago

45 This is the solution