Guys, never with php I have not been to quietly pass off. documentation and search for the answers outside.
Ie what documentation should by default work, but not working, and the documentation a word about it, or it's almost in being.
laravel is no exception. Again, line up the debugger put the works, moving to
laravel/public/auth/login but this page. No.
write in index.php (
the link to the answer from the forum)
$request = Illuminate\Http\Request::capture();
$app->run($request);
get the error
Fatal error: Uncaught Error: Call to a member function run() on unknown in C:\www\OpenServer\domains\laravel\public\index.php:39 Stack trace: #0 {main} thrown in C:\www\OpenServer\domains\laravel\public\index.php on line 39
Sadly, even once.
Why not work by default the auth/login and how to fix it?
Google them thanks! - Hattie.Purdy28 commented on June 8th 19 at 17:07
php artisan make:auth
By default in Laravel there is no routes requests to the controller for authentication. You can add them manually in the file app/Http/routes.php:
- Jamaal_Bode commented on June 8th 19 at 17:10