View topic - Website: forum upgrade



All times are UTC + 1 hour


Post new topic Reply to topic  [ 18 posts ] 
Author Message
 Post subject: Website: forum upgrade
PostPosted: 26 Nov 2009, 22:04 
Spring Developer

Joined: 01 Jun 2005, 10:36
Location: The Netherlands
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..


Top
 Offline Profile  
 
PostPosted: 26 Nov 2009, 22:32 
User avatar

Joined: 23 Oct 2004, 00:43
[url]http://springrts.com/phpbb/search.php?search_id=active_topics
[/url]
appears to be toast.

new_posts works though. Dunno why both even exsit.


Top
 Offline Profile  
 
PostPosted: 26 Nov 2009, 23:03 
Spring Developer

Joined: 01 Jun 2005, 10:36
Location: The Netherlands
Fixed, was caused by a phpBB bugfix.


Top
 Offline Profile  
 
PostPosted: 27 Nov 2009, 05:01 
Moderator

Joined: 19 May 2009, 20:10
Categories like Spring now show all posts of Subcategories together instead of just showing the list of Subcategories.

viewforum.php?f=24


Top
 Offline Profile  
 
PostPosted: 27 Nov 2009, 09:30 
Moderator

Joined: 22 Aug 2006, 15:19
what happened to community headlines? IMHO they were all kinds of awesome.


Top
 Offline Profile  
 
PostPosted: 27 Nov 2009, 09:34 
Redacted
User avatar

Joined: 08 Jan 2007, 06:13
Location: Don't be silly. If there's no machine heaven, where do all the toasters go?
viewtopic.php?f=1&t=21190
viewtopic.php?f=17&t=19121&start=20
<[Evo]Forboding_Angel> I upgraded magpie, and it seems to have broken the springinfo feeds. Damnit!


Top
 Offline Profile  
 
PostPosted: 27 Nov 2009, 09:42 
Moderator

Joined: 22 Aug 2006, 15:19
;_;


Top
 Offline Profile  
 
PostPosted: 27 Nov 2009, 10:31 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
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


Top
 Offline Profile  
 
PostPosted: 27 Nov 2009, 10:40 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
Ehh, ok, the moment I syndicate, this site's rss feed is bricking springinfo's feed.

Code:
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.


Top
 Offline Profile  
 
PostPosted: 27 Nov 2009, 10:51 
Spring Developer

Joined: 01 Jun 2005, 10:36
Location: The Netherlands
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?


Top
 Offline Profile  
 
PostPosted: 27 Nov 2009, 11:04 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
@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:
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 "&lt;", "&" becomes "&amp;", 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.

Top
 Offline Profile  
 
PostPosted: 27 Nov 2009, 11:20 
Moderator

Joined: 22 Aug 2006, 15:19
you need to escape almost everything in xml and & is one of the things that is a common source of mistakes. make it &amp; and the problem should go away.

note: you also should be doing this in xhtml source in hrefs. not sure about html.


Top
 Offline Profile  
 
PostPosted: 27 Nov 2009, 11:52 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
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.


Top
 Offline Profile  
 
PostPosted: 27 Nov 2009, 18:45 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
Location: Raegquitting Spring on 04/24/12
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


Top
 Offline Profile  
 
PostPosted: 27 Nov 2009, 23:25 
Moderator

Joined: 19 May 2009, 20:10
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... :(


Top
 Offline Profile  
 
PostPosted: 02 Dec 2009, 03:13 

Joined: 02 Dec 2009, 03:09
:-)


Top
 Offline Profile  
 
PostPosted: 11 Dec 2009, 17:29 
Spring Developer

Joined: 01 Jun 2005, 10:36
Location: The Netherlands
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.


Top
 Offline Profile  
 
PostPosted: 11 Dec 2009, 20:45 
Moderator

Joined: 19 May 2009, 20:10
Tobi wrote:
Should be fixed now.

Nice. :)


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.