Jump to content

Cron problem


henwijaya

Recommended Posts

Is there anyone here having problem with cron?

 

I put everything like it says on the manual or setup screen for cron but I got this message from email report.

 

PHP Warning: main(dbconnect.php): failed to open stream: No such file or directory in /home/-/public_html/-/-/cron.php on line 5

PHP Warning: main(dbconnect.php): failed to open stream: No such file or directory in /home/-/public_html/-/-/cron.php on line 5

PHP Warning: main(dbconnect.php): failed to open stream: No such file or directory in /home/-/public_html/-/-/cron.php on line 5

PHP Fatal error: main(): Failed opening required 'dbconnect.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/-/public_html/-/-/cron.php on line 5

Link to comment
Share on other sites

Hey,

 

First of all home/-/public_html/-/-/cron.php is not any folder on your server. So make sure you have setup the right URL in cron jobs.

 

Second, make sure all your files have been uploaded. The error you are getting is saying the file in your root whmcs folder dbconnect.php does not exist, or you uploaded it via binary (1010) mode.

 

From,

Adam

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