Multisites not working
Forum rules
Always add your Symfony, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Symfony, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 2
- Joined: 22 Nov 2018, 16:05
Multisites not working
Im added custom settings for routing from documentation https://aimeos.org/docs/Symfony/Configu ... iple_shops, run command php bin/console aimeos:setup testshop, no errors and other, but - when I send request to http://localhost:8099/testshop/, http://localhost:8099/testshop/list, etc - always got error 'No route found for "GET /testshop/list"'. Environment already switched to PROD. Symfony 4.1. Could you explain me, what is missed?
Re: Multisites not working
Did you forgot to run to update the changed routing?
Code: Select all
./bin/console cache:clear
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
-
- Posts: 2
- Joined: 22 Nov 2018, 16:05
Re: Multisites not working
Yep, and I got message:
Code: Select all
./bin/console cache:clear
// Clearing the cache for the dev environment with debug true
In RouteCompiler.php line 137:
Route pattern "/{site}/admin/{site}/jqadm/file/{type}" cannot reference variable name "site" more than once.
Re: Multisites not working
Did you forget to set the "aimeos_shop_admin" and "aimeos_shop_admin_check" routes?
https://aimeos.org/docs/Symfony/Configu ... he_routing
https://aimeos.org/docs/Symfony/Configu ... he_routing
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