FeedForAll Forum Index  
 Home  •  FAQ  •   Search   •  Register   •  Profile   •  Log in
 Warning: date() expects parameter 2 to be long, string given View next topic
View previous topic
Post new topicReply to topic
Author Message
mickdonedee



Joined: 24 Jun 2006
Posts: 4

PostPosted: Wed Feb 11, 2009 10:34 pm Reply with quoteBack to top

Warning: date() expects parameter 2 to be long, string given in /hsphere/local/home/worldate/world-a-team.com/rsseng.php on line 791

Warning: date() expects parameter 2 to be long, string given in /hsphere/local/home/worldate/world-a-team.com/rsseng.php on line 792

Warning: date() expects parameter 2 to be long, string given in /hsphere/local/home/worldate/world-a-team.com/rsseng.php on line 793

Warning: date() expects parameter 2 to be long, string given in /hsphere/local/home/worldate/world-a-team.com/rsseng.php on line 794

These errors appeared recently on my website:
http://world-a-team.com/england-cricket-forum/

The URL of the RSS feed is:
http://content-www.cricinfo.com/rss/content/feeds/news/1.xml

The script I'm using is rss2html.php RSS feed to HTML webpage script.
rss2html.php,v 2.30 2006/05/28 17:52:10 housley

The section of script that is referred to in the error is:

$template = str_replace("~~~FeedPubLongDate~~~", date($LongDateFormat, $rss_parser->FeedPubDate_t), $template);
$template = str_replace("~~~FeedPubShortDate~~~", date($ShortDateFormat, $rss_parser->FeedPubDate_t), $template);
$template = str_replace("~~~FeedPubLongTime~~~", date($LongTimeFormat, $rss_parser->FeedPubDate_t), $template);
$template = str_replace("~~~FeedPubShortTime~~~", date($ShortTimeFormat, $rss_parser->FeedPubDate_t), $template);

Is there a known fix for this?
View user's profile
ray



Joined: 13 Feb 2010
Posts: 1

PostPosted: Sat Feb 13, 2010 2:16 am Reply with quoteBack to top

I am having the same problems now. I can see this post is one year old. I appreciate if mickdonedee or any one updates me of a solution.

Error can be seen here:
http://www.youregypt.com/forum/feed/rss2html_dave.php
View user's profile
Display posts from previous:      
Post new topicReply to topic


 Jump to:   



View next topic
View previous topic


Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme