Google Sitemap Lite
ExpressionEngine 2, ExpressionEngine 3
Back to this add-on's main page
View Other Add-ons From Rein de Vries
XML Parsing Error
Support (Resolved)
Jbishop228
|
Posted: 03 May 2012 06:53 PM |
|
|
|
Hello, I installed Google Sitemap Lite and followed your instruction to create a template and add the code. Now I’m getting this error when I try to view the template:
XML Parsing Error: no element found
Location: http://local.jasonbishop.com/sitemap
Line Number 1, Column 1:
Any ideas?
Thanks,
Jason
|
|
|
Reinos
|
Posted: 04 May 2012 03:03 AM |
# 1
|
|
Developer
|
Hello Jason,
Can you get me a little more information about your EE installation?
- What version of EE you are running?
- From witch module you are create a Sitemap? (Structure, navee or Taxanomy?)
- What tag you are using to create a xml sitemap?
- What are the site settings for your template? (is it a XML template)
- What is the source of your sitemap when its outputting to te browser (ctrl+u to view in the browser)
Rein
|
|
|
Jbishop228
|
Posted: 04 May 2012 07:33 PM |
# 2
|
|
|
Ah, yes, that would help :)
- What version of EE you are running?
2.4.0
- From witch module you are create a Sitemap? (Structure, navee or Taxanomy?)
Structure
- What tag you are using to create a xml sitemap?
The one in your instructions:
{exp:google_sitemap_lite:generate type=“structure”}
- What are the site settings for your template? (is it a XML template)
XML
- What is the source of your sitemap when its outputting to te browser (ctrl+u to view in the browser)
It’s nothing, two empty lines. Just that XML parsing error comes up.
Thanks Rein!
Jason
|
|
|
Reinos
|
Posted: 07 May 2012 03:13 AM |
# 3
|
|
Developer
|
Hi Jason,
is it possible that i get some credentials of your site so I can look at the preferences?
With my test case I got no errors.
Rein
|
|
|
Jbishop228
|
Posted: 08 May 2012 12:36 PM |
# 4
|
|
|
Sure, I’ll need your email to do that.
Thanks,
Jason
|
|
|
Reinos
|
Posted: 08 May 2012 01:52 PM |
# 5
|
|
Developer
|
Yes: info@reinos.nl
|
|
|
mcsnidely
|
Posted: 29 May 2013 04:29 PM |
# 6
|
|
|
I’m having the same problem.
EE v2.5.5
with structure installed
sitemap template is xml
If I use this code
{exp:google_sitemap_lite:generate type="structure" mode="all"} {exp:google_sitemap_lite:generate type="structure"}
I get this error:
This page contains the following errors: error on line 9 at column 6: XML declaration allowed only at the start of the document Below is a rendering of the page up to the first error.
If I just use this
{exp:google_sitemap_lite:generate type="structure" mode="all"}
The page outputs this, but none of my structure pages.
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc>http://mydomain.com/</loc> <lastmod>2013-05-29</lastmod> <changefreq>weekly</changefreq> <priority>1</priority> </url> </urlset>
|
|
|
Reinos
|
Posted: 30 May 2013 07:05 AM |
# 7
|
|
Developer
|
Hi there,
Do you got a test url where i can see the sitemap?
|
|
|
mcsnidely
|
Posted: 30 May 2013 08:40 AM |
# 8
|
|
|
Thanks Reinos,
But I realized that the sitemap Lite plugin isn’t the right solution for me because my site is a single page application and the urls will not be what I need.
|
|
|