socialpoint24 Posted August 21, 2018 Share Posted August 21, 2018 This page is stuck. https://hostingpoint24.com/clients/cart.php?a=confproduct&i=3 Here's my error. main.js:60 Uncaught ReferenceError: WHMCS is not defined at recalctotals (main.js:60) at cart.php?a=confproduct&i=3:307 This is line 60 of main.js var post = WHMCS.http.jqClient.post("cart.php", 'ajax=1&a=confproduct&calctotal=true&'+jQuery("#orderfrm").serialize()); post.done( function(data) { jQuery("#producttotal").html(data); } ); Here's line 307 of cart.php <script>recalctotals();</script> What's the fix? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 21, 2018 Share Posted August 21, 2018 whenever you see an error like this, and you're using a custom theme, the first thing to try is to switch to using Six - if you do that with your website, then it works fine with no errors. my suspicion is that your templates/ADK/js/scripts.min.js is out of date compared to the Six equivalent, but there may be other things going on with your template... you'll know better than I what changes you've made. also, Modern hasn't been updated in years - so that might be worth bearing in mind for the future. one final weird thing - nothing to do with the template, but I can order multiple quantities of the same SSL cert (assigned the same domain) from your site... that has to be an incorrect setting! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.