Jump to:

17452 Posts in 4473 Topics by 1971 members


SilverStripe Forums » Archive » blog error

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Page: 1
Go to End
Author Topic: 954 Views
  • bajwa
    Community Member
    2 Posts

    blog error Link to this post

    could you help me to fix that error in my blog section

    XML Parsing Error: junk after document element
    Location: http://localhost/silverstripe-v2.2.2/blog/

    Line Number 4, Column 1:<?xml version="1.0" encoding="UTF-8"?>

  • Willr
    Forum Moderator
    5503 Posts

    Re: blog error Link to this post

    You have got some code outputed before the XML declaration in the template. This is usually the case if you are trying to debug::show something or echo some part of the code.

    Try opening up Page.ss and removing the <?xml ?> header

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.