- Posts: 606
- Thank you received: 13
Mass Action stopped working
- mohairbears
-
Topic Author
- Offline
Less
More
11 years 2 days ago #215343
by mohairbears
Mass Action stopped working was created by mohairbears
-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.4
-- Error-message(debug-mod must be tuned on) -- : none
Hi I have been using a mass action for quite a while now and for the last 2 days it has stopped working? when applying the action the page just goes blank and hangs? see below my configuration
.
-- Joomla version -- : 3.4.4
-- Error-message(debug-mod must be tuned on) -- : none
Hi I have been using a mass action for quite a while now and for the last 2 days it has stopped working? when applying the action the page just goes blank and hangs? see below my configuration
.
Please Log in or Create an account to join the conversation.
11 years 1 day ago #215344
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Mass Action stopped working
Hi,
If you have a full blank page ; please check your PHP error log because you should have a PHP fatal error.
Just like that and regarding your screenshot, I could suppose that you have an override for the notification email and that override might contains an error.
Regards,
If you have a full blank page ; please check your PHP error log because you should have a PHP fatal error.
Just like that and regarding your screenshot, I could suppose that you have an override for the notification email and that override might contains an error.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
- mohairbears
-
Topic Author
- Offline
Less
More
- Posts: 606
- Thank you received: 13
11 years 1 day ago #215385
by mohairbears
Replied by mohairbears on topic Mass Action stopped working
Hi Jerome,
Yes I have added this (with the correct email address) that I found in a post.
<?php if($data->order_status=="confirmed"){ $mail->bcc_email = 'xyz@xyz'; } ?>
I guess this is preventing it from working correctly? what I have noticed is that is does change the status of 1 order then freezes, is there some more code needs adding to prevent this?
thanks
Yes I have added this (with the correct email address) that I found in a post.
<?php if($data->order_status=="confirmed"){ $mail->bcc_email = 'xyz@xyz'; } ?>
I guess this is preventing it from working correctly? what I have noticed is that is does change the status of 1 order then freezes, is there some more code needs adding to prevent this?
thanks
Please Log in or Create an account to join the conversation.
11 years 1 day ago #215387
by nicolas
Replied by nicolas on topic Mass Action stopped working
Hi,
Turn on the "error reporting" and "debug mode" setting of the Joomla configuration. That should display an error message on the blank page when you process the mass action. Please provide it and we"ll be able to tell you what's going on.
The issue is probably that the mass action system finds too many orders and sending emails can take a lot of work on the server, so above a few orders to process at the same time, it will crash if the server's restrictions on memory and execution time are too low. A simple solution in that case is to reduce the limit value of your mass action (the 100 value) to only a few orders (2 or 3 for example) and that should then work properly if the issue comes from that.
Turn on the "error reporting" and "debug mode" setting of the Joomla configuration. That should display an error message on the blank page when you process the mass action. Please provide it and we"ll be able to tell you what's going on.
The issue is probably that the mass action system finds too many orders and sending emails can take a lot of work on the server, so above a few orders to process at the same time, it will crash if the server's restrictions on memory and execution time are too low. A simple solution in that case is to reduce the limit value of your mass action (the 100 value) to only a few orders (2 or 3 for example) and that should then work properly if the issue comes from that.
Please Log in or Create an account to join the conversation.
- mohairbears
-
Topic Author
- Offline
Less
More
- Posts: 606
- Thank you received: 13
11 years 16 hours ago #215441
by mohairbears
Replied by mohairbears on topic Mass Action stopped working
Please Log in or Create an account to join the conversation.
11 years 6 hours ago #215448
by nicolas
Replied by nicolas on topic Mass Action stopped working
Hi,
The error message says that you've modified the html version of the order status notification email incorrectly and broke it. So when the system tries to send the email, it crashes.
Fix your modifications there or remove the customization of that email and it will work.
The error message says that you've modified the html version of the order status notification email incorrectly and broke it. So when the system tries to send the email, it crashes.
Fix your modifications there or remove the customization of that email and it will work.
Please Log in or Create an account to join the conversation.
- mohairbears
-
Topic Author
- Offline
Less
More
- Posts: 606
- Thank you received: 13
10 years 11 months ago #215516
by mohairbears
Replied by mohairbears on topic Mass Action stopped working
Hi, Ok then, I found this in a post form you stating to put it in that email in HTML (with the correct email address of course)
<?php if($data->order_status=="confirmed"){ $mail->bcc_email = 'xyz@xyz'; } ?>
So where in the HTML should it be placed for it to work correctly?
thanks
<?php if($data->order_status=="confirmed"){ $mail->bcc_email = 'xyz@xyz'; } ?>
So where in the HTML should it be placed for it to work correctly?
thanks
Please Log in or Create an account to join the conversation.
10 years 11 months ago #215536
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Mass Action stopped working
Hi,
You should not place the code in another "<?php ?>" block.
Otherwise you have to remove the "<?php" and the "?>" in your code line ; which delimit the PHP code content.
Regards,
You should not place the code in another "<?php ?>" block.
Otherwise you have to remove the "<?php" and the "?>" in your code line ; which delimit the PHP code content.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
- mohairbears
-
Topic Author
- Offline
Less
More
- Posts: 606
- Thank you received: 13
10 years 11 months ago #215711
by mohairbears
Replied by mohairbears on topic Mass Action stopped working
Thanks Jerome, I really should have known that, bit of a school boy error on my part.
Please Log in or Create an account to join the conversation.
Time to create page: 0.269 seconds