Error when try to add new tennant in multishop
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!
- AleksandarJovanovic
- Posts: 53
- Joined: 01 Jun 2022, 21:26
Error when try to add new tennant in multishop
Php 8.2
Linux
Version 2024.07.
Hello everyone,
I have a problem when trying to add a new tenant in the multi-shop using the command:
php artisan aimeos:setup <site code>.
I get the following error:
No item found for conditions: Array
(
[locale.site.code] => proba
)
The new site does not appear in the admin panel, so I can't change the language or add it there.
Thanks in advance.
Linux
Version 2024.07.
Hello everyone,
I have a problem when trying to add a new tenant in the multi-shop using the command:
php artisan aimeos:setup <site code>.
I get the following error:
No item found for conditions: Array
(
[locale.site.code] => proba
)
The new site does not appear in the admin panel, so I can't change the language or add it there.
Thanks in advance.
- Attachments
-
- Screenshot from 2024-09-25 21-55-17.png (52.51 KiB) Viewed 19776 times
Re: Error when try to add new tennant in multishop
Can you please run "composer up" and try again? That problem should have been fixed recently.
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
- AleksandarJovanovic
- Posts: 53
- Joined: 01 Jun 2022, 21:26
Re: Error when try to add new tennant in multishop
I try that first but the problem still exist. I found another whay that i create first in admin and add locale for new tennant than activate comand for new multi shop. In that way works but on standard way cant create.
If you have idea will be great.
Best regards
If you have idea will be great.
Best regards
Re: Error when try to add new tennant in multishop
Sorry, you need to reinstall the Aimeos distribution from scratch because the change was here and this code isn't updated automatically like a package:
https://github.com/aimeos/aimeos/commit ... 4725fc5324
https://github.com/aimeos/aimeos/commit ... 4725fc5324
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
- AleksandarJovanovic
- Posts: 53
- Joined: 01 Jun 2022, 21:26
Re: Error when try to add new tennant in multishop
Ok just to install new installation?
Tnx
Tnx
- AleksandarJovanovic
- Posts: 53
- Joined: 01 Jun 2022, 21:26
Re: Error when try to add new tennant in multishop
I have installed a completely new installation, and the problem is the same.
Am I making a mistake somewhere?
Am I making a mistake somewhere?
Re: Error when try to add new tennant in multishop
OK, we've understood the problem now. In the 2024.10 version released in the next days, the setup command will be able to create new sites and add the necessary locale item automatically. You will be also able to configure the language and currently of the locale item (if different from en/USD) by using:
Code: Select all
php artisan aimeos:setup --option=setup/language:de --option=setup/currency:EUR testsite
Up to now, this is the way to go. Sorry for the misunderstanding!AleksandarJovanovic wrote: ↑26 Sep 2024, 09:15 I try that first but the problem still exist. I found another whay that i create first in admin and add locale for new tennant than activate comand for new multi shop. In that way works but on standard way cant create.
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
- AleksandarJovanovic
- Posts: 53
- Joined: 01 Jun 2022, 21:26
Re: Error when try to add new tennant in multishop
Thank you for all support.
Best regards. Alex
Best regards. Alex