2022.10 routing issues
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
2022.10 routing issues
Hi,
new Laravel 9 installation with Aimeos 2022.10 and auth with Jetstream and Livewire:
(on localhost, xampp vhots etc. set accordingly)
- localhost shows the laravel startpage, as accpected
- but localhost/login or localhost/register -> 404 not found
But when adding laravel/fortify routes.php to aimeos-laravel routes:
in \vendor\aimeos\aimeos-laravel\src\routes.php add
/login, /register and /shop works fine.
Shouldn't the two routes (from aimeos and fortify) be used automatically?
It seems like something is mixed up with routing.
I have no clue why, as I'm following the Laravel, Aimeos and Jetstream installation guides. Whats missing or wrong?
Thank you!
new Laravel 9 installation with Aimeos 2022.10 and auth with Jetstream and Livewire:
(on localhost, xampp vhots etc. set accordingly)
- localhost shows the laravel startpage, as accpected
- but localhost/login or localhost/register -> 404 not found
But when adding laravel/fortify routes.php to aimeos-laravel routes:
in \vendor\aimeos\aimeos-laravel\src\routes.php add
Code: Select all
require base_path() . '/vendor/laravel/fortify/routes/routes.php';
...
Shouldn't the two routes (from aimeos and fortify) be used automatically?
It seems like something is mixed up with routing.
I have no clue why, as I'm following the Laravel, Aimeos and Jetstream installation guides. Whats missing or wrong?
Thank you!
Re: 2022.10 routing issues
In 2022.10, the prefix for the CMS pages has been moved away from Aimeos routes.php but that causes a lot of trouble.
We've changed that back again in aimeos/aimeos-laravel:2022.10.x-dev. Can you please test if it works again after updating?
We've changed that back again in aimeos/aimeos-laravel:2022.10.x-dev. Can you please test if it works again after updating?
Code: Select all
composer req aimeos/aimeos-laravel:2022.10.x-dev
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: 2022.10 routing issues
now its working - thank you!