asd200 Posted May 13, 2016 Share Posted May 13, 2016 Hi. I have problem with "use own domain" - when I'm trying to order a hosting package without buying domain after click "use own domain" nothing hapend. I configured also domains reseller service, and after I choosing new domain name is forwarding to next step... any ideas? 0 Quote Link to comment Share on other sites More sharing options...
asd200 Posted May 13, 2016 Author Share Posted May 13, 2016 I discovered that it's connected with "Standard Cart" template - it's not working after upload even in pure version from my zip package. With theme named "Boxes" it works correctly. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 14, 2016 Share Posted May 14, 2016 if you're using a custom theme, perhaps it might be clashing (jquery?) with the standard_cart orderform template? i've just tried this on our v6.3.1 dev, using the default 'Six' theme and using own domain works fine with standard_cart - it also works on the WHMCS demo that is using the v6.3RC release. 0 Quote Link to comment Share on other sites More sharing options...
asd200 Posted May 14, 2016 Author Share Posted May 14, 2016 Even with clear "six" theme + clear "standard_cart" it's working only with theme named "boxes" I'm almost sure that it isn't problem with configuration of my WHMCS by stricte with template. But where? 0 Quote Link to comment Share on other sites More sharing options...
asd200 Posted May 14, 2016 Author Share Posted May 14, 2016 Maybe you right that it's problem with JS but which? I discovered that I also can't delete items from my cart. - - - Updated - - - To make it more clearly: After I click "check" to check if domain is available to register or transfer - new button is showing named "continue". When I trying to click "use own domain" button continue just simply doesn't appear 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 14, 2016 Share Posted May 14, 2016 as this is probably a new installation or upgrade, the first thing to try is to upload all of the files again - I know that you've previously uploaded the templates again, but this time re-upload everything (perhaps not the install folder!) and see if that fixes the issue. often with WHMCS, it only takes one file, missing or corrupt, to cause issues... e.g perhaps a file is missing/corrupt from the 'assets' folder etc and uploading again is a simpler fix that trying to tweak the templates or js... especially when I think they are basically ok. you could try emptying the template cache too - utilities -> system -> system cleanup -> empty template cache. 0 Quote Link to comment Share on other sites More sharing options...
asd200 Posted May 15, 2016 Author Share Posted May 15, 2016 Even after I uploaded pure package downloaded from internet and I overwrite only one file - configuration.php with basic six temeplate and standard cart it's still didn't redirecting me farther Cache of my frowser was clear and I did also utilities -> system -> system cleanup -> empty template cache damn. 0 Quote Link to comment Share on other sites More sharing options...
asd200 Posted May 15, 2016 Author Share Posted May 15, 2016 It also didn't work on new url with new database and everything from softaculus installation 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 16, 2016 Share Posted May 16, 2016 you could do the old 'turn it off, turn it on' again trick... e.g go to setup -> general settings -> domains and untick the "Allow clients to use their own domain" checkbox, save changes and then return to the page, tick the checkbox and save changes again. I doubt it will work, but it can do no harm to try. have you tried it in an alternate browser ? have you tried a new clean manual installation without using Softaculous, e.g delete everything and then manually install from scratch... ideally if you have no client/invoicing info in the db, with a new database ? 0 Quote Link to comment Share on other sites More sharing options...
asd200 Posted May 16, 2016 Author Share Posted May 16, 2016 I tried everything and still not working ... event new instalation in new folder. It's starting to be annoying :C 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 16, 2016 Share Posted May 16, 2016 if you can tell me your URL, i'll take a look at your site - if you don't want to it publicly, feel free to PM it to me. 0 Quote Link to comment Share on other sites More sharing options...
zomex Posted May 16, 2016 Share Posted May 16, 2016 Hello, I'd also be willing to take a look for you. Another suggestion would be to check that the permissions of all files are correct. In recent versions WHMCS is loading more files outside of the templates folder such as from /assests/ so it's worth confirming that all of these exist and are up to date. What you're describing definitely sounds like a Javascript issue seen commonly with custom templates but seeing as you're using stock WHMCS templates it's more unusual but I have seen this happen before. 0 Quote Link to comment Share on other sites More sharing options...
asd200 Posted May 18, 2016 Author Share Posted May 18, 2016 Hi guys. Thanks for your replies! I take a look on each suggestion that you posted, but non of them is working in my case. I did it another way - I took a parts of six template code, and after few tries I have everything working... I hope Thanks one more time, keep in touch 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 18, 2016 Share Posted May 18, 2016 whatever works I guess! 0 Quote Link to comment Share on other sites More sharing options...
asd200 Posted May 18, 2016 Author Share Posted May 18, 2016 Yep it's working good, but there is second small issue. So: Do you know guys how to stop loading specific .JS on specific page? Becouse I have two "bootstrap.js" - one small, and one default from BASE JS DIR. When I'm using this one from BASE DIR I can't change cPanel password, but when I'm using this second one - small - this time checkout button is not working. So solution is to stop loading basic bootstrap.js on productdetails page and load only this second - small - file. I have found something like this in the past, but now I can't find this again. If you know something in this topic I would be gratefull Regards! 0 Quote Link to comment Share on other sites More sharing options...
asd200 Posted May 18, 2016 Author Share Posted May 18, 2016 (edited) Ok I got this! For future generations : {if $smarty.get.action!='productdetails'}<script type="text/javascript" src="{$BASE_PATH_JS}/bootstrap.min.js"></script> {/if} {if $smarty.get.action eq "productdetails"} <script type="text/javascript" src="{$WEB_ROOT}/templates/{$template}/js/bootstrap.js"></script> {/if} Edited May 18, 2016 by asd200 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 19, 2016 Share Posted May 19, 2016 i'd be tempted to make that code slightly neater... {if $smarty.get.action neq 'productdetails'} <script type="text/javascript" src="{$BASE_PATH_JS}/bootstrap.min.js"></script> {else} <script type="text/javascript" src="{$WEB_ROOT}/templates/{$template}/js/bootstrap.js"></script> {/if} in fact, I think you should be able to use... {if $action neq 'productdetails'} <script type="text/javascript" src="{$BASE_PATH_JS}/bootstrap.min.js"></script> {else} <script type="text/javascript" src="{$WEB_ROOT}/templates/{$template}/js/bootstrap.js"></script> {/if} 0 Quote Link to comment Share on other sites More sharing options...
asd200 Posted May 19, 2016 Author Share Posted May 19, 2016 Yep you are right, it working perceft. Thanks man 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.