Jump to content

Problem with Cron WHMCS 6


Recommended Posts

Hello, Since


I had updated to WHMCS 6 the Cron is not working I have received this email message intead the Cron Daemon





<br />

<b>Warning</b>: main(/home/*******/init.php): failed to open stream: No such file or directory in <b>/home/*******/whmcs_crons/pipe.php</b> on line <b>0</b><br />

<br />

<b>Fatal error</b>: main(): Failed opening required '/home/*******/init.php' (include_path='.:/opt/php54/lib/php') in <b>/home/*******/whmcs_crons/pipe.php</b> on line <b>0</b><br />




Unable to communicate with the WHMCS installation.


Please verify the path configured within the crons directory config.php file.



My config.php




# Enter path to root WHMCS directory (relative or full)


$whmcspath = '/home/*******/public_html/*******/';






Any ideas? Somebody have the same issue? Thanks.

Link to comment
Share on other sites

  • 1 month later...



I had the same issue.


You have to edit the config.php file within your crons folder (/name/public_html/whmcs/crons/config.php):




# Enter path to root WHMCS directory (relative or full)

$whmcspath = '/name/public_html/whmcs/';




Use the absolute path for your installation.




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.

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