Products     Magento Extension     PCI-Shopping-Carts     Templates       CRELoaded     WordPress Modules     osCommerce Modules       osCommerce Addons       osCommerce Features       osCommerce Management       Payment Modules     CRELoaded Modules       CRE Loaded Addons       CRE Loaded Features       CRE Loaded Management       Payment Modules       CRELoaded Services
Free Stuff
Customization
Templates
Compare Products
You have no items to compare.
Affiliate Info
Affiliate Program FAQ
Affiliate Log In
Recent Orders
Hot Keywords: Order Notification, Order Search, Coupon, Flash Board, Compare, Floating Message, Tracking, Moneris, RSS, Visitor Filter

  Google XML Sitemap w/ Admin

The following osCommerce contribution is a free Opensource code originated from official osCommerce website and provided for your reference only, you may download the original contribution file(s) and install it on your own; or you may request a Paid Installation Service from Agents Of Power; Agents Of Power does the "AS IS" installation on your website, we do not guarantee it will work properly on your website. Extra Paid service is available for repairing the problem from the original contribution or from your website.
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.php?showtopic=199162&view=findpost&p=1227084



   Posted on: 07/17/2009     See contribution details Request Installation with Paid service