Error Logs issue caused by Zone Based shipping add-on
Permalink 2 users found helpful
Hi guys,
Is there anybody who uses Zone Based Shipping? I need a help regarding it. By the way it works properly for me but it lists a huge logs each second.
The logs is like below:
If you look into it, you can see that the log lists each second after. Why it happens?
Citytech
Is there anybody who uses Zone Based Shipping? I need a help regarding it. By the way it works properly for me but it lists a huge logs each second.
The logs is like below:
Date/Time Log Type Text 11:41:59 PM Zone Based Shipping >>>>BEGIN>>>> Test Country FAIL ( 'equal to' United States) Test Country FAIL ( 'equal to' Canada) Test Country FAIL ( 'equal to' United Kingdom) Test Country FAIL ( 'equal to' Australia) Test Country PASS ( 'default' Rest of World) zone = International - Other Shipping calculation by Cart <<<<<END<<<<< 11:41:57 PM Zone Based Shipping >>>>BEGIN>>>> Test Country FAIL ( 'equal to' United States) Test Country FAIL ( 'equal to' Canada) Test Country FAIL ( 'equal to' United Kingdom) Test Country FAIL ( 'equal to' Australia) Test Country PASS ( 'default' Rest of World) zone = International - Other
Viewing 15 lines of 81 lines. View entire code block.
If you look into it, you can see that the log lists each second after. Why it happens?
Citytech
looks like the Rule Diagnostics is still turned on in the module
Okay now turned off all the diagnostics in ZBS. Thanks for your reply.
Citytech
Citytech
As I noted in my response to the support request, as well as needing to turn off the diagnostics on a live site, users also need to consider why the shipping rules are being recalculated.
Something is happening that is causing lots of page hits to eCommerce in the chaeckout process, causing eCommerce to call ZBS for calculations. If these page hits are customers, Fantastic!! However, users of ZBS should also check there is not something happening on their site that shouldn't that is causing calls to the checkout process (for example, is a botnet trying to hack the cart?)
In this particular case, it turned out the cart was shown on every page, so the eCommerce cart was checking the shipping module every time a page was shown.
This creates some server loading, but is not an issue unless the server is near its limits anyway, and as long as the ZBS diagnostics are switched off on a live site.
Something is happening that is causing lots of page hits to eCommerce in the chaeckout process, causing eCommerce to call ZBS for calculations. If these page hits are customers, Fantastic!! However, users of ZBS should also check there is not something happening on their site that shouldn't that is causing calls to the checkout process (for example, is a botnet trying to hack the cart?)
In this particular case, it turned out the cart was shown on every page, so the eCommerce cart was checking the shipping module every time a page was shown.
This creates some server loading, but is not an issue unless the server is near its limits anyway, and as long as the ZBS diagnostics are switched off on a live site.