Craft Posted June 19, 2019 Share Posted June 19, 2019 When I run "Terminate" module for any account, the system terminates the account successfully. But it is not adding the current date to (Termination Date) field and the Status is still remaining (Active). 0 Quote Link to comment Share on other sites More sharing options...
kan Posted June 19, 2019 Share Posted June 19, 2019 Hi You should check your WHM connectivity with WHMCS. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted June 19, 2019 WHMCS Support Manager Share Posted June 19, 2019 Hi @Craft, I've tested on my installation and the page reloads automatically to show the change in status and the termination date. If you refresh the page, is the status still showing as Active? If so: Please enable the Setup > General Settings > Other tab > My SQL Debug option, Reproduce the issue, Please let us know what entries are made under Utilities > Logs > Activity Log Then disable MySQL debug Mode 0 Quote Link to comment Share on other sites More sharing options...
Craft Posted June 19, 2019 Author Share Posted June 19, 2019 12 hours ago, kan said: Hi You should check your WHM connectivity with WHMCS. Connecting fine and I can login to WHM from WHMCS (servers page) 0 Quote Link to comment Share on other sites More sharing options...
Craft Posted June 19, 2019 Author Share Posted June 19, 2019 (edited) 12 hours ago, WHMCS John said: Hi @Craft, I've tested on my installation and the page reloads automatically to show the change in status and the termination date. If you refresh the page, is the status still showing as Active? If so: Please enable the Setup > General Settings > Other tab > My SQL Debug option, Reproduce the issue, Please let us know what entries are made under Utilities > Logs > Activity Log Then disable MySQL debug Mode I enabled it and here is the log Error: Whoops\Exception\ErrorException: Maximum execution time of 300 seconds exceeded in /home/craft/account/vendor/whmcs/whmcs-foundation/lib/Database/MysqlCompat.php:0 Stack trace: #0 /home/craft/account/vendor/whmcs/whmcs-foundation/lib/Utility/Error/Run.php(0): WHMCS\Utility\Error\Run->handleError(1, 'Maximum executi...', '/home/craft/a...', 0) #1 [internal function]: WHMCS\Utility\Error\Run->handleShutdown() #2 {main} Edited June 19, 2019 by Craft 0 Quote Link to comment Share on other sites More sharing options...
kan Posted June 20, 2019 Share Posted June 20, 2019 Hi @Craft Go to WHMCS "configuration.php" file and add line " $overidephptimelimit = 500; " (Without Quote). For your reference: https://docs.whmcs.com/Maximum_Execution_Time 0 Quote Link to comment Share on other sites More sharing options...
Craft Posted June 20, 2019 Author Share Posted June 20, 2019 1 hour ago, kan said: Hi @Craft Go to WHMCS "configuration.php" file and add line " $overidephptimelimit = 500; " (Without Quote). For your reference: https://docs.whmcs.com/Maximum_Execution_Time I did it and now I don't see the error in the activity log but I have other issue (check the comment below) 0 Quote Link to comment Share on other sites More sharing options...
Craft Posted June 20, 2019 Author Share Posted June 20, 2019 @WHMCS John Other issue is now happening. When I run "Terminate module", the system terminates the account successfully at WHM. But I see the loading word "Working..." is showing up forever and doesn't disappear. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted June 21, 2019 Share Posted June 21, 2019 @Craft what do you see in your Module Log when you run the termination? Also if you open Google Chrome Console do you see any information or errors in the developer console? 0 Quote Link to comment Share on other sites More sharing options...
kan Posted June 21, 2019 Share Posted June 21, 2019 Hi @Craft You should Open a ticket to WHMCS support , they will solve issue faster. Give them above steps what you have done already and give WHM access details. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted June 21, 2019 Share Posted June 21, 2019 @kan the community is one of many places for people to seek support they are welcome to post questions here for help if they wish rather than opening a ticket or if they prefer they can open a ticket with us directly, I would encourage users to do what they feel is best for their question and would prefer other community members did not discourage questions being asked as it reduces the vibrancy and usefulness of the community as a resource and platform for the wider user base 0 Quote Link to comment Share on other sites More sharing options...
Craft Posted June 21, 2019 Author Share Posted June 21, 2019 (edited) 3 hours ago, WHMCS ChrisD said: @Craft what do you see in your Module Log when you run the termination? Also if you open Google Chrome Console do you see any information or errors in the developer console? @WHMCS ChrisD In Module Log, I don't see anything (Note: Module log is enabled to record). Kindly check this screenshot from Chrome Console. Note: I received this console error after 1 minute loading the termination module. Edited June 21, 2019 by Craft 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted June 21, 2019 WHMCS Support Manager Share Posted June 21, 2019 This error shows that a timeout is still occurring on the server. Is WHMCS installed on the same server as the hosting account you're trying to terminate? If so, please make sure Apache is configured to perform a graceful restart when creating or terminating accounts. 0 Quote Link to comment Share on other sites More sharing options...
Craft Posted June 21, 2019 Author Share Posted June 21, 2019 (edited) 1 hour ago, WHMCS John said: This error shows that a timeout is still occurring on the server. Is WHMCS installed on the same server as the hosting account you're trying to terminate? If so, please make sure Apache is configured to perform a graceful restart when creating or terminating accounts. @WHMCS John It's loading for 1 minute then timeout (1 minute is a very long time to execute any order). Yes WHMCS is installed on the same server as the hosting account I'm trying to terminate. How to make sure of Apache is configured to perform a graceful restart? Note: It creating the accounts successfully! Edited June 21, 2019 by Craft 0 Quote Link to comment Share on other sites More sharing options...
kan Posted June 24, 2019 Share Posted June 24, 2019 @WHMCS ChrisD Thanks 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.