FeedForAll Forum Index ?
?Home?????FAQ????? Search ?????Register ?????Profile? ????Log in
?date() issue View next topic
View previous topic
Post new topicReply to topic
Author Message
webfeatus



Joined: 12 May 2008
Posts: 23

PostPosted: Mon Dec 16, 2013 4:32 am Reply with quoteBack to top

Any ideas how I can quickly fix this error?

http://www.kembalivillas.com/feedback.htm
View user's profile
Tech Support



Joined: 27 Aug 2004
Posts: 2688

PostPosted: Mon Dec 16, 2013 1:32 pm Reply with quoteBack to top

You can probably edit your rss2html.php file to fix that.

On (or around) line 450 in rss2html.php you will see this:
Code:

//
// If using cURL, make sure it exists
if (($useFopenURL == 0) && !function_exists("curl_init")) {
? $useFopenURL = -1;
? if (isset($debugLevel) && ($debugLevel >= 3)) {
? ? echo "DIAG: setting \$useFopenURL=-1 because curl_init() doesn't exist
\n";
? }
}


Add this line before it:

date_default_timezone_set('Asia/Singapore');//or change to whatever timezone you want

So it will now look like this:
Code:

date_default_timezone_set('Asia/Singapore');//or change to whatever timezone you want
//
// If using cURL, make sure it exists
if (($useFopenURL == 0) && !function_exists("curl_init")) {
? $useFopenURL = -1;
? if (isset($debugLevel) && ($debugLevel >= 3)) {
? ? echo "DIAG: setting \$useFopenURL=-1 because curl_init() doesn't exist
\n";
? }
}

[/code]

_________________
Create RSS Feeds
Audio Recording and Editing
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