kylevorster Posted May 20, 2014 Share Posted May 20, 2014 My daily cron stops after creating a couple invoices, I run the following commands. /usr/bin/php -q cron.php do_latefees do_invoices do_invoicereminders debug And this was the feedback I got. Invoicing Loop Service ID 36172 - 2008 of 3823 (Time: -0.61 Memory: 13.58) Invoicing Loop Service ID 14993 - 2009 of 3823 (Time: 0.4 Memory: 13.58) root@firefoot:~# ps aux | grep php root 26819 0.0 0.0 4440 620 ? Ss 14:30 0:00 /bin/sh -c cd /v Warning: Missing argument 3 for ModuleCallFunction(), called in /var/www/includes/modulefunctions.php on line 0 and defined in /var/www/includes/modulefunctions.php on line 0 Generated Invoice #460409 (Time: 0.58 Memory: 35.76) Generated Invoice #460410 (Time: -0.71 Memory: 35.76) Generated Invoice #460412 (Time: 0.27 Memory: 35.76) Generated Invoice #460413 (Time: 0.3 Memory: 35.77) Generated Invoice #460415 (Time: 0.28 Memory: 35.77) Generated Invoice #460416 (Time: -0.62 Memory: 35.77) Generated Invoice #460419 (Time: -0.07 Memory: 35.77) Generated Invoice #460421 (Time: 0.29 Memory: 35.77) Generated Invoice #460422 (Time: 0.28 Memory: 35.77) Generated Invoice #460425 (Time: -0.65 Memory: 35.78) Generated Invoice #460427 (Time: 0.36 Memory: 35.78) Generated Invoice #460429 (Time: 0.28 Memory: 35.78) Generated Invoice #460430 (Time: -0.72 Memory: 35.78) Generated Invoice #460432 (Time: 0.45 Memory: 35.78) PHP Fatal error: Cannot redeclare gracefulcorerequiredfileinclude() in /var/www/init.php on line 20 Fatal error: Cannot redeclare gracefulcorerequiredfileinclude() in /var/www/init.php on line 20 Please help. 0 Quote Link to comment Share on other sites More sharing options...
stuntnmore Posted May 22, 2014 Share Posted May 22, 2014 Try reuploading the whmcs main files to the root directory of your install, replace init.php and make sure all the config files are inputted correctly with the details inside. 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.