| Author |
Post |
|
|
#1 Sat May 27, 2006 10:30 am
|
|
Member
Registered: Sep 2005
Posts: 76
Location: New Zealand
|
I upgraded from 0.7 > 0.8a without problems and today tried to update to the latest release 1.0_RC2
It seems that one of the forums is mal-formed and I get this message:
XML Parsing Error: not well-formed Location: Line Number 161, Column 121: <td><div class="forumname"><a href="forum.php?id=1">Morning Madhouse</a></div> <div class="forumdescr">Jay-Jay, Mike & Dom</div></td>
We have had to delete two other topics in the past and I am wondering if deleting a complete topic will solve the problem or will this new code move on to the next TOPIC.
Which file is parsing this forum and finding errors? Suggestions please. I have reverted to Version 0.8a meantime.
MS Server 2003/PHP5.0.5/MySQL5.0.21/IIS6
|
|
|
#2 Sat May 27, 2006 11:04 am
|
|
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
|
Since 1.0, UseBB uses real XHTML for the front-end. This means, no errors should be in the code anymore, or the browser will render an XML error. The error you now have is because the forum description field is not "unhtml'ed" to make the use of HTML possible. But because you use a & in the description, you will get an XML error. To show "&" you need to use "&". I'll add a notice to the field in the ACP in RC3 to make people aware of this.
|
|
|
#3 Sat May 27, 2006 11:16 am
|
|
Member
Registered: Sep 2005
Posts: 76
Location: New Zealand
|
Can I change the forum name now somehow (change the & to and) and see if that will work?
Now going to have to figure out if I can change a Topic name after the fact. Will have a look.
Thanks for the info.
Dave
|
|
|
#4 Sat May 27, 2006 11:34 am
|
|
Member
Registered: Sep 2005
Posts: 76
Location: New Zealand
|
Oh, do I have to look through all posts searching for any & symbols or is it only in the TOPIC or Topic Description that I have to be careful?
|
|
|
#5 Sat May 27, 2006 11:53 am
|
|
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
|
You only need to change that forum description. Jay-Jay, Mike & Dom to Jay-Jay, Mike & DomTo do that, just go to admin.php directly.
|
|
|
#6 Sat May 27, 2006 1:11 pm
|
|
Member
Registered: Sep 2005
Posts: 76
Location: New Zealand
|
Thank you. I have corrected and replaced the ampersand (&) in the Forum description in about three places (with & ) and the new code is working fine. Radiochick ForumMS Server 2003 / IIS6 / PHP 5.0.5 / MySQL 4.1.14
|
|
|
#7 Sat May 27, 2006 6:00 pm
|
|
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
|
Great to hear it works on IIS now too (without patching).
|