Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-01-04 02:27:04

blbaron
New Member
From: Penn Yan, NY
Registered: 2009-01-04
Posts: 2
Website

Problem w/ White & Wild Archives Page

I am a newbie at textpattern, and am trying to work with a packaged theme to learn the ropes. I’m trying the White & Wild setup, which has started to take shape (the author’s ‘couple of minutes” to be up and running did seem a bit optimistic). However, I am stumped by a series of errors that are thrown while in debugging mode. In the archives page I am getting a series of undefined index notices (the same one 4 times):
Tag error: <txp:rss_suparchive_bycat section=“article” linktosection=“archives” datesep=” &raquo; “ showdate=“1” limit=“3” /> -> Notice: Undefined index: excerpt on line 474
textpattern/publish.php:1090 rss_suparchive_bycat()
textpattern/publish.php:1012 processTags()
textpattern/publish.php:496 parse()
index.php:33 textpattern()

I also get an unknown tag notice:
Tag error: <txp:rss_suparchive section=“article” linktosection=“archives” dateformat=“F Y” catstart=”“ addbreak=“1” showcats=“1” showsubdate=“1” subdatesep=” :: “ /> -> Textpattern Notice: Unknown tag attribute: linktosection on line 653
textpattern/lib/txplib_misc.php:653 trigger_error()
textpattern/lib/txplib_misc.php(574) : eval()’d code:125 lAtts()
textpattern/publish.php:1090 rss_suparchive()
textpattern/publish.php:1012 processTags()
textpattern/publish.php:496 parse()
index.php:33 textpattern()

Both relate to a plugin that was part of the installation.

It appears that the author is not active anymore, but his website directs questions here. Anyone able to point a direction for me to look for the errors?

Thanks!

Burney Baron

(If it helps, the site is http://blog.losgatosbandb.com/textpattern/archives )

Offline

#2 2009-01-04 13:20:32

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Problem w/ White & Wild Archives Page

<txp:rss_suparchive_bycat /> is a plugin and appears to be causing the error. Undefined index errors are not usually serious problems and probably the only issue for now is the error messages, which you won’t see once you switch to ‘live’ production status. Still, it’s best not to have such errors; if nothing else they get in the way of tracking more serious errors.

I would guess that the articles on your front page do not have excerpts? If so, you could try giving them excerpts to see if the error messages go away.

It would probably be trivial for the plugin author to fix this error.


Code is topiary

Offline

#3 2009-01-05 03:28:09

blbaron
New Member
From: Penn Yan, NY
Registered: 2009-01-04
Posts: 2
Website

Re: Problem w/ White & Wild Archives Page

jsoo wrote:

<txp:rss_suparchive_bycat /> is a plugin and appears to be causing the error. Undefined index errors are not usually serious problems and probably the only issue for now is the error messages, which you won’t see once you switch to ‘live’ production status. Still, it’s best not to have such errors; if nothing else they get in the way of tracking more serious errors

There is a problem with the “Post by Date” listing that would seem related to the last tag error- the months are not showing. The Live status does mask the error flags, but I would rather get it working right before going live.

I would guess that the articles on your front page do not have excerpts? If so, you could try giving them excerpts to see if the error messages go away.

Good thought, but they are still there after throwing in some excerpts.

It would probably be trivial for the plugin author to fix this error.

Agreed, but Rob Sable hasn’t posted in several months, and his website discourages posting questions there. I originally started with another design, Blueprinted, which was a better fit for my needs, but it proved very difficult to sort out, and I found that the author had abandoned txp entirely. My impression is that the update to the current version of textpattern has broken some of the plugins and designs. Some of it is minor- deprecated tags like sitename going to site_name, some maybe more involved. A dweeb like me can flounder for a long time on fairly trivial errors (they usually are trivial after you find the answer.)

Thanks for your thoughts jsoo!

Offline

#4 2009-01-05 11:42:57

jsoo
Plugin Author
From: NC, USA
Registered: 2004-11-15
Posts: 1,793
Website

Re: Problem w/ White & Wild Archives Page

That last error is rather more serious, and is a bug in the template design. rss_suparchive doesn’t have a “linktosection” attribute. This has nothing to do with the TXP version. You could find the rss_suparchive tag in the page (template) in question (Presentation->Pages) and then figure out what should be the correct attribute or tag — possibly that was supposed to be rss_suparchive_bycat or rss_suparchive_menu, both of which have the “linktosection” attribute. I am just glancing over the plugin code; I don’t know how the plugin or the template is supposed to work.


Code is topiary

Offline

Board footer

Powered by FluxBB