slic535 Posted August 12, 2012 Share Posted August 12, 2012 when i goto the maintenance folder and try to rebuid the site map it give me an error.. it says failed to rebuild sitemap. any clues? Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted August 12, 2012 Share Posted August 12, 2012 I can't help, but someone who can will want to know what version you are on, was it an upgrade or clean install, upgrade from what, did it ever work. The more information you can give the better. I just tested my 5.1.3 and my 5.1.1,. and they both work. Quote Link to comment Share on other sites More sharing options...
slic535 Posted August 12, 2012 Author Share Posted August 12, 2012 im using 5.1.0 and it worked since the upgrade but i had some malware on it and i had the hosting company run a malware check on it. if i were to upgrade it would it work? after reading all the problems people are haveing with the new upgrade im not sure i would want to till the next upgrade. Quote Link to comment Share on other sites More sharing options...
bsmither Posted August 12, 2012 Share Posted August 12, 2012 Let's work backwards and see what can go wrong. Lastly, the file is sent to Google. Even if this fails, the sitemap function in the SEO class will return the exit code for the sitemap build being successful. There may be a mesage in the admin section Request Log. Before that, the sitemap file gets saved to the base folder of the CubeCart store. So whatever your store URL is, that's where you will find the sitemap document. This folder needs write permission, otherwise the function's exit code will be fail. Before that, the function will attempt to GZIP (compress) the file. If the routine which was supposed to build the file didn't, failure. If your installation of PHP does not include the gzip extension, no attempt is made to compress and the uncompressed file is written to the base folder of your store. Before that, all the links for the categories, products, and documents are built and loaded into an array. If SEO mode is not enabled, this should go by quickly. If it is, your database will get hammered quite hard (depending on the number of categories, products, and documents you have -- lots of opportunity for optimization here). Before that, your database is queried for every category, product, and document you have enabled. Disabled/hidden items are not included. So, if you got a fail message and/or the file is not to be found at the base folder of your store, then switch on debug mode (Store Settings, Advanced, Performance, Enable Debugging). Any database and PHP errors that are otherwise hidden should show if there is really a problem. 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.