999evo Posted May 26, 2015 Share Posted May 26, 2015 hi please can anyone help! i have uploaded my osc site catalog and put all the files to the root directory and installed the site at the front e.g www.mysite.com/index.php and not the usual way www.mysite.com/catalog/index.php this sitemap addon will not run and i think the reason is the "catalog" files are used as my front site pages i think that its looking for the catalog directory but not finding it due to me removing the catalog folder in my directory is it possible to run this addon without the catalog folder in place? i would really value and be very greatful for any assistance kind regards john here is the code : Opening /sitemapproducts.xmlFS_CAT /home/999evo/public_html/Server http://mysite.comSave Path /WS_CAT /ERROR: Google Product Sitemap Generation FAILED!Opening /sitemapcategories.xmlFS_CAT /home/999evo/public_html/Server http://mysite.comSave Path /WS_CAT /ERROR: Google Category Sitemap Generation FAILED!Opening /sitemappages.xmlFS_CAT /home/999evo/public_html/Server http://mysite.comSave Path /WS_CAT /ERROR: Google Pages Sitemap Generation FAILED!Opening /sitemapindex.xmlFS_CAT /home/999evo/public_html/Server http://mysite.comSave Path /WS_CAT /ERROR: Google Sitemap Index Generation FAILED!Array( [QUERY] => Array ( [PRODUCTS] => Array ( [sTATUS] => success [NUM_ROWS] => 5123 ) [CATEOGRY] => Array ( [sTATUS] => success [NUM_ROWS] => 3689 ) ) [sAVE_FILE_XML] => Array ( [0] => Array ( [file] => /sitemapproducts.xml [status] => failure [file_exists] => false ) [1] => Array ( [file] => /sitemapcategories.xml [status] => failure [file_exists] => false ) [2] => Array ( [file] => /sitemappages.xml [status] => failure [file_exists] => false ) [3] => Array ( [file] => /sitemapindex.xml [status] => failure [file_exists] => false ) ))Opening /sitemap_mobileproducts.xmlFS_CAT /home/999evo/public_html/Server http://mysite.comSave Path /WS_CAT /ERROR: Google Product Sitemap Generation FAILED!Opening /sitemap_mobilecategories.xmlFS_CAT /home/999evo/public_html/Server http://mysite.comSave Path /WS_CAT /ERROR: Google Category Sitemap Generation FAILED!Opening /sitemap_mobilepages.xmlFS_CAT /home/999evo/public_html/Server http://mysite.comSave Path /WS_CAT /ERROR: Google Pages Sitemap Generation FAILED!Opening /sitemap_mobileindex.xmlFS_CAT /home/999evo/public_html/Server http://mysite.comSave Path /WS_CAT /ERROR: Google Sitemap Index Generation FAILED!Array( [QUERY] => Array ( [PRODUCTS] => Array ( [sTATUS] => success [NUM_ROWS] => 5123 ) [CATEOGRY] => Array ( [sTATUS] => success [NUM_ROWS] => 3689 ) ) [sAVE_FILE_XML] => Array ( [0] => Array ( [file] => /sitemap_mobileproducts.xml [status] => failure [file_exists] => false ) [1] => Array ( [file] => /sitemap_mobilecategories.xml [status] => failure [file_exists] => false ) [2] => Array ( [file] => /sitemap_mobilepages.xml [status] => failure [file_exists] => false ) [3] => Array ( [file] => /sitemap_mobileindex.xml [status] => failure [file_exists] => false ) ))Completed! Quote Link to comment Share on other sites More sharing options...
♥Moxamint Posted June 7, 2015 Share Posted June 7, 2015 @@Jack_mcs Hi Jack, I applied the fix you supplied in post #1416 and this add-on mostly worked except "Google Pages Sitemap". What could be the problem? And what is "site map standard pages" anyway? Thanks in advance. The following are the output: ============================================================================ Opening /home/httpd/vhosts/mydomain.com/subdomains/shop/httpdocs/sitemapproducts.xml FS_CAT /home/httpd/vhosts/mydomain.com/subdomains/shop/httpdocs/ Server http://shop.mydomain.com Save Path /home/httpd/vhosts/mydomain.com/subdomains/shop/httpdocs/ WS_CAT / Write /home/httpd/vhosts/mydomain.com/subdomains/shop/httpdocs/sitemapproducts.xml Generated Google Product Sitemap Successfully Opening /home/httpd/vhosts/mydomain.com/subdomains/shop/httpdocs/sitemapcategories.xml FS_CAT /home/httpd/vhosts/mydomain.com/subdomains/shop/httpdocs/ Server http://shop.mydomain.com Save Path /home/httpd/vhosts/mydomain.com/subdomains/shop/httpdocs/ WS_CAT / Write /home/httpd/vhosts/mydomain.com/subdomains/shop/httpdocs/sitemapcategories.xml Generated Google Category Sitemap Successfully Opening /home/httpd/vhosts/mydomain.com/subdomains/shop/httpdocs/sitemapimages.xml FS_CAT /home/httpd/vhosts/mydomain.com/subdomains/shop/httpdocs/ Server http://shop.mydomain.com Save Path /home/httpd/vhosts/mydomain.com/subdomains/shop/httpdocs/ WS_CAT / Write /home/httpd/vhosts/mydomain.com/subdomains/shop/httpdocs/sitemapimages.xml Generated Google Images Sitemap Successfully Opening /home/httpd/vhosts/mydomain.com/subdomains/shop/httpdocs/sitemapmanufacturers.xml FS_CAT /home/httpd/vhosts/mydomain.com/subdomains/shop/httpdocs/ Server http://shop.mydomain.com Save Path /home/httpd/vhosts/mydomain.com/subdomains/shop/httpdocs/ WS_CAT / Write /home/httpd/vhosts/mydomain.com/subdomains/shop/httpdocs/sitemapmanufacturers.xml Generated Google Manufacturers Sitemap Successfully ERROR: Google Pages Sitemap Generation FAILED! Opening /home/httpd/vhosts/mydomain.com/subdomains/shop/httpdocs/sitemapindex.xml FS_CAT /home/httpd/vhosts/mydomain.com/subdomains/shop/httpdocs/ Server http://shop.mydomain.com Save Path /home/httpd/vhosts/mydomain.com/subdomains/shop/httpdocs/ WS_CAT / Write /home/httpd/vhosts/mydomain.com/subdomains/shop/httpdocs/sitemapindex.xml Generated Google Sitemap Index Successfully Array ( [QUERY] => Array ( [PRODUCTS] => Array ( [sTATUS] => success [NUM_ROWS] => 166 ) [CATEOGRY] => Array ( [sTATUS] => success [NUM_ROWS] => 100 ) [iMAGES] => Array ( [sTATUS] => success [NUM_ROWS] => 166 ) [MANUFACTURERS] => Array ( [sTATUS] => success [NUM_ROWS] => 1 ) ) [sAVE_FILE_XML] => Array ( [0] => Array ( [file] => /home/httpd/vhosts/mydomain.com/subdomains/shop/httpdocs/sitemapproducts.xml [status] => success [file_exists] => true ) [1] => Array ( [file] => /home/httpd/vhosts/mydomain.com/subdomains/shop/httpdocs/sitemapcategories.xml [status] => success [file_exists] => true ) [2] => Array ( [file] => /home/httpd/vhosts/mydomain.com/subdomains/shop/httpdocs/sitemapimages.xml [status] => success [file_exists] => true ) [3] => Array ( [file] => /home/httpd/vhosts/mydomain.com/subdomains/shop/httpdocs/sitemapmanufacturers.xml [status] => success [file_exists] => true ) [4] => Array ( [file] => /home/httpd/vhosts/mydomain.com/subdomains/shop/httpdocs/sitemapindex.xml [status] => success [file_exists] => true ) ) ) Completed! Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 7, 2015 Author Share Posted June 7, 2015 @@Moxamint The pages option has to be enabled in the settings for it to work and the permissions have to be set to writeable on some servers for the pages sitemap file. It creates a map of the standard pages of the shop, like privacy.php, or whatever the code finds. It will include pages from addons like Information Pages and Article Manager. If you use it, be sure to review the map file afterwards to see if there are any pages that shouldn't be listed, like secure pages, and then add those to the exclude setting. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
♥Moxamint Posted June 7, 2015 Share Posted June 7, 2015 @@Jack_mcs Thanks for the detailed information. I did set all sitemap*.xml file permissions to 755 and turned "Enable Standard Pages Map" and a couple of other options on. All .xml files were generated OK except sitemappages.xml Did I miss anything else? Thanks again. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 7, 2015 Author Share Posted June 7, 2015 The code that generates all of the maps is mostly the same. The one for pages doesn't report debug details but that wouldn't cause it to fail. The failure you are getting will happen when no pages were added to the map file. So there might be some difference in your files that prevents the code from identifying the pages but I don't know what that might be. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
videod Posted June 7, 2015 Share Posted June 7, 2015 @@Jack_mcs Thanks for post 1416 it works like a champ on the bootstrap 2.3.4 development site I am working on for deployment. Thanks for all you do to help us out!! Dave Quote Link to comment Share on other sites More sharing options...
mr_absinthe Posted June 9, 2015 Share Posted June 9, 2015 Hi Jack, I have upgraded to the latest version, all seems to be fine but why is sitemap_mobileindex.xml and sitemapindex.xml identical? They both contain same links such as sitemap_mobilecategories.xml or sitemapcategories.xml. Enable Mobile Maps is set to false in admin. Quote Absinthe Original Liquor Store Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 9, 2015 Author Share Posted June 9, 2015 Only one index file is needed but I didn't think to prevent the mobile index one from being created with the last changes. it doesn't do any harm though. The enable mobile maps is meant to prevent mobile map entries in the index file but that code wasn't added in the uploaded version. It will be in the next version. But it does check if the url for mobile maps is set and will create the if it is. So be sure to clear that setting if you don't want mobile maps. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
mr_absinthe Posted June 9, 2015 Share Posted June 9, 2015 OK if I clear that setting, it is no longer listed on googlesitemap/index.php however sitemap mobile links (sitemap_mobilecategories.xml, etc) are still visible on sitemapindex.xml. Same for the Images Map, sitemapimages.xml is also on sitemapindex.xml even if it is set to false in admin. I have also noticed that sitemapimages.xml is identical to sitemapproducts.xml with identical linnks, etc. Is it meant to be? Quote Absinthe Original Liquor Store Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 9, 2015 Author Share Posted June 9, 2015 As mentioned, the enable mobile setting isn't being used so those maps get created. The structure of the images and products files is different. If you are not setting that, I don't know what that might be other than not having the mobile option set. But if you are not going to use the mobile maps, there's really no reason for you to use this version. I suggest reverting back to the previous one to clear up all of the problems you are having. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
mr_absinthe Posted June 9, 2015 Share Posted June 9, 2015 (edited) This is really strange, I'm unable to revert back to v 1.7 as I'm getting these: [file] => /sitemapcategories.xml [status] => failure [file_exists] => false File permissions are OK, it is working with the new version and before I tried the new version it was also working fine with the previous version... Any idea how to cure it? I have also tried to add the following code just before this line $this->savepath = DIR_FS_CATALOG; so it looks like: if (($pos = strpos(DIR_FS_CATALOG, "googlesitemap")) !== FALSE) { //fix for when path is gotten by dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME' $pos = strlen("googlesitemap"); //it includes the google sitemap directory so remove it $this->savepath = substr(DIR_FS_CATALOG, 0, - $pos - 1); //not returning right above - quick fix for now $this->savepath .= (substr($this->savepath, -1) !== '/') ? '/' : ''; //append a slash if needed } else { $this->savepath = DIR_FS_CATALOG . (substr(DIR_FS_CATALOG, -1) !== '/') ? '/' : ''; } $this->savepath = DIR_FS_CATALOG; It did not help... Edited June 9, 2015 by mr_absinthe Quote Absinthe Original Liquor Store Link to comment Share on other sites More sharing options...
mr_absinthe Posted June 9, 2015 Share Posted June 9, 2015 What I did to make v1.7 work again, I used googlesitema/index.php file from v1.8 no idea why it is no longer working with that file from v1.7 Quote Absinthe Original Liquor Store Link to comment Share on other sites More sharing options...
Hrnkas Posted June 25, 2015 Share Posted June 25, 2015 I believe I have found a Bug. In sitemap.class.php, Line 270 goes like this: $this->savepath = DIR_FS_CATALOG . (substr(DIR_FS_CATALOG, -1) !== '/') ? '/' : ''; the condition for "?" operator is "DIR_FS_CATALOG . (substr(DIR_FS_CATALOG, -1) !== '/')" which is always TRUE, so savepath is always "/". This line should be: $this->savepath = DIR_FS_CATALOG . ((substr(DIR_FS_CATALOG, -1) !== '/') ? '/' : ''); This way the "/" will be appended to the savepath instead of replacing it. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 25, 2015 Author Share Posted June 25, 2015 @@Hrnkas You are correct. Good catch. Thank you for posting the fix. :) Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
aurelou Posted June 27, 2015 Share Posted June 27, 2015 Hi all, My sitemaps don't generate... I checked configure.php and seems to be OK, and the file permissions on the sitemaps files are on 777. I can't find an issue... Here is the diagnostic : Opening /sitemapproducts.xmlFS_CAT /homez.331/mysite/www/Server http://www.mysite.euSave Path /WS_CAT /ERROR: Google Product Sitemap Generation FAILED!Opening /sitemapcategories.xmlFS_CAT /homez.331/mysite/www/Server http://www.mysite.euSave Path /WS_CAT /ERROR: Google Category Sitemap Generation FAILED!Opening /sitemapimages.xmlFS_CAT /homez.331/mysite/www/Server http://www.mysite.euSave Path /WS_CAT /ERROR: Google Images Sitemap Generation FAILED!Opening /sitemappages.xmlFS_CAT /homez.331/mysite/www/Server http://www.mysite.euSave Path /WS_CAT /ERROR: Google Pages Sitemap Generation FAILED!Opening /sitemapspecials.xmlFS_CAT /homez.331/mysite/www/Server http://www.mysite.euSave Path /WS_CAT /ERROR: Google Specials Sitemap Generation FAILED!Opening /sitemapindex.xmlFS_CAT /homez.331/mysite/www/Server http://www.mysite.euSave Path /WS_CAT /ERROR: Google Sitemap Index Generation FAILED!Array( [QUERY] => Array ( [PRODUCTS] => Array ( [STATUS] => success [NUM_ROWS] => 378 ) [CATEOGRY] => Array ( [STATUS] => success [NUM_ROWS] => 22 ) [IMAGES] => Array ( [STATUS] => success [NUM_ROWS] => 378 ) [SPECIALS] => Array ( [STATUS] => success [NUM_ROWS] => 79 ) ) [SAVE_FILE_XML] => Array ( [0] => Array ( [file] => /sitemapproducts.xml [status] => failure [file_exists] => false ) [1] => Array ( [file] => /sitemapcategories.xml [status] => failure [file_exists] => false ) [2] => Array ( [file] => /sitemapimages.xml [status] => failure [file_exists] => false ) [3] => Array ( [file] => /sitemappages.xml [status] => failure [file_exists] => false ) [4] => Array ( [file] => /sitemapspecials.xml [status] => failure [file_exists] => false ) [5] => Array ( [file] => /sitemapindex.xml [status] => failure [file_exists] => false ) ))Completed! Thank you for your help. Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 27, 2015 Author Share Posted June 27, 2015 @@aurelou Did you apply the change posted two posts above yours? Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
aurelou Posted June 27, 2015 Share Posted June 27, 2015 @Jack_mcs Thank you very much I made the changes and it works fine :) Quote Link to comment Share on other sites More sharing options...
ringo667 Posted June 27, 2015 Share Posted June 27, 2015 My categories stie mal generate double entrys, can someone help? Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 27, 2015 Author Share Posted June 27, 2015 Is that the actual contents of a sitemap file? Can you provide a link to it? Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
ringo667 Posted June 28, 2015 Share Posted June 28, 2015 http://short4u.de/558fb1c4eb42b Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted June 28, 2015 Author Share Posted June 28, 2015 @@ringo667 I don't know what that might be. All I can suggest is that you turn off the url rewriter and create the maps again. Then see if there are still duplicates. It might be that you have two different paths to the same product and the url rewriter is converting them to one path. I've never seen this happen before but it's the only thing I can think of. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Chadduck Posted July 15, 2015 Share Posted July 15, 2015 Jack - Hello. I think I have an unique situation - perhaps not. First - Google has indexed my store's site with these results Site Errors No errors detected in the last 90 days. Nice! URL Errors No errors detected in the last 90 days. Nice! In an effort to better promote the placement (which is what we all want right?) I want to create a sitemap for it however after many fruitless attempts to utilize various online sitemap creators and several local (on my desktop) ones they ALL simply give me the message "Error connecting to --> https://store.militarywives.com/" YES, My store is located at https://store.militarywives.com. I have installed the add-on Google XML Sitemap SEO V 1.8 and have set the file permissions to be 777. When I run the index.php I recieve information below - Is this because of the URL or because it is on SECURE server or what? The store is OSC 2.3.4 and operates correctly and has for the past several weeks since we activated it at this URL. PCI passes, Google's indexing it, etc. etc. etc. Suggestions? BJ ------------------------------------------------- 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] => 4118 ) [CATEOGRY] => Array ( [sTATUS] => success [NUM_ROWS] => 333 ) ) [sAVE_FILE_XML] => Array ( [0] => Array ( [file] => /sitemapproducts.xml [status] => failure [file_exists] => false ) [1] => Array ( [file] => /sitemapcategories.xml [status] => failure [file_exists] => false ) [2] => Array ( [file] => /sitemapindex.xml [status] => failure [file_exists] => false ) ) ) 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] => 4118 ) [CATEOGRY] => Array ( [sTATUS] => success [NUM_ROWS] => 333 ) ) [sAVE_FILE_XML] => Array ( [0] => Array ( [file] => /sitemap_mobileproducts.xml [status] => failure [file_exists] => false ) [1] => Array ( [file] => /sitemap_mobilecategories.xml [status] => failure [file_exists] => false ) [2] => Array ( [file] => /sitemap_mobileindex.xml [status] => failure [file_exists] => false ) ) ) Completed! Quote Link to comment Share on other sites More sharing options...
Jack_mcs Posted July 16, 2015 Author Share Posted July 16, 2015 Please read the few posts before your to see if that fix works. Quote Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
Guest Posted July 16, 2015 Share Posted July 16, 2015 $this->savepath = '/home/topgoth/public_html/';Please post the results of the first one either so I can get an idea of what the problem is. Jack that also worked for me will read rest of thread in a bit Quote Link to comment Share on other sites More sharing options...
Guest Posted July 16, 2015 Share Posted July 16, 2015 72 pages..... nah dont think so.... but paths does not change so i'm pleased Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.