Some conjobs seem not working
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!
Some conjobs seem not working
Hello!
Thanks for your help so far...
I'm building a great e-commerce app thank to Aimeos.
However, I'm dealing with some issues:
1- I set up the cronjob like explained in the doc and I actually get emails when customers make payments.
But they don't receive the email containing their password when they check 'Create a customer account for me'. I asked to receive an email when cronjob failed but I don't receive anything about this one.
Here is how I set the cron :
I executed on the CLI:
Then, I added the line
Any idea about this that can help me?
2- The cron "product/export/sitemap" also keep falling. As I asked to receive an email when this happen, I keep receiving every day at 00:00 am, an email saying
How can I provide the parameter 'locale' to the cron, please?
Thanks for your help!
Thanks for your help so far...
I'm building a great e-commerce app thank to Aimeos.
However, I'm dealing with some issues:
1- I set up the cronjob like explained in the doc and I actually get emails when customers make payments.
But they don't receive the email containing their password when they check 'Create a customer account for me'. I asked to receive an email when cronjob failed but I don't receive anything about this one.
Here is how I set the cron :
I executed on the CLI:
Code: Select all
crontab -e
Code: Select all
* * * * * php /absolute/path/to/artisan aimeos:jobs "order/export/csv order/email/delivery order/email/payment order/email/voucher order/service/delivery subscription/export/csv customer/email/account"
2- The cron "product/export/sitemap" also keep falling. As I asked to receive an email when this happen, I keep receiving every day at 00:00 am, an email saying
Code: Select all
Missing required parameter for [Route: aimeos_shop_detail] [URI: {locale}/shop/{d_name}/{d_pos?}/{d_prodid?}] [Missing parameter: locale].
Thanks for your help!
Re: Some conjobs seem not working
You cronjob setup seems to be OK for sending account e-mails. Which Aimeos version do you use?
The product sitemap didn't support multiple locales and sites until recently. This feature is available in the latest 2022.07 release.
The product sitemap didn't support multiple locales and sites until recently. This feature is available in the latest 2022.07 release.
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: Some conjobs seem not working
I'm on the 2021.10 version
Re: Some conjobs seem not working
Can you add a debug statement here to see if the job performs any action?
https://github.com/aimeos/ai-client-htm ... rd.php#L74
https://github.com/aimeos/ai-client-htm ... rd.php#L74
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: Some conjobs seem not working
The execution of the following line https://github.com/aimeos/ai-client-htm ... d.php#L135
throws this error:
It seems it's the same issue as with the "product/export/sitemap" cron
Am I the only one having this issue with a multi-language aimeos site?
throws this error:
Code: Select all
Missing required parameter for [Route: aimeos_shop_account] [URI: {locale}/profile] [Missing parameter: locale].
Am I the only one having this issue with a multi-language aimeos site?
Re: Some conjobs seem not working
The sitemap job controller supports multi-locale environments only recently (2022.07+)
Did you overwrite the template for the customer account e-mails? In 2021.10, the locale parameter is added to the URL by default:
https://github.com/aimeos/ai-client-htm ... .mjml#L152
Did you overwrite the template for the customer account e-mails? In 2021.10, the locale parameter is added to the URL by default:
https://github.com/aimeos/ai-client-htm ... .mjml#L152
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: Some conjobs seem not working
Actually no, I didn't overwrite any template for the customer account e-mails.
I did some debugging and the mail is sent correctly when I remove this only line: https://github.com/aimeos/ai-client-htm ... rd.php#L34
However, the login button doesn't redirect to the login page anymore.
I did some debugging and the mail is sent correctly when I remove this only line: https://github.com/aimeos/ai-client-htm ... rd.php#L34
However, the login button doesn't redirect to the login page anymore.
Re: Some conjobs seem not working
The locale parameter for login has been added in 2022.04 release.
If you want to use a multi-locale setup, maybe it's better to switch to the current 2022.07 release which supports multiple locales in cronjobs much better than before.
If you want to use a multi-locale setup, maybe it's better to switch to the current 2022.07 release which supports multiple locales in cronjobs much better than before.
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: Some conjobs seem not working
Sure... I really appreciate your help.
Thank you, dear!!
Thank you, dear!!