Jump to content

Use own domain in hosting package not working


asd200

Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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. :shock:

Link to comment
Share on other sites

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. :idea:

 

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 ?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 :D

 

Thanks one more time,

keep in touch

Link to comment
Share on other sites

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 :P

 

Regards!

Link to comment
Share on other sites

Ok I got this!

 

For future generations :D :

{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 by asd200
Link to comment
Share on other sites

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}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated