ithaki Posted February 25, 2016 Share Posted February 25, 2016 I am running theme six and have the following problem. When someone does a search for a domain name extension that doesn't exist e.g: abcd.aabbbcc from the main page, the domainchecker page shows this domain as available instead of showing that it is an invalid extension TLD. I am using the Standard Public WHOIS service for lookups. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 25, 2016 Share Posted February 25, 2016 that sounds unusual - when I try that on our v6, it correctly gives the "Pricing not available for this TLD." error messages and shows alternate abcd.TLD domains... so does the official WHMCS demo. have you made any modifications to your templates? 0 Quote Link to comment Share on other sites More sharing options...
ithaki Posted February 25, 2016 Author Share Posted February 25, 2016 It is unusual as im trying it with the original six them and I am updated to the latest version of whmcs. Under General Settings: Do you also have it setup as: Domain Lookup Standard WHOIS Use the Standard Public WHOIS service for lookups. Also do you perhaps know where I can get a fresh copy of six theme. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 25, 2016 Share Posted February 25, 2016 It is unusual as im trying it with the original six them and I am updated to the latest version of whmcs.Under General Settings: Do you also have it setup as: Domain Lookup Standard WHOIS Use the Standard Public WHOIS service for lookups. yes - I have the same as you. Also do you perhaps know where I can get a fresh copy of six theme. you can download the latest version from https://download.whmcs.com/ - you may need to login first. 0 Quote Link to comment Share on other sites More sharing options...
ithaki Posted February 25, 2016 Author Share Posted February 25, 2016 Brian You can check the six theme of ours at: http://www.sadomain.co.za/?systpl=six This is the original with no changes to code. I am running V6.2.2 If you can help me or point me in the right direction to getting this repaired ill appreciate it. Regards Andrew 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 25, 2016 Share Posted February 25, 2016 Andrew, that's really weird seeing it live! best solution would be to upload the latest version again... that should rule out a corrupt file being the cause. 0 Quote Link to comment Share on other sites More sharing options...
ithaki Posted February 25, 2016 Author Share Posted February 25, 2016 I have already done that. This problem is driving me nuts as some clients register extensions that we dont have and pay for them. Then they give me a hard time as to why the system allowed it. - - - Updated - - - If you use template five, it works which makes it more confusing http://www.sadomain.co.za/?systpl=five 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 25, 2016 Share Posted February 25, 2016 Andrew, lol - I had the same thought and tried "five" and that works fine... also, the two Six domainchecker templates are fine - exactly thesame as mine... i'm not convinced that this is being caused by the template. I can see that this is a v5 installation that's been updated to v6, so i'm wondering if there is an old v5 addon/hook clashing with Six? perhaps it's a .js clash?? I know that the WHMCMS addon is there, but whether that could cause this, I doubt. when did you notice this starting of occur? after the last update ?? any errors in the activity log ? if you can't figure out what's causing it, if it were me (and only as a last resort!), i'd take a backup of the site, delete it and re-install the latest full version again... keeping the existing config file and database... and then install any addons one by one (first checking for v6 compatability)... but as I say, that's what i'd do... i'm not suggesting you do it at this stage! 0 Quote Link to comment Share on other sites More sharing options...
ithaki Posted February 25, 2016 Author Share Posted February 25, 2016 It was faulty before the last update 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 26, 2016 Share Posted February 26, 2016 then that smells like there's some old v5 files hanging around causing a conflict. 0 Quote Link to comment Share on other sites More sharing options...
ithaki Posted February 28, 2016 Author Share Posted February 28, 2016 Brian We tried a new install v6.2.2 from scratch. The problem still persisted with the search. Any Domain tld (.bbhd) could be registered in theme six. I don't know if this will help. I noticed that theme five has a check valid tld function in it in the domain checker tpl. I couldn't find a check valid function in theme six. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 28, 2016 Share Posted February 28, 2016 (edited) Hi Andrew, did you just install it over the existing installation rather than backing up and deleting everything first? i'm assuming that you did because the old client-area templates are still there (Portal, Classic, Default) and as they're not included in the latest v6 release, you can't have installed them again... while those other templates won't be causing this issue, it's just an indication that there are still old files present. the really weird part is that when you search for abcd.aabbbcc, not only does it tell you that it's available - but it gives you a price of R367.00 - now I could be wrong, but none of your other TLDs seem to cost R367.00 - so where is it getting that price from ? the problem is, and would probably apply even if you contacted support about this, is that I don't know what other addons/hooks/modifications you have floating around in your installation... it might only take one file to cause an issue with WHMCS - but with a clean installation, this problem will (almost certainly!) cease to happen. I suppose (in theory) it's possible that it's the template as I couldn't get your six template working on my dev last week, but if you say that you've re-installed it and it's still occurring, then it can't be the template - if it were, this place would be awash with similar complaints and i'd be able to reproduce it (either locally or on the official demo) and I can't. Edited February 28, 2016 by brian! 0 Quote Link to comment Share on other sites More sharing options...
ithaki Posted February 28, 2016 Author Share Posted February 28, 2016 Brian We did a complete delete and then installed a completely fresh version of whmcs version 6.2.2. Before I added any modules or addons I did a test to see if theme 6 worked. Unfortunately it still had the same problem where I could register anything and it picked up the price of R367.00. After that I reinstalled our original version of whmcs 6.2.2 , that is why you are picking up the Portal, Classic, Default templates as I reverted back to our original version. I have scanned all the coding in both themes and picked up on the following which I hope will help. 1. On the domainchecker.tpl page in theme five line 44 there is the following code which I assume checks if the TLD is valid: {if $lookup} {if $invalidtld} <p class="fontsize3 domcheckererror textcenter">{$invalidtld|strtoupper} {$LANG.domaincheckerinvalidtld}</p> 2. On the domainchecker.tpl and domainchecker-results.tp pages in theme six I cannot reference or find anywhere where it looks up for invalid TLD's 0 Quote Link to comment Share on other sites More sharing options...
ithaki Posted February 28, 2016 Author Share Posted February 28, 2016 Brian Would it be possible to mail me the domainchecker-results.tpl and domainchecker.tpl or zip the six theme and send it to me. andrew@sadomain.co.za 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 29, 2016 Share Posted February 29, 2016 I wouldn't worry too much about the differences between five checking for an invalidtld and six not doing it - with v6, I think that is handled by jquery - as far as I can tell, your template files are the same except for possibly header.tpl 0 Quote Link to comment Share on other sites More sharing options...
ithaki Posted February 29, 2016 Author Share Posted February 29, 2016 Brian How is the jquery pulled into the page 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.