jr200200868
New Member
- Messages
- 2
- Reaction score
- 0
- Points
- 0
Hi,
When I run my script manually, through web browser it is working pretty well, but when it runs through cron it returns:
<br />
<b>Warning</b>: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: URL file-access is disabled in the server configuration in <b>/home/jr200200/public_html/admin/autof.php</b> on line <b>18</b><br />
<br />
<b>Warning</b>: simplexml_load_file(http://hotfileserve.com/external.php?type=RSS2&forumids=2) [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: failed to open stream: no suitable wrapper could be found in <b>/home/jr200200/public_html/admin/autof.php</b> on line <b>18</b><br />
<br />
<b>Warning</b>: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: I/O warning : failed to load external entity "http://hotfileserve.com/external.php?type=RSS2&forumids=2" in <b>/home/jr200200/public_html/admin/autof.php</b> on line <b>18</b><br />
<br />
Is there something wrong with my cron command?
/usr/bin/php /home/jr200200/public_html/admin/autof.php >> /home/jr200200/public_html/cronOutput.txt 2>&1
When I run my script manually, through web browser it is working pretty well, but when it runs through cron it returns:
<br />
<b>Warning</b>: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: URL file-access is disabled in the server configuration in <b>/home/jr200200/public_html/admin/autof.php</b> on line <b>18</b><br />
<br />
<b>Warning</b>: simplexml_load_file(http://hotfileserve.com/external.php?type=RSS2&forumids=2) [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: failed to open stream: no suitable wrapper could be found in <b>/home/jr200200/public_html/admin/autof.php</b> on line <b>18</b><br />
<br />
<b>Warning</b>: simplexml_load_file() [<a href='function.simplexml-load-file'>function.simplexml-load-file</a>]: I/O warning : failed to load external entity "http://hotfileserve.com/external.php?type=RSS2&forumids=2" in <b>/home/jr200200/public_html/admin/autof.php</b> on line <b>18</b><br />
<br />
Is there something wrong with my cron command?
/usr/bin/php /home/jr200200/public_html/admin/autof.php >> /home/jr200200/public_html/cronOutput.txt 2>&1