Metrophorums


 

RSS

 
Post new topic   Reply to topic    Metrophorums Forum Index -> Problems and Suggestions
View previous topic :: View next topic  
Author Message
CyberSkull



Joined: 11 Mar 2008
Posts: 2

PostPosted: Tue Mar 11, 2008 2:12 pm    Post subject: RSS Reply with quote

The links given in the RSS feed are broken.

I clicked http://metrophor.com/comic.php?comic=117 and got this error:
Quote:
Catchable fatal error: Argument 1 passed to M4X_MySQL::get_next_comic() must be an instance of M4X_Comic, string given, called in /home/.radcliffe/plenarch/metrophor.com/includes/news_func.php on line 53 and defined in /home/.radcliffe/plenarch/metrophor.com/includes/data_mysql5.php on line 561


The atom feed also gives the same bad URLs.

I see 2 fixes to this: make the PHP script accept the comic number or have the RSS/Atom feed scripts give the dated URLs instead (http://metrophor.com/comic.php?date=2008-02-22)
Back to top
View user's profile Send private message
cijil
Aurarch


Joined: 19 May 2006
Posts: 296
Location: East Coast

PostPosted: Wed Mar 12, 2008 6:33 pm    Post subject: Reply with quote

Oi. The first fix is what I expected to happen, but clearly I mucked something up. I'll get to work on fixing that, although it may be until the weekend before I can.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
cijil
Aurarch


Joined: 19 May 2006
Posts: 296
Location: East Coast

PostPosted: Sun Mar 16, 2008 2:08 pm    Post subject: Reply with quote

Okay, that should be fixed now; there was one line where I was passing an integer instead of the more complex object that the function expected, and as far as I can tell that's the only place that occurred. Let me know if anything else comes up!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
CyberSkull



Joined: 11 Mar 2008
Posts: 2

PostPosted: Sun Mar 16, 2008 2:14 pm    Post subject: Reply with quote

http://metrophor.com/comic.php?comic=117 works for me. Smile
Back to top
View user's profile Send private message
cijil
Aurarch


Joined: 19 May 2006
Posts: 296
Location: East Coast

PostPosted: Mon Mar 17, 2008 1:38 pm    Post subject: Reply with quote

Awesome! I do so love it when things that work for me work for other people too.

It actually happens surprisingly infrequently. The life of a programmer, I suppose.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Metrophorums Forum Index -> Problems and Suggestions All times are GMT - 9 Hours
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum