Jump to content

Hangs on Checking Availability


Recommended Posts

Hi,

 

I am getting an issue on a few different browsers. Whenever I check for a domain it just hangs.. se screenshot.  I posted on this a few days ago, but the issue is persisting, and I kinda blew up that thread with other issues. So I am starting an ew thread to keep is focused.  Thanks for any help/feedback, I am new to WHMCS.

Feel free to test at:

https://clientportal.uxmediahouse.com/cart.php?gid=1

 

Screenshot 2020-03-01 19.54.15.png

Link to comment
Share on other sites

8 hours ago, UXmedia said:

I am getting an issue on a few different browsers. Whenever I check for a domain it just hangs.. se screenshot.

that first link should probably contain the solution to your issue - as it looks to be an issue with content-type.

as a short-term fix, you could switch your default orderform template to Modern as your domain searches work with that old deprecated template - but ultimately, you'll need to get this working with SC as modern won't be around forever.

also, you should test it with a default version of Six & SC, bbut from looking from the outside, it fails with that too - so I doubt this is a specific template issue.

Link to comment
Share on other sites

Thanks @brian! I did find what i think is an answer in the first doc, the second one is not relevant as I never get as far as ordering. so there are no records in the logs.

So, from what I gather from the first doc, I definitely have this in the cart header:
Content-Type: text/html; charset=utf-8

and it seems I should have this:
Content-Type: application/json

But when i add that in at Setup > General Settings > Localisation tab it equates to this:
Content-Type: text/html; charset=application/json

So... i am not sure whats up. I called the host and they said this would need to be modified in the header file.  Is that true? Does this really not work out of the box? I did finally duplicate a Cart template..si I can modify away if I need to without things being overwritten on future updates.

If I switch to the Modern Template everything works... but as you said, this is a temporary fix.  I really need this to work... and I am not sure what the next step is. Also, switching back to SIX as you suspected doesn't make it work.

Thanks for any help here. I am ALMOST there with this new system!

 

 

 

Link to comment
Share on other sites

16 hours ago, UXmedia said:

Does this really not work out of the box?

for the most part, it should - but it only needs one little thing not configured correctly (or missing/corrupt) and you can get errors... or features not working.

as a general rule when installing/configuring WHMCS for the first time, you shouldn't worry about how it looks - you can easily customise at a future point, but the most important thing is to get the configurations right... so initially, don't bother duplicating templates or making any customisations (css, hooks, addons etc), just follow the setup guide... 

then when you have at least one currency added, and a payment gateway (perhaps an offline one like bank transfer or Mail In Payment), then you can add a product and a domain TLD (and price it) in the admin area and then do a dummy order in the client area cart and see if it works... that way, if there is an issue, you know that it shouldn't be the templates (as you haven't changed them), and it should make resolving the issue slightly easier... whereas if you add all your products, tlds, customise the site and then start testing, there are more potential causes to rule out.

if/when it's working, then you can start adding more products, TLDs, gateways etc, and finally you customise the look - with regular testing throughout to ensure issues haven't been introduced to your install....

16 hours ago, UXmedia said:

and I am not sure what the next step is.

from your localisation settings, are you saying that the charset was originally something other than utf-8, but that you've changed it to utf-8 now ? have you ruled out this being a Cloudflare issue??

Link to comment
Share on other sites

44 minutes ago, brian! said:

as a general rule when installing/configuring WHMCS for the first time, you shouldn't worry about how it looks - you can easily customise at a future point, but the most important thing is to get the configurations right... so initially, don't bother duplicating templates or making any customisations (css, hooks, addons etc), just follow the setup guide... 

Thanks @brian! i have customized the look a bit, but only with CSS. and switching back to the default template or removing all the CSS dosnt change the issue.

 

45 minutes ago, brian! said:

from your localisation settings, are you saying that the charset was originally something other than utf-8, but that you've changed it to utf-8 now ? have you ruled out this being a Cloudflare issue??

It was originally utf-8, and still is, but from that doc it sounded like i needed to change it.. the doc was a bit confusing to me so maybe I misunderstood. As for Cludflare.. that is not an issue.

Link to comment
Share on other sites

2 minutes ago, UXmedia said:

i have customized the look a bit, but only with CSS. and switching back to the default template or removing all the CSS doesnt change the issue.

no I know, that was mainly for others who read the thread in the future who blindly dive in WHMCS head first, add a load of products, TLDs, customise the site and only THEN decide to test their setup... it's a bugbear of mine. 😠

5 minutes ago, UXmedia said:

It was originally utf-8, and still is, but from that doc it sounded like i needed to change it.. the doc was a bit confusing to me so maybe I misunderstood.

no utf-8 is fine.

  • have you checked your php extensions to ensure that json is enabled ?
  • have you tried changing your lookup provider in Domain Settings ? i'm assuming it's either standard whois or namespinner... it json isn't enabled, then you'll likely get a modal error message if you try to change the setting.
Link to comment
Share on other sites

2 minutes ago, brian! said:

no I know, that was mainly for others who read the thread in the future who blindly dive in WHMCS head first, add a load of products, TLDs, customise the site and only THEN decide to test their setup... it's a bugbear of mine. 😠

Yes, I bet.  I have done a lot of customization over the yers, so definitely did troubleshoot that end o things.

2 minutes ago, brian! said:
  • have you checked your php extensions to ensure that json is enabled ?
  • have you tried changing your lookup provider in Domain Settings ? i'm assuming it's either standard whois or namespinner... it json isn't enabled, then you'll likely get a modal error message if you try to change the setting.

Ill check into this.  Thanks again for all your help!Insert other media

 

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