i have the functionality to generate XML file on each day using php.
This works fine in the browser.but it doesn't work in the cron job.
The cron give me error for the required once and Fatal error.And it stops the execution of my cron job. the included file is also including other files.
the error which i am getting is like,
Warning: require_once(/common/configs/config_local.inc.php) [function.require-once]: failed to open stream: No such file or directory in /home/wwwsite/public_html/sitename/common/configs/config.inc.php on line 281
Fatal error: require_once() [function.require]: Failed opening required '/common/configs/config_local.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/wwwsite/public_html/sitename/common/configs/config.inc.php on line 281
any one having solution to this issue?