404 Error after "Add to Cart"

  • Posts: 8
  • Thank you received: 0
7 years 10 months ago #259701

-- HikaShop version -- : 3.0.0
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.6.29
-- Browser(s) name and version -- : Any
-- Error-message(debug-mod must be tuned on) --

NO INDEX KEY COULD BE USED
https://fabricsandfringe.com/404-error-page#hikashop_category_information_module_473 div.hikashop_subcontainer,#hikashop_category_information_module_473 .hikashop_rtop *,#hikashop_category_information_module_473 .hikashop_rbottom * { background:#ffffff; }#hikashop_category_information_module_473 div.hikashop_subcontainer,#hikashop_category_information_module_473 div.hikashop_subcontainer span,#hikashop_category_information_module_473 div.hikashop_container { text-align:center; }#hikashop_category_information_module_473 div.hikashop_container { margin:10px 10px; }#hikashop_category_information_module_473 div.hikashop_category, #hikashop_category_information_module_473 div.hikashop_product { float:left; }#hikashop_category_information_module_473 .hikashop_subcontainer { -moz-border-radius: 5px; -webkit-border-radius: 5px; -khtml-border-radius: 5px; border-radius: 5px; }jQuery(function($) {SqueezeBox.initialize({});SqueezeBox.assign($('a.modal').get(), {parse: 'rel'});});window.jModalClose = function () {SqueezeBox.close();};// Add extra modal close functionality for tinyMCE-based editorsdocument.onreadystatechange = function () {if (document.readyState == 'interactive' && typeof tinyMCE != 'undefined' && tinyMCE){if (typeof window.jModalClose_no_tinyMCE === 'undefined'){window.jModalClose_no_tinyMCE = typeof(jModalClose) == 'function'  ?  jModalClose  :  false;jModalClose = function () {if (window.jModalClose_no_tinyMCE) window.jModalClose_no_tinyMCE.apply(this, arguments);tinyMCE.activeEditor.windowManager.close();};}if (typeof window.SqueezeBoxClose_no_tinyMCE === 'undefined'){if (typeof(SqueezeBox) == 'undefined')  SqueezeBox = {};window.SqueezeBoxClose_no_tinyMCE = typeof(SqueezeBox.close) == 'function'  ?  SqueezeBox.close  :  false;SqueezeBox.close = function () {if (window.SqueezeBoxClose_no_tinyMCE)  window.SqueezeBoxClose_no_tinyMCE.apply(this, arguments);tinyMCE.activeEditor.windowManager.close();};}}};jQuery(function($){ $(".hasTooltip").tooltip({"html": true,"container": "body"}); });jQuery(function($){ $(".hasPopover").popover({"html": true,"placement": "top","trigger": "hover focus","container": "body"}); });jQuery.notify.defaults({"arrowShow":false,"globalPosition":"top right","elementPosition":"top right","clickToHide":true,"autoHideDelay":5000,"autoHide":true});window.cartNotifyParams = {"reference":"global","img_url":"\/media\/com_hikashop\/images\/icons\/icon-32-newproduct.png","title":"Product added to the cart","text":"Product successfully added to the cart","wishlist_title":"Product added to the wishlist","wishlist_text":"Product successfully added to the wishlist","err_title":"Product not added to the cart","err_text":"Product not added to the cart","err_wishlist_title":"Product not added to the wishlist","err_wishlist_text":"Product not added to the cart"};Notice:  Undefined variable: qty_max in /home/fabricsandfringe/public_html/administrator/components/com_hikashop/classes/cart.php on line 2815function toggleContainer(name){var e = document.getElementById(name);// MooTools might not be available ;)e.style.display = (e.style.display == 'none') ? 'block' : 'none';}Joomla! Debug ConsoleSession{    "__default": {        "session": {            "counter": 44,            "timer": {                "start": 1484680030,                "last": 1484682611,                "now": 1484682620            },            "token": "UwLcXivECpr06bYBmJtp09z8Q920aNR4"        },        "registry": {            "com_hikashop": {                "user_id": 0,                "ssl_redirect": 0,                "zone_id": "223",                "popup_cart_type": "cart",                "shipping_method": [],                "shipping_id": [],                "shipping_data": []            }        },        "user": {            "id": 0,            "name": null,            "username": null,            "email": null,            "password": null,            "password_clear": "",            "block": null,            "sendEmail": 0,            "registerDate": null,            "lastvisitDate": null,            "activation": null,            "params": null,            "groups": [],            "guest": 1,            "lastResetTime": null,            "resetCount": null,            "requireReset": null,            "aid": 0        }    }}Profile InformationTimea class="bar dbg-bar bar dbg-bar progress-bar bar-danger progress-bar-danger hasTooltip" title="Start JAccessgetAssetRules Old (1) 80.2 ms" style="width: 19.561%;" href="#dbg-profile-3">a class="bar dbg-bar bar dbg-bar progress-bar bar-success progress-bar-success hasTooltip" title="Finish JAccessgetAssetRules Old (1) 1.75 ms" style="width: 0.4263%;" href="#dbg-profile-4">a class="bar dbg-bar bar dbg-bar progress-bar bar-success progress-bar-success hasTooltip" title="Start JAccessgetAssetRules Old (1) 0.09 ms" style="width: 0.0229%;" href="#dbg-profile-5">a class="bar dbg-bar bar dbg-bar progress-bar bar-success progress-bar-success hasTooltip" title="Finish JAccessgetAssetRules Old (1) 1.29 ms" style="width: 0.3144%;" href="#dbg-profile-6">Memorya class="bar dbg-bar bar dbg-bar progress-bar bar-danger progress-bar-danger hasTooltip" title="Start JAccessgetAssetRules Old (1) 2.503  MB" style="width: 29.9936%;" href="#dbg-profile-3">a class="bar dbg-bar bar dbg-bar progress-bar bar-success progress-bar-success hasTooltip" title="Finish JAccessgetAssetRules Old (1) 0.037  MB" style="width: 0.4403%;" href="#dbg-profile-4">a class="bar dbg-bar bar dbg-bar progress-bar bar-success progress-bar-success hasTooltip" title="Start JAccessgetAssetRules Old (1) 0  MB" style="width: 0%;" href="#dbg-profile-5">a class="bar dbg-bar bar dbg-bar progress-bar bar-success progress-bar-success hasTooltip" title="Finish JAccessgetAssetRules Old (1) 0.028  MB" style="width: 0.3328%;" href="#dbg-profile-6">Time: 6.88 ms / 6.88 ms Memory: 0.186 MB / 0.41 MB Application: afterLoadTime: 83.93 ms / 90.81 ms Memory: 2.293 MB / 2.70 MB Application: afterInitialiseTime: 80.20 ms / 171.01 ms Memory: 2.503 MB / 5.20 MB Application: Start JAccess::getAssetRules Old (1)Time: 1.75 ms / 172.76 ms Memory: 0.037 MB / 5.24 MB Application: Finish JAccess::getAssetRules Old (1)Time: 0.09 ms / 172.86 ms Memory: 0.000 MB / 5.23 MB Application: Start JAccess::getAssetRules Old (1)Time: 1.29 ms / 174.14 ms Memory: 0.028 MB / 5.26 MB Application: Finish JAccess::getAssetRules Old (1)Time: 0.72 ms / 174.87 ms Memory: 0.003 MB / 5.26 MB Application: afterRouteTime: 3.71 ms / 178.58 ms Memory: 0.048 MB / 5.31 MB Application: beforeRenderComponent com_hikashopTime: 183.65 ms / 362.22 ms Memory: 3.060 MB / 8.37 MB Application: afterRenderComponent com_hikashopTime: 2.01 ms / 364.24 ms Memory: 0.019 MB / 8.39 MB Application: afterDispatchTime: 45.78 ms / 410.02 ms Memory: 0.168 MB / 8.56 MB Application: afterRenderDatabase queries total: 111.38 msMemory Usage9.55 MB (10,010,568 Bytes)Database Queries65 Queries Logged 111.38 ms18 duplicate found!2 duplicates: #17  #182 duplicates: #19  #542 duplicates: #20  #342 duplicates: #21  #352 duplicates: #28  #382 duplicates: #29  #372 duplicates: #43  #472 duplicates: #55  #602 duplicates: #56  #61Query Time: 0.66 ms Query memory: 0.019 MB Memory before query: 0.908 MB Rows returned: 1a class="bar dbg-ba……

When a customer selects an item and presses the "Add to Cart" button, the item gets added to the cart but the page returns a 404 error with a ton of code instead of category page, or any other page for that matter. Please help as this site is live.

Last edit: 7 years 10 months ago by Jerome. Reason: [code] is nice

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 10 months ago #259711

Hi,

When we are trying to access to your website (just the home page) we got the message

403 - This request is blocked by Admin Tools. Please change this message in the component's options.


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.

  • Posts: 8
  • Thank you received: 0
7 years 10 months ago #259769

Sorry, I've unblocked access, you can proceed. Thanks for your help.

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 10 months ago #259773

Hi,

Thanks for the unlock.
Would it be possible to have more details about your current configuration ?
The points which are interesting us are related to the "advanced / legacy" settings (after a product is added to the cart / use ajax when possible).

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.

  • Posts: 8
  • Thank you received: 0
7 years 10 months ago #259779

That fixed it. I turned Ajax off and the page works as it should. Thank you.

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 10 months ago #259780

Hi,

It's a good new for you but a bad news for other people.
If we can't know the configuration that you had ; we won't be able to fix the issue for potential other users with the same configuration that you had, so with the same problem.

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.

  • Posts: 8
  • Thank you received: 0
7 years 10 months ago #259790

Sorry. Thought it was evident. Under "advanced / legacy" settings (after a product is added to the cart) / "use ajax whenever possible" was turned on. I turned it off and it worked.

Please Log in or Create an account to join the conversation.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 10 months ago #259793

Hi,

We performed several tests with different possibilities of "After a product is added to the cart" with the "use ajax when possible" activated and we finally found the configuration with the issue.
We updated the HikaShop 3.0 package with the patch.

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.

Time to create page: 0.066 seconds
Powered by Kunena Forum