I'm testing Jetsream in Laravel 8, and register and login work, but when I click on "Profile" it gives me this error. I have Laravel Installer 4.0.4, Laravel Framework 8.5.0.
To install create the project I used the following commands: laravel new jetstream --jet php artisan migrate
This serves to solve the first problem, but consequently it generates others and in the end it becomes endless. The most efficient solution is to switch to Laragon, Valet or Homestead.
In my case I was using Wamp, what I did was create the virtual host from Apache->httpd-vhosts.conf, then I also added it to System, etc, hosts and it worked.
Ok, I was able to fix it...
What you have to do is add the code {{url()}} to all the hrefs of the navigation-dropdown.blade.php document.
such as change:
a:
Update
This serves to solve the first problem, but consequently it generates others and in the end it becomes endless. The most efficient solution is to switch to Laragon, Valet or Homestead.
In my case I was using Wamp, what I did was create the virtual host from Apache->httpd-vhosts.conf, then I also added it to System, etc, hosts and it worked.
The url was left http://laravel8.com.devel
But, it is causing me problems to load the profile photo from the storage.
I think just configuring our .env file is enough
APP_URL=http://192.168.0.100/public
or if you have configured your vhost for example as "mipagina.puebras" it would be
APP_URL=http://mypage.tests
Enter this command, make sure you are in your project folder.
all your problems are solved by looking at the documentation of what you use. https://jetstream.laravel.com/2.x/features/profile-management.html