Sensei
- Join Date:
- Jan 2004
- Posts:
- 63,513
- Plugin Contributions:
- 177
SitemapXML v.2
PHP Warning: filesize(): stat failed for (filename)
When PHP says "stat failed", it means it was asking the server's filesystem for some information about a particular file, but the filesystem denied the request.
In this case, it's telling you that it was asking for the size of those various .xml files.
So, either the files are missing, or they exist but they're "owned" by a user/process that PHP is not authorized to mess with, or their permissions are set too low to allow PHP to read them.
Regarding those sitemap*.xml files: things to try: (try first one, then test generating the files again, see if the errors are gone and the files get updated, then try the next one, test again, etc)
a) set their permission-level to 755 ... or whatever permission your hosting company says is "writable by PHP"
b) delete them and let the SitemapXML plugin try to recreate them (permissions will need to be set properly for whatever directory they're getting stored in. See the SitemapXML installation instructions for guidance on that)
c) ask your hosting company to change their ownership to allow PHP to access them