Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

Sitemap - XML declaration allowed only at the start of the document

rl2rl2
edited November 2017 in Share
I have uncommented the line $route['sitemap.xml'] = 'sitemap_xml' from routes.php in application/config and gone to the sitemap_xml page in my browser expecting something to render but just receive this error message below:

error on line 2 at column 6: XML declaration allowed only at the start of the document

Comments

Sign In or Register to comment.