Jump to content

Cron error with php.


sezing

Recommended Posts

i enable error log for whmcs and php. set php limit 128MB.

 

when i use cron with php it get stuck. GET method works.

i get no error with browsing cron.php. i get cron completed and get e mail.

 

here is a output.

/opt/plesk/php/5.6/bin/php-cgi -q /var/www/vhosts/example.tdl/httpdocs/whmcs/crons/cron.php debug
Starting
Running Pre-Cron Hooks
Starting Updating Currency Exchange Rates
- Done
Starting Generating Invoices
Invoicing Loop Service ID 102 - 1 of 6
Invoicing Loop Service ID 106 - 2 of 6
Invoicing Loop Service ID 113 - 3 of 6
Invoicing Loop Service ID 114 - 4 of 6
Invoicing Loop Service ID 116 - 5 of 6
Invoicing Loop Service ID 105 - 6 of 6
- 0 Invoices Created
Starting Applying Late Fees
- Late Invoice Fees added to 0 Invoices
Starting Processing Credit Card Charges
- Credit Card Payments Processed (0 Captured, 0 Failed)
Starting Processing Invoice Reminder Notices
- Sent 0 Unpaid Invoice Payment Reminders

 

thanks

Link to comment
Share on other sites

changed php version still get different errors.

 

Task "/opt/plesk/php/5.4/bin/php -q /var/www/vhosts/example.tdl/whmcs/crons/cron.php" completed with error in 0 seconds, output:

 

PHP Fatal error: Call to undefined function getwhmcsInitpath() in /var/www/vhosts/example.tdl/whmcs/crons/bootstrap.php on line 0

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated