Hi,

Originally Posted by
boomup
found 2 new warnings, could you please help me fix it? thanks a lot
Code:
PHP Warning: filesize() [<a href='function.filesize'>function.filesize</a>]: stat failed for /public_html/sitemap/sitemap.xml in /public_html/includes/classes/sitemapxml.php on line 594
PHP Warning: file_get_contents(/public_html/sitemap/sitemap.xml) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory in /public_html/includes/classes/sitemapxml.php on line 596
includes/classes/sitemapxml.php
Lines 594-596
PHP Code:
header('Content-Length: ' . filesize($this->savepath . $this->sitemapindex));
// header('Content-disposition: inline; filename=' . $this->sitemapindex);
echo file_get_contents($this->savepath . $this->sitemapindex);
replace by
PHP Code:
header('Content-Length: ' . filesize($this->savepathIndex . $this->sitemapindex));
echo file_get_contents($this->savepathIndex . $this->sitemapindex);
Bookmarks