Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-09-30 02:19:36

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Fatal error: Call to undefined function: feed_url()

Hi.

I’m asking this here and not in the corresponding plug-ins thread because this happened with two plug-ins: bit_rss and the official simplepie plug-in for textpattern.

For example, I have bit_rss installed and I’m including the plug-in tag in a page template and I’m getting the following error:

Fatal error: Call to undefined function: feed_url() in /home/mgo/html/textpattern/lib/txplib_misc.php(534) : eval()’d code on line 47

Please, any help would be appreciated.
Thanks in advance.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#2 2007-09-30 05:49:00

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,028
Website GitHub Mastodon Twitter

Re: Fatal error: Call to undefined function: feed_url()

I get these errors too when the feed the plugin is trying to get is unavailable. I wish there was a solution the plugins could suppress the error and come with a text like “feed unavailable” or something similar instead of ‘crashing’ the whole site.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#3 2007-09-30 06:51:26

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,028
Website GitHub Mastodon Twitter

Re: Fatal error: Call to undefined function: feed_url()

ps… I was wondering if this could be a good alternative to the plugins.

Last edited by colak (2007-09-30 06:51:49)


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#4 2007-10-01 23:10:06

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Fatal error: Call to undefined function: feed_url()

colak wrote:

I get these errors too when the feed the plugin is trying to get is unavailable. I wish there was a solution the plugins could suppress the error and come with a text like “feed unavailable” or something similar instead of ‘crashing’ the whole site.

So, this is a problem in TxP? Because the feed_url funtion is on a TxP file, am I right?


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#5 2007-10-01 23:13:49

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Fatal error: Call to undefined function: feed_url()

Mmm…

I have looked for the function feed_url() in the txplib_misc.php file but there isn’t any funcion with that name there.

I assume that this function belongs to the TxP core and the plug-in is looking for it but doesn’t find it. Am I right?


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#6 2007-10-02 15:14:52

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,028
Website GitHub Mastodon Twitter

Re: Fatal error: Call to undefined function: feed_url()

I’m not sure where the problem is (txp or plugins)… i would think it’s the plugins but I wouldn’t know where to start looking.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#7 2007-10-03 16:38:03

pompilos
Member
From: Spain
Registered: 2005-06-07
Posts: 114
Website

Re: Fatal error: Call to undefined function: feed_url()

Hello. I am having the same problem. There is a lot of activity in the original page of the plugin bit_rss, but nobody seems to have had this problem until now. I will notify the problem in that thread.

By the way, I found that the lib “simplepie.inc” downloaded from Simplepie , and the one included with the plugin “bit_rss” have a different date.

Last edited by pompilos (2007-10-03 16:38:45)

Offline

#8 2007-10-07 20:28:23

pompilos
Member
From: Spain
Registered: 2005-06-07
Posts: 114
Website

Re: Fatal error: Call to undefined function: feed_url()

Hello, maniqui.

I am not sure that the problem is solved. With the actualized Simplepie plugin for Textpattern, SimplePie does function, but bit_rss doesn´t. I am still retrieving the same fatal error: “…txplib_misc.php(534) : eval()’d code on line 47”.

Does your installation function?

Offline

#9 2007-10-07 21:27:58

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Fatal error: Call to undefined function: feed_url()

SimplePie plugin for TxP works because the author (a SimplePie developer) has updated it to work with the newest SimplePie version.

Bit_rss hasn’t been fixed yet to work with the new version of SimplePie.
I think you have two options:

1. Use both the SimplePie plug-in for TxP and the newest SimplePie version
2. Stick with bit_rss and use the SimplePie version that comes in the bit_rss zip file.

I have chosen the first option.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#10 2008-01-31 02:46:48

moslib
Member
Registered: 2005-08-11
Posts: 39

Re: Fatal error: Call to undefined function: feed_url()

Maniqui – can you confirm that the first option works for you?

Offline

#11 2008-01-31 13:43:52

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Fatal error: Call to undefined function: feed_url()

hi moslib

I’m using SimplePie Plugin for Textpattern 1.2.1 and SimplePie (version “Razzleberry”) and it seems to work fine for my client’s site (PHP version: 4.3.11, MySQL 4.0.18).


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB