Guest Posted January 7, 2010 Share Posted January 7, 2010 Hi all,My sitemap doesn't work,when I click"update sitemap file",the coming up page is blank as you can see the pic attached.I need to improving seo,so far,only 196 pages of my site are indexed in 2 months.Thank you for your suggestion! Link to comment Share on other sites More sharing options...
Guest Posted January 8, 2010 Share Posted January 8, 2010 Nobody can help? Link to comment Share on other sites More sharing options...
KIH999 Posted January 8, 2010 Share Posted January 8, 2010 Try to delete your old empty file named "sitemap.xml" in your shop-folder. Link to comment Share on other sites More sharing options...
Guest Posted January 8, 2010 Share Posted January 8, 2010 I did,no surprise for me!!! Link to comment Share on other sites More sharing options...
KIH999 Posted January 8, 2010 Share Posted January 8, 2010 Mr..You dont need a sitemap, your site is well indexed with google.. Have never seen so many hits on fraud and scam for one site.. > Link to comment Share on other sites More sharing options...
Guest Posted January 9, 2010 Share Posted January 9, 2010 Sorry,but this is a new site and new domain for me,I don't konw how the former owner of [Fake website - Moderated by Patric] treated with their cusotmers.I don't know it is listed in fraud and scam list before I registered it. you can check the registered time(whois) of [Fake website - Moderated by Patric] for confirmation.It is a new start for [Fake website - Moderated by Patric] and new start for me.Everyboady are welcomed.However ,I still need your suggestions of my sitemap problem.Thank you. Link to comment Share on other sites More sharing options...
Guest Posted January 9, 2010 Share Posted January 9, 2010 KIH999 Thank you Link to comment Share on other sites More sharing options...
KIH999 Posted January 9, 2010 Share Posted January 9, 2010 Seems like writing to file fails..To check if filewriting fails you can insert a line in "modules\gsitemap\gsitemap.php" to echo out what have been generated before it try to write result to file..If you see many lines with text, then generating is "ok", but writing to file fails.If you don't get many textlines on screen after you have pressed "Update sitemap file"-button, the generator fails for some reasons.The one line of code to test: echo $xmlString;See picture where to place it in the file. Link to comment Share on other sites More sharing options...
Guest Posted January 9, 2010 Share Posted January 9, 2010 Hi KIH999 ,Thank you very much for you assistance.I did as you told,I got many textline on the screen when I test it locally.But I updated the sitemap on the back office of my online shop, it is blank,nothing new comes up.What problem do you think is it?The pic attached are the testing result on local computer. Link to comment Share on other sites More sharing options...
KIH999 Posted January 9, 2010 Share Posted January 9, 2010 Hmm.. Looks like it's the function _postProcess() that fails on your server and die silent there. Don't have a clue what it can be..What you can do to pinpoint where the trouble start, is to insert a few "echo's" in the code before each loop to get an idea where the trouble begins. Do it before each foreach and you very fast can se where in code it fails.. It's not easy to debug when all is OK here.. echo"Line:74 OK "; Link to comment Share on other sites More sharing options...
Guest Posted January 9, 2010 Share Posted January 9, 2010 Dear KIH999 ,Thank you very much !I will try it soon.Thank you for your valuable suggestiona! Link to comment Share on other sites More sharing options...
Guest Posted January 11, 2010 Share Posted January 11, 2010 Hi KIH999,I did as you told and find where the problem appearsPlease see the attached pics. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now