Error Messages when used with cron
« on: April 27, 2011, 06:07:05 PM »
X-Powered-By: PHP/5.2.17
Set-Cookie: PHPSESSID=e92031ecbbbb086eea4ec0d9443c5c77; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-type: text/html

Resuming the last session (last updated: 1970-01-01 00:00:00)
1 | 21 | 13.4 | 0:00:01 | 0:00:40 | 1 | 1,128.5 Kb | 1 | 0 | 1128
20 | 2 | 239.9 | 0:00:04 | 0:00:00 | 1 | 1,192.4 Kb | 16 | 37 | 1192
40 | 7 | 377.1 | 0:00:08 | 0:00:01 | 2 | 1,207.1 Kb | 34 | 37 | 1207
60 | 9 | 521.1 | 0:00:13 | 0:00:01 | 3 | 1,215.0 Kb | 51 | 20 | 1215
71 | 0 | 565.0 | 0:00:14 | 0:00:00 | 5 | 1,162.1 Kb | 60 | 0 | 1162
<h4>Completed</h4>Total pages indexed: 60
<br>Creating sitemaps...
<div id="percprog"></div>
Creating HTML sitemap...<div id="percprog2"></div><br />
<b>Warning</b>:  fopen(/home/navbuxco/public_html/generator/data/sitemap.html) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in <b>/home/navbuxco/public_html/generator/pages/class.html-creator.inc.php(2) : eval()'d code</b> on line <b>203</b><br />
<br />
<b>Warning</b>:  fwrite(): supplied argument is not a valid stream resource in <b>/home/navbuxco/public_html/generator/pages/class.html-creator.inc.php(2) : eval()'d code</b> on line <b>206</b><br />
<br />
<b>Warning</b>:  fclose(): supplied argument is not a valid stream resource in <b>/home/navbuxco/public_html/generator/pages/class.html-creator.inc.php(2) : eval()'d code</b> on line <b>207</b><br />
<h4>An error occured: </h4>
<script>
top.location = 'index.php?op=config&errmsg=Error+writing+to+these+files%3A%3Cbr+%2F%3E%0A%3Cb%3E%2Fhome%2Fnavbuxco%2Fpublic_html%2Fgenerator%2Fdata%2Fsitemap.html%3C%2Fb%3E%3Cbr+%2F%3E%0APlease+correct+files+permissions+and+resume+sitemap+creation.'
</script>
Re: Error Messages when used with cron
« Reply #1 on: April 28, 2011, 07:59:59 AM »
Hello,

please make sure that you have set 0777 permissions for generator/data/ folder.