Website: forum upgrade

Website: forum upgrade

Discuss Spring news, such as fresh releases and press coverage, here.
Post Reply
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Website: forum upgrade

Post by Tobi »

The forum will shortly be down for some 15 minutes while I upgrade the forum software.

Sorry for the inconvenience.

Update: Make it 5 minutes. The upgrade is finished..
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: Website: forum upgrade

Post by Pxtl »

http://springrts.com/phpbb/search.php?s ... ve_topics
appears to be toast.

new_posts works though. Dunno why both even exsit.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Website: forum upgrade

Post by Tobi »

Fixed, was caused by a phpBB bugfix.
SirMaverick
Posts: 834
Joined: 19 May 2009, 21:10

Re: Website: forum upgrade

Post by SirMaverick »

Categories like Spring now show all posts of Subcategories together instead of just showing the list of Subcategories.

http://springrts.com/phpbb/viewforum.php?f=24
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Website: forum upgrade

Post by imbaczek »

what happened to community headlines? IMHO they were all kinds of awesome.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Website: forum upgrade

Post by lurker »

http://springrts.com/phpbb/viewtopic.php?f=1&t=21190
http://springrts.com/phpbb/viewtopic.ph ... 1&start=20
<[Evo]Forboding_Angel> I upgraded magpie, and it seems to have broken the springinfo feeds. Damnit!
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Website: forum upgrade

Post by imbaczek »

;_;
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Website: forum upgrade

Post by Forboding Angel »

Ok, it's fixed... Oddly enough, the issue was a result of the syndication, magpie, and the rss feed from this site... Wierd, but long story short, a server refresh of the xml and deleting all the syndicated posts fixed it.

I'll have the syndication up in just a little bit. I'm sorry for all the trouble guys :-/

(Btw all the html characters for ampersands and bullet points was a result of me upgrading magpie, apparently it's a nazi when it comes to proper xhtml)

./heartattack
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Website: forum upgrade

Post by Forboding Angel »

Ehh, ok, the moment I syndicate, this site's rss feed is bricking springinfo's feed.

Code: Select all

FEED Validator

for Atom and RSS and KML
Jump to navigation
 
Sorry

This feed does not validate.

    *

      line 34, column 78: XML parsing error: <unknown>:34:78: not well-formed (invalid token) [help]

          		<guid isPermaLink="false">http://springrts.com/phpbb/viewtopic.php?t=21188 ...
                                                                                        ^

Source: http://www.springinfo.info/?feed=rss2

   1. <?xml version="1.0" encoding="UTF-8"?>
   2. <rss version="2.0"
   3. xmlns:content="http://purl.org/rss/1.0/modules/content/"
   4. xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   5. xmlns:dc="http://purl.org/dc/elements/1.1/"
   6. xmlns:atom="http://www.w3.org/2005/Atom"
   7. xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
   8. xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   9. >
  10.  
  11. <channel>
  12. <title>SpringInfo - Players Portal</title>
  13. <atom:link href="http://www.springinfo.info/?feed=rss2" rel="self" type="application/rss+xml" />
  14. <link>http://www.springinfo.info</link>
  15. <description></description>
  16. <lastBuildDate>Thu, 26 Nov 2009 22:04:42 +0000</lastBuildDate>
  17. <generator>http://wordpress.org/?v=2.8.6</generator>
  18. <language>en</language>
  19. <sy:updatePeriod>hourly</sy:updatePeriod>
  20. <sy:updateFrequency>1</sy:updateFrequency>
  21. <item>
  22. <title>Website: forum upgrade</title>
  23. <link>http://www.springinfo.info/?p=1152</link>
  24. <comments>http://www.springinfo.info/?p=1152#comments</comments>
  25. <pubDate>Thu, 26 Nov 2009 22:04:42 +0000</pubDate>
  26. <dc:creator>Tobi</dc:creator>
  27. <category><![CDATA[News]]></category>
  28. <category><![CDATA[15 Minutes]]></category>
  29. <category><![CDATA[Forum Software]]></category>
  30. <category><![CDATA[Sorry For The Inconvenience]]></category>
  31. <category><![CDATA[Statistics]]></category>
  32. <category><![CDATA[Tobi]]></category>
  33.  
  34. <guid isPermaLink="false">http://springrts.com/phpbb/viewtopic.php?t=21188&p=394128#p394128</guid>
  35. <description><![CDATA[
  36. The forum will shortly be down for some 15 minutes while I upgrade the forum software.
  37.  
  38. Sorry for the inconvenience.
  39.  
  40. Update: Make it 5 minutes. The upgrade is finished.Statistics: Posted by Tobi - 26 Nov 2009, 22:04 - Replies 7 - Views 93
  41. ]]></description>
THis is only a small part of the validator results, but line 34 is the problem.
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Website: forum upgrade

Post by Tobi »

What is wrong there?

Is the guid element supposed to contain a GUID? (i.e. max 36 chars)

Or is the `&' character in the URL breaking it?
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Website: forum upgrade

Post by Forboding Angel »

@tobi, I'm not entirely sure, but I do know that when the feed is trying to be read, it's causing a total breakdown. I'm trying to figure out what part of the syndication is causing that and fix it, but it's not altogether clear. According to my settings, it should be linking to springinfo, not here (just cause I wanted to try that to see if it would fix), but it's still linking here and throwing the same error. And yes, I think either the & or the # (prolly the #) is causing the error.

Gimmie a bit, now at least I know (or at least I think I do) what's causing the problem and I'm trying to fix it.

Edit:
Ok it's definitely the link that is causing the issue, that much I was 99% sure of. Looks like it's the ampersand that is giving me trouble... See the thing is, I have it set up so that when the syndication updates, it actually makes a post on springinfo with a permalink to this site. Unfortunately, that link is breaking rss.

Code: Select all

Message

XML Parsing error: syntax error
Explanation

Your feed is not well formed according to the XML specification. All feeds must be well-formed XML. In fact, IE7 and the RSS platform in Windows Vista only support feeds that are well-formed XML.
Solution

The text of the error may contain additional helpful details. At a minimum, the actual line and column number where the error was detected will be reported.

The most common cause is encoding errors. There are several basic approaches to solving this: escaping problematic characters ("<" becomes "<", "&" becomes "&", etc.), escaping entire blocks of text with CDATA sections, or putting an encoding declaration at the start of the feed.

Another common error is the inclusion of whitespace characters (spaces, tabs, newlines) before the XML Declaration. If an XML Declaration is included, it must be the first thing in the document
Working on it still...
Last edited by Forboding Angel on 27 Nov 2009, 11:22, edited 1 time in total.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Website: forum upgrade

Post by imbaczek »

you need to escape almost everything in xml and & is one of the things that is a common source of mistakes. make it & and the problem should go away.

note: you also should be doing this in xhtml source in hrefs. not sure about html.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Website: forum upgrade

Post by Forboding Angel »

Well, the springinfo feed is fine now. Syndication is disabled for the moment. Atm I'm so tired I can barely keep my eyes open and I'm getting confused as to where to even look to fix this, so it's better if I just get some sleep and attack it later with a fresh brain :-)

If I can't get it figured out, I'll get AF to help me. I'm fairly sure he has a lot more experience working with rss feeds than I do.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Website: forum upgrade

Post by Forboding Angel »

It's all fixed now. I had to use a different form of syndication and change the way a few things work, but it's all working and the feed validates, so the community headlines can be re-enabled now (fresh braind did the trick).

Jesus, I'm sorry for the mess. All because of unescaped &'s. Sigh, well it's working now anyhow. The cron job is set up to perform a check every hour. Could someone make a bit of an announcement or something so that I can test it to make sure that the job is actually being performed? It says it is, but at this point I'm not willing to believe a whole lot of what I'm told lol :-)

Also, in said post, could you put an image in there? It's supposed to grab the images and cache them on springinfo (so that it won't hotlink), and I'd like to make sure that that little chestnut is working as well (a smiley would do the trick actually).

I have 0 reason to believe that no part of this isn't working. It's tested and tested and tested and it all checks out ok, so I'm sure we're good to go. God I'm so sorry for the trouble :-/

You can see it currently working at http://www.test.springrts.com
SirMaverick
Posts: 834
Joined: 19 May 2009, 21:10

Re: Website: forum upgrade

Post by SirMaverick »

SirMaverick wrote:Categories like Spring now show all posts of Subcategories together instead of just showing the list of Subcategories.
No one scrolls down so far... :(
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Re: Website: forum upgrade

Post by Tobi »

SirMaverick wrote:
SirMaverick wrote:Categories like Spring now show all posts of Subcategories together instead of just showing the list of Subcategories.
No one scrolls down so far... :(
Should be fixed now.
SirMaverick
Posts: 834
Joined: 19 May 2009, 21:10

Re: Website: forum upgrade

Post by SirMaverick »

Tobi wrote:Should be fixed now.
Nice. :)
Post Reply

Return to “News”