Weird CLI issue
Posted: Fri Apr 15, 2005 11:06 am
I have a cron job set up to run a report every hour on my phonelog system here but for some reason my php page isn't working from the CLI. I get an error like this:
the weird thing is, if I run that same page from a web interface, it loads up just perfectly with no errors. It's almost like my relative paths get busted from the CLI, but they remain in tact from the web interface. I have done this exact same thing on another machine and not had problems, but for some reason, it just dies here...
any suggestions?
Code: Select all
Warning: fopen(logs/all-tday.php): failed to open stream: No such file or direct
ory in w:\inetpub\wwwroot\phonesys\report.php on line 157
Warning: fwrite(): supplied argument is not a valid stream resource in w:\inetpu
b\wwwroot\phonesys\report.php on line 158
Warning: fclose(): supplied argument is not a valid stream resource in w:\inetpu
b\wwwroot\phonesys\report.php on line 159any suggestions?