hi,all

I got these message after i installed xmlsitemap module:

1.when i use IE6, i got this message :

The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
--------------------------------------------------------------------------------

XML document must have a top level element. Error processing resource 'http://goodspoint.net/sitemap.xml'.

2.when i use FF3.5.3, i got this message :
XML Parsing Error: no element found
Location: http://www.mysite.com/sitemap.xml
Line Number 1, Column 1:

but if open this url : http://www.mysite.com/sitemap.xml&=en or
http://goodspoint.net/?q=sitemap.xml
i can see detail of my site map

How to fix this problem?

Comments

rkdeveloper’s picture

administer >> site configuration >> clean urls

by default it will be disables enable it and if you cannot enable it. you need to go through the process how to do that in a node

http://drupal.org/node/15365

note: it needs some expertise to understand above node if there are any administrator who takes care of server issues pass this to him. server o/s knowledge is must.

goodspoint’s picture

rkdeveloper , thank you very much for your reply.

Normally, my clean urls function is enable.

I tried to disable the clean urls function, and the result is working properly when i access to xml site map file. But when i change back clean urls to enable, i still get this error. Because we need to enable clean urls functipn not disable, right?

Do you have any idea?

rkdeveloper’s picture

what other modules you are using?

check the url i am sending....
http://drupal.org/node/264652

let me know what is the url you see there.

goodspoint’s picture

hi,rkdeveloper

My Drupal version is 6.14

And i used many many module such as:
browscap
robotTxt
xmlsitemap
ubercart
quicktab
cck
imagefiel
filedfile
classified Ad
and so on

For the url you sent to me , i seen the description about Setting up the site map but lower version than me. And i was try to configure following the instruction, but still get this is error.

goodspoint’s picture

Today,I lose 1 page rank on google today. How do i solve this problem? i think because of my site map

dave reid’s picture

You don't by any chance actually have a file called 'sitemap.xml' in your Drupal's root directory do you? If you do you should remove it because it's not allowing Drupal to process on that path since Apache will always give preference to existing files.

goodspoint’s picture

Hi Dave Reid ,

My problem on xml site map was cleared by your method. I can access my xml site map file and it working properly, and now i try to resend the xmlsitemap to google.

I just remove the existing xml site map file on my web root, and run the sitemap.xml again. But i got another problem that is when i go back to homepage (i mean front page) via logo, breadcrums etg. it shown me log out from admin panel but if i access to any page within my site the admin panel come back again. I don't know why?
What is the cause of this problem?

thanks.