ilovewhu86
New Member
- Messages
- 22
- Reaction score
- 0
- Points
- 0
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 http://x10hosting.com/forums/free-hosting/153529-php-file-get-contents-not-configured-cron-jobs.html but have not received a reply.
Sorry this is a duplicate of http://x10hosting.com/forums/free-hosting/153529-php-file-get-contents-not-configured-cron-jobs.html 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.
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 http://x10hosting.com/forums/free-hosting/153529-php-file-get-contents-not-configured-cron-jobs.html but have not received a reply.
Sorry this is a duplicate of http://x10hosting.com/forums/free-hosting/153529-php-file-get-contents-not-configured-cron-jobs.html 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.
Last edited: