PDA

View Full Version : Google XML Sitemap w/ Admin



michael_s
02-19-2010, 12:11 PM
This is NOT full package, bug fixed in "Google XML Sitemap - Admin 2.2 PL" download this module first. Here is only "sitemap.class.php" file.

If you get error like this :
-------------------------------------------------
ERROR: Google Product Sitemap Generation FAILED!

ERROR: Google Category Sitemap Generation FAILED!

Generated Google Sitemap Index Successfully

Array
(
[QUERY] => Array
(
[PRODUCTS] => Array
(
[STATUS] => success
[NUM_ROWS] => 1
)

[CATEOGRY] => Array
(
[STATUS] => success
[NUM_ROWS] => 1
)

)

[SAVE_FILE_XML] => Array
(
[0] => Array
(
[file] => /home/prettypi/public_html/lovetogame.co.uk//sitemapindex.xml
[status] => success
[file_exists] => true
)

)

)

-------------------------------------------------

- open catalog/sitemap.class.php file
- find these lines (857 & 947)

if ( sizeof($container) > 1 ) {

- change to these lines

if ( sizeof($container) >= 1 ) {


- it will start generating xml sitemaps .....

http://forums.oscommerce.com/topic/199162-google-xml-sitemap-w-admin-support/page__st__100__gopid__1486390&#entry1486390

More... (http://addons.oscommerce.com/info/3439)