SiddBlue Posted April 30, 2021 Share Posted April 30, 2021 Hello All, Thanks in advance to the kind souls helping me. I have a problem and haven't been able to find a solution. The problem is related to WHMCS and WHMPress. I have inserted a Domain Search Ajax field in my page in WordPress (through WHMPress installed). Everything works perfectly except that whenever I search for a domain, it works fine - but also throws out a Smarty Debug Console popup window and I am unable to prevent this popup window from getting displayed. I have looked into the Smarty.class.php file for the below code: * @var boolean */ public $direct_access_security = true; /** * debug mode * Setting this to true enables the debug-console. * * @var boolean */ public $debugging = false; /** Setting the public $debugging = false doesn't seem to resolve this issue. Can someone help me on how I can prevent this popup window from opening up everytime I search for a Domain availability using the form. Any help provided is highly appreciated. Thanks, Sidd 0 Quote Link to comment Share on other sites More sharing options...
SiddBlue Posted May 8, 2021 Author Share Posted May 8, 2021 Hi Admin.. Any reason why this post wasn't approved? Can you kindly approve this post please? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 14, 2021 Share Posted May 14, 2021 Sidd, in your first.tpl template, is there a {debug} command in the code somewhere? that would cause the window to be opened on launch... if it's not in first.tpl, then work your way through these custom templates for a {debug} command. 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.