Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#193 2011-11-30 12:05:01

newnoise
Member
Registered: 2011-02-24
Posts: 35

Re: [plugin] [ORPHAN] rss_live_search

Hi there,

just installed the plugin and it works, but throws a lot of errors when in debug mode:
Fehler im Tag: <txp:rss_live_search /> -> Notice: Undefined variable: uExpires on line 983 textpattern/lib/txplib_misc.php(653) : eval()'d code:77 populateArticleData() textpattern/publish.php:1188 rss_live_search() textpattern/publish.php:1100 processTags() textpattern/publish.php:538 parse() index.php:45 textpattern()

Fehler im Tag: <txp:rss_live_search /> -> Notice: Undefined variable: uLastMod on line 984 textpattern/lib/txplib_misc.php(653) : eval()'d code:77 populateArticleData() textpattern/publish.php:1188 rss_live_search() textpattern/publish.php:1100 processTags() textpattern/publish.php:538 parse() index.php:45 textpattern()

Fehler im Tag: <txp:rss_live_search /> -> Notice: Undefined variable: uExpires on line 983 textpattern/lib/txplib_misc.php(653) : eval()'d code:77 populateArticleData() textpattern/publish.php:1188 rss_live_search() textpattern/publish.php:1100 processTags() textpattern/publish.php:538 parse() index.php:45 textpattern()

Fehler im Tag: <txp:rss_live_search /> -> Notice: Undefined variable: uLastMod on line 984 textpattern/lib/txplib_misc.php(653) : eval()'d code:77 populateArticleData() textpattern/publish.php:1188 rss_live_search() textpattern/publish.php:1100 processTags() textpattern/publish.php:538 parse() index.php:45 textpattern()

Fehler im Tag: <txp:rss_live_search /> -> Notice: Undefined variable: uExpires on line 983 textpattern/lib/txplib_misc.php(653) : eval()'d code:77 populateArticleData() textpattern/publish.php:1188 rss_live_search() textpattern/publish.php:1100 processTags() textpattern/publish.php:538 parse() index.php:45 textpattern()

etc. pp.

Anyone can help?

Offline

#194 2011-11-30 12:10:56

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,447
Website GitHub

Re: [plugin] [ORPHAN] rss_live_search

newnoise wrote:

a lot of errors when in debug mode

Untested but try changing line 49 of the plugin to this:

$rs = safe_rows("*, unix_timestamp(Posted) as uPosted, unix_timestamp(LastMod) as uLastMod, unix_timestamp(Expires) as uExpires, match (Title,Body) against ('$q') as score", "textpattern", $where);

The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#195 2011-11-30 15:50:25

newnoise
Member
Registered: 2011-02-24
Posts: 35

Re: [plugin] [ORPHAN] rss_live_search

thanks bloke! this works.

Offline

Board footer

Powered by FluxBB