I get the same as Linmar.
First time the script ran, it was fine. Second time, all seems OK except the execution time doubled and the cpanel cron email report had
11 Mb of:
Code:
Warning</strong>: gzwrite(): supplied argument is not a valid stream resource in <strong>/home/*****/public_html/forum/vbseo_sitemap/vbseo_sitemap_functions.php</strong> on line <strong>438</strong><br /><br /><strong>
Warning</strong>: gzwrite(): supplied argument is not a valid stream resource in <strong>/home/*****/public_html/forum/vbseo_sitemap/vbseo_sitemap_functions.php</strong> on line <strong>435</strong><br /><br /><strong>Warning</strong>: gzwrite(): supplied argument is not a valid stream
and some
Code:
Warning</strong>: gzwrite(): supplied argument is not a valid stream resource in <strong>/home/*****/public_html/forum/vbseo_sitemap/vbseo_sitemap_functions.php</strong> on line <strong>454</strong><br /><br /><strong>
Warning</strong>: gzclose(): supplied argument is not a valid stream resource in <strong>/home/*****/public_html/forum/vbseo_sitemap/vbseo_sitemap_functions.php</strong> on line <strong>455</strong><br />[create sitemap file] filename: sitemap_2.xml.gz, number of urls: 6928 [5s (+0)]<br/>
[create sitemap in text format] part #3 [5s (+0)]<br/>
<br /><strong>
Warning</strong>: gzclose(): supplied argument is not a valid stream resource in <strong>/home/*****/public_html/forum/vbseo_sitemap/vbseo_sitemap_functions.php</strong> on line <strong>484</strong><br /><br /><strong>
Warning</strong>: fopen(/home/*****/public_html/forum/vbseo_sitemap/data/sitemap_index.xml.gz): failed to open stream: Permission denied in <strong>/home/*****/public_html/forum/vbseo_sitemap/vbseo_sitemap_functions.php</strong> on line <strong>685</strong><br /><br /><strong>
Warning</strong>: fwrite(): supplied argument is not a valid stream resource in <strong>/home/*****/public_html/forum/vbseo_sitemap/vbseo_sitemap_functions.php</strong> on line <strong>686</strong><br /><br /><strong>
Warning</strong>: fclose(): supplied argument is not a valid stream resource in <strong>/home/*****/public_html/forum/vbseo_sitemap/vbseo_sitemap_functions.php</strong> on line <strong>687</strong><br />[create sitemap index] filename: sitemap_index.xml.gz, number of sitemaps: 2 [5s (+0)]<br/>
My "data" directory is, of course 777. VB is 3.6.1 without vbseo, and the *****'s are my own substitution for this post.
Would appreciate some guidance! TIA.