nukeSEO.com - PHPNuke SEO Search engine optimization, professional tools including nukeSEO, nukeSPAM, nukeFEED, nukePIE, nukeWYSIWYG and more

 

. Welcome to nukeSEO.com  ! 
.
.
.


.
nukeSEO.com: Forums


 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Google sitemap error.
 
 
Post new topic   Reply to topic    nukeSEO.com Forum Index -> nukeSEO (tm)
View previous topic :: View next topic  
Author Message
lokasher



Joined: Nov 07, 2008
Posts: 0

PostPosted: Sat Feb 02, 2013 1:16 pm    Post subject: Google sitemap error. Reply with quote

hi there,
few months back i successfully submitted sitemap to google and now
mysite.com/sitemap.html is working but
http://www.mysite.com/modules.php?name=Sitemap&op=Google
is giving me this error.
Code:


XML Parsing Error: XML or text declaration not at start of entity
Location: http://www.mysite.com/modules.php?name=Sitemap&op=Google
Line Number 1, Column 2: <?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.google.com/schemas/sitemap/0.84" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.google.com/schemas/sitemap/0.84 http://www.google.com/schemas/sitemap/0.84/sitemap.xsd"><!-- Created by nukeSEO Sitemap 1.0B --><!-- Updated on 2013-02-02T11:02:53-0700 -->
-^

while searching i found out that its because of the blank space before <
if this the reason please tell me how to solve it.

thanks
  
Back to top
View user's profile Send private message
kguske
Site Admin
Site Admin


Joined: May 12, 2005
Posts: 876

PostPosted: Sat Feb 02, 2013 11:03 pm    Post subject: Reply with quote

Have you changed any other files that might be included prior to displaying the sitemap? (e.g. config.php, mainfile,php, modules.php)

It's possible that there is a space after a closing ?> in one of those files. Do you see the blank space on a regular webpage?
_________________
  
Back to top
View user's profile Send private message Visit poster's website
lokasher






PostPosted: Sun Feb 03, 2013 3:43 am    Post subject: Reply with quote

Actually sitemap.html is always working but the google sitemap i dont know for how long its not working,i just checked google yesterday,so dont remember which files i changed.
i dont see blank space on regular webpage,
and i have tried all the files you said for space after closing ?>
and all the files for nukeseo these files seems to be ok.
im using rn2.5
  
Back to top
lokasher






PostPosted: Sun Feb 03, 2013 10:15 am    Post subject: Reply with quote

there was space before <?php in mysqli.php.
removed it now its working.
thanks
  
Back to top
Display posts from previous:       
Post new topic   Reply to topic    nukeSEO.com Forum Index -> nukeSEO (tm) All times are GMT - 5 Hours
 
 Page 1 of 1

 

Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001-2008 phpBB Group


Page Generation: 0.05 Seconds