You should if you nginx contains the rewrites or if you have apache, check if an .htaccess file is available. From what I can see, it looks like a problem with the rewrites.
If you cached your routes, then try to run this:
php artisan route:cache
or don't cache them at all
php artisan route:clear
I have the exact the same problem.
I tried "php artisan route:cache" and "php artisan route:clear" but the problem is tstill there,
I'm running xampp with apache and I have a .htaccess file in the public directory (that laravel created I think)
It looks like this:
<IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews </IfModule>RewriteEngine On
##Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
##Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
Is it any problem in that one?
Find the problem myself.
If you are running apache in xmapp It wont work
But if you start the server with 'php artisan serve --port=80' it works
Check if the Rewrite module is active and relevant htaccess had AllowOverride set correctly.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community