Jump to content

Recommended Posts

I was trying to get the cron running on the following .php code :

 

$root = $_SERVER["DOCUMENT_ROOT"];

require_once("open/test.php");

 

and i got this error :

 

 

  Warning: require_once(open/test.php) [[1]function.require-once]:

  failed to open stream: No such file or directory in

  /home/test/public_html/open/test.php on line 4 Fatal error:

  require_once() [[2]function.require]: Failed opening required

  'open/test.php'(include_path='.:/usr/lib/php:/usr/local/lib/php')in

  /home/test/public_html/open/test.php.php on line 4

 

 

Can anyone please kindly help me on that php code please. Thanks

 

 

Best Regards,

Tandiono

 

 

Link to comment
https://forums.phpfreaks.com/topic/81054-php-cron-error/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.