Setup Command Multi Shop Duplicate Email
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!
Setup Command Multi Shop Duplicate Email
Hello,
Version info:
Laravel - 8.x, PHP - 8.0, Aimeos - ~2023.04
I am trying to set up multiple shops. I've set the SHOP_MULTISHOP variable to true. But when I try to execute aimeos:setup command for a new site I'm getting this error: "SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'demo@example.com' for key 'unq_lvu_email'". Is there any way to customize or overwrite what data to be used for setup? And if not, is there any other way to solve this issue?
Thank you.
Version info:
Laravel - 8.x, PHP - 8.0, Aimeos - ~2023.04
I am trying to set up multiple shops. I've set the SHOP_MULTISHOP variable to true. But when I try to execute aimeos:setup command for a new site I'm getting this error: "SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'demo@example.com' for key 'unq_lvu_email'". Is there any way to customize or overwrite what data to be used for setup? And if not, is there any other way to solve this issue?
Thank you.
Re: Setup Command Multi Shop Duplicate Email
Don't add the demo data to multiple shops as the email address is required to be unique across all sites.
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: Setup Command Multi Shop Duplicate Email
Then when I try to access the new site it's showing laravel exception error page. And anyway it is not working without any default data.
Re: Setup Command Multi Shop Duplicate Email
Just execute that command:
Code: Select all
php artisan aimeos:setup
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: Setup Command Multi Shop Duplicate Email
Thank you, that seems to work.