Community Forums

Discuss, share and get help from our community of friendly WHMCS users

Close
Login to Your Account
Results 1 to 8 of 8
  1. #1
    Join Date
    Mar 2009
    Posts
    110

    Default 5 min Cron Error on upgrading 7.1.2 to 7.2.1

    Hi,

    I've just upgraded and am getting an error on the 5 min cron job.

    I'm getting a Critical Error with a reason of Undefined index: SCRIPT_NAME

    Any one else getting this?

    As cron.php is encoded it's a little difficult to understand what the issue is.

  2. #2
    Join Date
    Mar 2009
    Posts
    110

    Default Re: 5 min Cron Error on upgrading 7.1.2 to 7.2.1

    Just had a reply to a ticket and this is due to the PHP error reporting level being set in the PHP environment.

    Setting the PHP environment to be sensitive to E_WARNINGs can in some instances cause the error.

    So reducing the error reporting level is an option, or WHMCS can provide a hotfix to resolve this.

  3. #3
    Join Date
    Nov 2016
    Posts
    5

    Default Re: 5 min Cron Error on upgrading 7.1.2 to 7.2.1

    Same error on CRON: Critical Error Undefined index: SCRIPT_NAME

  4. #4
    Join Date
    Aug 2016
    Location
    Auckland, New Zealand
    Posts
    897

    Default Re: 5 min Cron Error on upgrading 7.1.2 to 7.2.1

    Hi guys,

    The cron hot fix is also located at https://forum.whmcs.com/showthread.p...ex-SCRIPT_NAME
    Thanks,
    Chris D
    WHMCS Community Manager

    WHMCompleteSolution
    The Complete Client Management, Billing & Support Solution
    www.whmcs.com

  5. #5
    Join Date
    Nov 2016
    Posts
    5

    Default Re: 5 min Cron Error on upgrading 7.1.2 to 7.2.1

    Thank you.

  6. #6
    Join Date
    Jul 2016
    Posts
    3

    Default Re: 5 min Cron Error on upgrading 7.1.2 to 7.2.1

    Quote Originally Posted by WHMCS ChrisD View Post
    Hi guys,

    The cron hot fix is also located at https://forum.whmcs.com/showthread.p...ex-SCRIPT_NAME
    Hi, I was receiving this error also and updated the hotfix.

    The cron is not sending any emails at all.

    In the Automation page it says it has ran but on the main overview it says it has not (since I ran it directly via the shell)

    If I run the command with all --force it completes and sends me the email.

    Any ideas?

  7. #7
    Join Date
    Oct 2007
    Location
    Toronto
    Posts
    120

    Default Re: 5 min Cron Error on upgrading 7.1.2 to 7.2.1

    Quote Originally Posted by causion View Post
    Hi, I was receiving this error also and updated the hotfix.

    The cron is not sending any emails at all.

    In the Automation page it says it has ran but on the main overview it says it has not (since I ran it directly via the shell)

    If I run the command with all --force it completes and sends me the email.

    Any ideas?

    how do i get it to process any cron tasks for the last 5 days since nothing has been generated or processed?

    anyone?

    thanks
    John MacKenzie

  8. #8
    Join Date
    Oct 2007
    Location
    Toronto
    Posts
    120

    Default Re: 5 min Cron Error on upgrading 7.1.2 to 7.2.1

    no one? this is getting problematic, my system has not created or processed a credit card in 5 days, issuing the --force command on the command line does nothing. can someone advise as to how to get this fixed, ive applied the patch but i need all past /missed invoices generated?

    thanks
    John MacKenzie

Similar Threads

  1. Replies: 1
    Last Post: 05-05-17, 04:26 PM
  2. Cron Jobs not working since upgrading to 5.2.2
    By robster in forum Using WHMCS
    Replies: 11
    Last Post: 10-05-13, 10:44 PM
  3. cron does not work after upgrading to 5.2.4
    By muntazir in forum Using WHMCS
    Replies: 2
    Last Post: 06-24-13, 01:12 PM
  4. Upgrading to 3.8.1 Fatal error: Smarty error:
    By davegeoghegan in forum Using WHMCS
    Replies: 4
    Last Post: 02-03-09, 10:13 PM
  5. Cron Fails to work After upgrading to PHP 5.2.6
    By bibleman in forum Using WHMCS
    Replies: 3
    Last Post: 06-23-08, 06:43 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •