Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Cron Jobs - Fatal Error

Discussion in 'General Discussion' started by bigonese, Jan 13, 2010.

  1. bigonese

    bigonese Member

    Joined:
    Jul 28, 2009
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    Grand Rapids
    I went to view the existing cron jobs of an account I migrated from another server and I got a fatal error. The strange thing is that it worked right after I migrated the account yesterday, but when I went to adjust it today it gave me an error. Here is the error and details:

    [a fatal error or timeout occurred while processing this directive]

    Can't locate object method "new" via package "Template" (perhaps you forgot to load "Template"?) at /usr/local/cpanel/Cpanel/Template.pm line 45.
    Cpanel::Template::get_tt_obj('Cpanel::Template', 'HASH(0x9f83758)') called at /usr/local/cpanel/Cpanel/Template.pm line 242
    Cpanel::Template::process_template('cpanel', 'HASH(0x8ce9c98)', 'HASH(0x9f83758)') called at cpanel line 644
    main::cptt_exectag('<?cptt Cron::listcron(cron/cron_entries.tmpl) omit_extra_record=...') called at cpanel line 4016
    main::dotag_finished_headers('<?cptt Cron::listcron(cron/cron_entries.tmpl) omit_extra_record=...', 0) called at cpanel line 3865
    main::cpanel_parseblock('<?cptt Cron::listcron(cron/cron_entries.tmpl) omit_extra_record=...') called at cpanel line 3811
    main::cpanel_parse('GLOB(0x9ce8b08)') called at cpanel line 5289
    main::run_standard_mode() called at cpanel line 383


    Can anyone help?!? Thanks.
     
  2. lehels

    lehels Well-Known Member

    Joined:
    Jul 10, 2006
    Messages:
    92
    Likes Received:
    0
    Trophy Points:
    156
    Same here. -- cPanel 11.25.0-R42400 - WHM 11.25.0 - X 3.9 --
    Any updates on this?

    checkperlmodules gives all fine.
    ..running again upcp now;

    Cheers,
    Lehel
     
    #2 lehels, Jan 13, 2010
    Last edited: Jan 13, 2010
  3. adaulton

    adaulton Registered

    Joined:
    Jun 26, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    51
    We are also seeing this problem. We just migrated to a new server. We are using cPanel 11.25.0-R42400 - WHM 11.25.0 - X 3.9 on both. The crons on the original one show fine as normal.

    The crons themselves seem to work, unfortunately for us. (I found this issue while I was trying to delete the crons on the new server so we aren't running them twice!)
     
  4. mattress

    mattress Active Member

    Joined:
    Sep 3, 2009
    Messages:
    40
    Likes Received:
    0
    Trophy Points:
    56
    I'm seeing the same error here. I'm not sure what info would be helpful. Looks like I did get a cPanel update last night.
     
  5. garrettp

    garrettp Well-Known Member
    PartnerNOC

    Joined:
    Jun 18, 2004
    Messages:
    312
    Likes Received:
    0
    Trophy Points:
    166
    cPanel Access Level:
    DataCenter Provider
    Also confirmed in 11.25 R42400. Seems cPanel just pushed out another update (R42401) so I will see if this fixes things. No update to the changelog yet to confirm.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. garrettp

    garrettp Well-Known Member
    PartnerNOC

    Joined:
    Jun 18, 2004
    Messages:
    312
    Likes Received:
    0
    Trophy Points:
    166
    cPanel Access Level:
    DataCenter Provider
    Fixed in cPanel 11.25.0-R42401 according to my testing.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. rgpayne

    rgpayne Well-Known Member

    Joined:
    Feb 25, 2003
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Texas
    Correct, it has been corrected in the latest Release
    Upcp folks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. ramk

    ramk Registered

    Joined:
    Dec 19, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    You're right.

    I was also facing same issue but it's fixed by updating cpanel to Latest Release.

    Thanks.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice