Jump to content

cron.php Hang on Starting Processing Invoice Reminder Notices


avayearam

Recommended Posts

Hello ,

 

Happy New Year,

 

I have a problem with my cron.php , when cron start running , after some minutes hangs on "Starting Processing Invoice Reminder Notices" and I have high process on my servers CPU so when I checked top on my server process and i traced cron process i see message below :

 

access("../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../.../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../../."..., F_OK) = -1 ENAMETOOLONG (File name too long)

 

 

and cron locked on "Starting Processing Invoice Reminder Notices"

How can I solve it ?

 

"I am using WHMCS 6.3.1"

 

Regards,

Sobhan Saedi

Link to comment
Share on other sites

I'm assuming you have it elsewhere

Change your config.php (in cron directory):

 

$whmcspath = '../blah blah blah';

to

$whmcspath = '/full/path/to/whmcs/install/';

 

Quite a few hosts and servers have a problem with the redirects of he other. Always use direct paths.

Your host should be able to tell you the full path, though it should probably be something like

/home/user/public_html/whmcs/

at least for cPanel servers, if this is not an addon domain it will be

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