This is some solution if you get errors like below, just instruction how to fix some problems, not full package, at first i cant install this addon, but at least i got this solution
If you get error like this :
-------------------------------------------------
ERROR: Google Product Sitemap Generation FAILED!
ERROR: Google Category Sitemap Generation FAILED!
ERROR: Google Sitemap Index Generation FAILED!
Array
(
[QUERY] => Array
(
[PRODUCTS] => Array
(
[STATUS] => success
[NUM_ROWS] => 4
)
[CATEOGRY] => Array
(
[STATUS] => success
[NUM_ROWS] => 3
)
)
[SAVE_FILE_XML] => Array
(
[0] => Array
(
[file] => /home/accountname/public_html//sitemapproducts.xml
[status] => failure
[file_exists] => true
)
[1] => Array
(
[file] => /home/accountname/public_html//sitemapcategories.xml
[status] => failure
[file_exists] => true
)
[2] => Array
(
[file] => /home/accountname/public_html//sitemapindex.xml
[status] => failure
[file_exists] => true
)
)
)
-------------------------------------------------
This error means it cant create new xml files, so you must add it manually, use below solution steps
The solution is :
- Create 3 new empty files, name them sitemapproducts.xml , sitemapcategories.xml , sitemapindex.xml (i give these 3 xml empty files in this package too so you can use it too)
- upload them to your oscommerce root
- chmod them all to 777
- go to your admin --> Google SiteMaps --> click create / update your site map
- if all working fine this step, its should say CONGRATULATIONS! All files generated successfully
- if it still not, and specially if you have the oscommerce installed in domain.com instead domain.com/catalog/ follow more below
- open catalog/sitemap.class.php file
- find this line
$filename = $this->savepath . '/' . $this->filename . $type;
- change to this line
$filename = $this->savepath . $this->filename . $type;
- it will remove extra slash in the generation like you saw in error message above, thanks for deliciousmint in forum http://forums.oscommerce.com/index.p...post&p=1227084
More...





LinkBack URL
About LinkBacks









Bookmarks