Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

matteo.bo

Pioneers
  • Posts

    5
  • Joined

  • Last visited

Profile Information

  • Real Name
    Matteo

matteo.bo's Achievements

  1. Reading other posts in this thread I see that I am not the only one with this error related to the sitemappages.xml... anyway I don't have an url rewriter installed. What can I check?
  2. Just to be complete I attach you also the function written into the sitemap.class.php that cares about the sitemappages.xml, I'm starting to think that the problem is here, would you have any knowledge to find if something is wrong on it? /** * Function to generate sitemap pages file * @author Jack_mcs * @version 1.1 * @return boolean */ function GeneratePagesSitemap(){ $container = array(); $changefreq = GOOGLE_SITEMAP_PAGES_CHANGE_FREQ; $priority = '.1'; include_once(DIR_WS_CLASSES . 'language.php'); $lng = new language(); $slash = substr(DIR_FS_CATALOG, 0 -1) == '/' ? 1 : 0; $path = (($pos = strpos(DIR_FS_CATALOG, "googlesitemap")) !== FALSE) ? substr(DIR_FS_CATALOG, 0, -strlen('googlesitemap') - $slash) : DIR_FS_CATALOG; $pages = $this->GetPagesArray($path, DIR_WS_LANGUAGES . $lng->language['directory'], $lng->language['id']); for ($i = 0; $i < count($pages); ++$i) { $container[] = array('loc' => htmlspecialchars(utf8_encode($pages[$i]['filename'])), 'lastmod' => $pages[$i]['lastmod'], 'changefreq' => $changefreq, 'priority' => $priority ); } if ($i > 0) return $this->GenerateSitemap($container, 'pages'); } # end function Matteo
  3. Did you read my message completely? ERROR: Google Pages Sitemap Generation FAILED! Some pre-tasks such as sitemapproducts.xml, sitemapcategories.xml, sitemapindex.xml completed successfully but the final one sitemappages.xml failed. Checking the final is completely empty as I told you setted for each of the siteXXX files permission to 777 so they are writable. Asnwering your questions: I opened all the sitemap files, eachone with a success result contains correct data from my db, the only one that fails is empty. The output without diagnostics is this one: Write D:/Inetpub/webs/mydomain/catalog/sitemapproducts.xmlGenerated Google Product Sitemap Successfully Write D:/Inetpub/webs/mydomain/catalog/sitemapcategories.xmlGenerated Google Category Sitemap Successfully Google Sitemap Specials not generated - no specials found! ERROR: Google Pages Sitemap Generation FAILED! Write D:/Inetpub/webs/mydomain/catalog/sitemapindex.xmlGenerated Google Sitemap Index Successfully Array ( [QUERY] => Array ( [PRODUCTS] => Array ( [sTATUS] => success [NUM_ROWS] => 7 ) [CATEOGRY] => Array ( [sTATUS] => success [NUM_ROWS] => 16 ) [sPECIALS] => Array ( [sTATUS] => success [NUM_ROWS] => 0 ) ) [sAVE_FILE_XML] => Array ( [0] => Array ( [file] => D:/Inetpub/webs/mydomain/catalog/sitemapproducts.xml [status] => success [file_exists] => true ) [1] => Array ( [file] => D:/Inetpub/webs/mydomain/catalog/sitemapcategories.xml [status] => success [file_exists] => true ) [2] => Array ( [file] => D:/Inetpub/webs/mydomain/catalog/sitemapindex.xml [status] => success [file_exists] => true ) ) ) Hoping to be more clear than before I wish to receive a answer that solve this bug. Regards Matteo
  4. Dear Mr. Jack_MCS, I found your contribution and I followed step by step your guide into the readme.txt, I tried all yours advices (Standard and then Alternate) without success, obviously I changed permission on site*** files to 777... I attach the output of the diagnostic log just hoping that you find the solution for this, if not the addon is completely unusable. I am using the 2.3.1 version of OSCOMMERCE sitemapproducts.xml, sitemapcategories.xml, sitemapindex.xml are modified correctly sitemapspecials.xml is empty because I don't have specials at the moment sitemapmanufacturers.xml does not appear because I disbled it sitemappages.xml did not change it's 0 byte (permission is 777) What is causing this problem? Opening D:/Inetpub/webs/mydomain/catalog/sitemapproducts.xmlFS_CAT D:/Inetpub/webs/mydomain/catalog/Server http://www.mydomainSave Path D:/Inetpub/webs/mydomain/catalog/WS_CAT /catalog/ Write D:/Inetpub/webs/mydomain/catalog/sitemapproducts.xmlGenerated Google Product Sitemap Successfully Opening D:/Inetpub/webs/mydomain/catalog/sitemapcategories.xmlFS_CAT D:/Inetpub/webs/mydomain/catalog/Server http://www.mydomainSave Path D:/Inetpub/webs/mydomain/catalog/WS_CAT /catalog/ Write D:/Inetpub/webs/mydomain/catalog/sitemapcategories.xmlGenerated Google Category Sitemap Successfully Google Sitemap Specials not generated - no specials found! ERROR: Google Pages Sitemap Generation FAILED! Opening D:/Inetpub/webs/mydomain/catalog/sitemapindex.xmlFS_CAT D:/Inetpub/webs/mydomain/catalog/Server http://www.mydomainSave Path D:/Inetpub/webs/mydomain/catalog/WS_CAT /catalog/ Write D:/Inetpub/webs/mydomain/catalog/sitemapindex.xmlGenerated Google Sitemap Index Successfully Array ( [QUERY] => Array ( [PRODUCTS] => Array ( [sTATUS] => success [NUM_ROWS] => 7 ) [CATEOGRY] => Array ( [sTATUS] => success [NUM_ROWS] => 16 ) [sPECIALS] => Array ( [sTATUS] => success [NUM_ROWS] => 0 ) ) [sAVE_FILE_XML] => Array ( [0] => Array ( [file] => D:/Inetpub/webs/mydomain/catalog/sitemapproducts.xml [status] => success [file_exists] => true ) [1] => Array ( [file] => D:/Inetpub/webs/mydomain/catalog/sitemapcategories.xml [status] => success [file_exists] => true ) [2] => Array ( [file] => D:/Inetpub/webs/mydomain/catalog/sitemapindex.xml [status] => success [file_exists] => true ) ) ) Thanks is advance Matteo
×
×
  • Create New...