sloop Posted July 1, 2012 Share Posted July 1, 2012 Ever since moving our whmcs install to a new server, the daily cron.php job dies after it starts running, and does not finish properly. All other whmcs functions and features work fine. The server is running debian 6 64bit, with PHP 5.3.14. memory_limit set to 512MB and no other security features like suhosin. When running cron.php from the command line, it will run for a few seconds and then die with no output at all. The WHMCS activity log does show that it started processing and it will charge 1 invoice before it stops: example output: 07/01/2012 17:42 Invoice Marked Paid - Invoice ID: xx2635 System 07/01/2012 17:42 Added Invoice Payment - Invoice ID: xx2635 System 07/01/2012 17:42 Added Transaction - Transaction ID: xx2091 System 07/01/2012 17:42 Cron Job: Credit Card Processing System 07/01/2012 17:42 Cron Job: Adding Late Fees System 07/01/2012 17:42 Cron Job: Generating Invoices System 07/01/2012 17:42 Cron Job: Updating Currency Exchange Rates System 07/01/2012 17:42 Cron Job: Starting System If I run it again, it does the same thing, except processing for the next unpaid invoice Any ideas of what else to check or how to debug? I have opened a ticket w/ WHMCS support but they have not been able to help so far. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted July 2, 2012 WHMCS Support Manager Share Posted July 2, 2012 Hi, The first thing to try is enabling display errors (http://forum.whmcs.com/showthread.php?21317-I-m-getting-a-blank-or-partially-loaded-page) then run the cron manually by visiting the cron.php file in your browser. If an error's occurring it should be displayed on-screen for you to resolve. 0 Quote Link to comment Share on other sites More sharing options...
sloop Posted July 2, 2012 Author Share Posted July 2, 2012 thanks for the response. We actually found that the problem was caused by a new server module that did not implement the UsageUpdate function. 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.