I have php code that works fine* (see 2nd question) when I execute it through my browser but when executed as a cron job it gives the error >Warning</b>: file_get_contents() [<a
href='function.file-get-contents'>function.file-get-contents</a>]: URL file-access
is disabled in the server configuration in.....
How can I resolve this issue?
As a 2nd question... when I execute the same php code in my browser without my debug echo messages switched on the execution fails to complete but with the debug echo messages switched on it does complete. Is there some browser time restraint that will cause a php program on starka to stop if it does not output anything to the console log for a little while - e.g. 2 minutes?
Please note I originally asked this question in the forum PHP file-get-contents not configured for cron jobs but have not received a reply.
Sorry this is a duplicate of PHP file-get-contents not configured for cron jobs please close one of them, I had no idea the support request would create another forum topic. - but ideally reply to one of them. I want to run my job as a Cron not manually.


LinkBack URL
About LinkBacks

