Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

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

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

XML Parsing Error: not well-formed on Forum module


Reply


6 Posts   2526 Views

Avatar
thrax

Community Member, 32 Posts

15 August 2008 at 4:07pm

Yet another question :)

Now I've got the forum module up and running, I get the below error when trying to view them when I'm not logged in.

XML Parsing Error: not well-formed
Location: <URL>
Line Number 54, Column 187:            
<a href="ForumMemberProfile/registerwithopenid" title="Click here to register with OpenID">Register with OpenID register with OpenID <img src="sapphire/images/openid-small.gif" alt="</a/>

Can anybody offer a fix for this?

Avatar
Willr

Forum Moderator, 5513 Posts

15 August 2008 at 4:58pm

well having alook at the code I would say that the alt tag is missing a "/> as you can see the image tag is not closed correctly.

I have just fixed it - its in trunk on the SVN version or will be in tomorrows daily builds. But to fix it open up forum/templates/Includes/ForumLogin.ss line 11. Near the end you need to add a "/> after the <% _t('OPENIDEXPLICATION') %>

Avatar
thrax

Community Member, 32 Posts

15 August 2008 at 5:16pm

Thanks willr, unfortunately now I get this error!

XML Parsing Error: not well-formed
Location: <URL>
Line Number 55, Column 65:            
(<a href="/silverstripe-v2.2.2/forums/#" id="ShowOpenIDdesc"What is OpenID?</a>)

Avatar
Willr

Forum Moderator, 5513 Posts

15 August 2008 at 5:21pm

this time its missing a > after id="ShowOpenIDdesc"

You want to see where - <a href="/silverstripe-v2.2.2/forums/#" id="ShowOpenIDdesc">What is OpenID?</a>

Avatar
thrax

Community Member, 32 Posts

16 August 2008 at 5:04pm

forgot to reply!

Got it all sorted now willr, cheers for the copius amounts of help yesterday

Avatar
Willr

Forum Moderator, 5513 Posts

17 August 2008 at 12:02pm

No worries! I actually think I was to blame for those mistakes. Im working on the forum module - on the trunk version and merged a whole alot of changes back into it and tidied up the code a bit so I must have added those typo's.

No worries. Let me know if you find any more bugs. We are going to release a new version of the forum in a month or so - http://open.silverstripe.com/milestone/Forum%200.2, so if you come across any issues be sure to let us know!