Whoops, looks like something went wrong
<p>I have update the php version to 7.0 and add this code to application/app/Providers/AppServiceProvider.php </p>
<p>use Illuminate\Support\Facades\Schema;</p>
<p>public function boot()
{
Schema::defaultStringLength(191);
}</p>
<p>as i found them in the forums but still i got Whoops, looks like something went wrong.
what should i do next to solve this issues? </p>
<p>thanks</p>
now am trying to reinstall again this is what i got. SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 1000 bytes (SQL: alter table categories add unique categories_slug_unique(slug))
thanks but i am not in web developer but i just know basic so i don't know what to do next, i have sent email almost 14 days until now no help from devdojo. can you please copy and past the code here for me to follow.
this is how i put the code.....
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; use Laravel\Dusk\DuskServiceProvider; class AppServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { // } /** * Register any application services. * * @return void */ public function register() { if ($this->app->environment('local', 'testing')) { $this->app->register(DuskServiceProvider::class); } use Illuminate\Support\Facades\Schema; public function boot() { Schema::defaultStringLength(191); } } } please just let me know if is alright. thanks