Jump to content

Cron error


centurypixel

Recommended Posts

*** SOLVED ***

For everyones knowledge as well, if you get the following error, and you have similar settings to below, make sure to copy ALL files that is in the original cron folder to your new cron folder.

 

php -q /home/***/whmcs/crons/cron.php

Warning: main(/home/***/whmcs/crons/bootstrap.php): failed to open stream: No such file or directory in /home/***/whmcs/crons/cron.php on line 0

Fatal error: main(): Failed opening required '/home/***/whmcs/crons/bootstrap.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/***/whmcs/crons/cron.php on line 0

 

Here is my configuration.php file:

 

<?php    
   $templates_compiledir = "/home/***/whmcs/templates_c/";
$attachments_dir = "/home/***/whmcs/attachments/";
$downloads_dir = "/home/***/whmcs/downloads/";
$crons_dir = '/home/***/whmcs/crons/';
   ?>

 

Here are the contents of the "/home/***/whmcs/crons" folder

 

config.php

cron.php

domainsync.php

pipe.php

pop.php

Edited by centurypixel
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