Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#13 2009-12-15 17:52:17
- sbaldino
- Member
- Registered: 2009-12-11
- Posts: 12
Re: /textpattern/ newbie but experienced admin, /articles/ 404 NOT FOUND
I dont see one….
heres the code for the ‘article’ page that I use in the ‘articles’ section
<txp:output_form form="head" />
<body id="body-subpage">
<div id="upper-part">
<div id="wrapper">
<div id="header">
<h1><a href="<txp:site_url />" title="<txp:sitename />"><txp:sitename /></a></h1>
<h2><txp:site_slogan /></h2>
</div>
</div>
<txp:output_form form="navbar" />
</div>
<div id="lower-part" class="clearfix">
<div class="col640">
<txp:if_article_list>
<txp:if_category>
<h3>Articles in ‘<txp:category link="0" title="1" />’</h3>
<txp:else />
<h3><txp:section link="0" title="1" /></h3>
</txp:if_category>
<txp:article listform="excerptlist" limit="99999" />
<txp:else />
<txp:article limit="99999" />
</txp:if_article_list>
</div>
<div class="col320">
<txp:if_individual_article>
<div id="recent-articles">
<h3>Recent articles</h3>
<ul class="linklist"><txp:article_custom section="articles" limit="5" form="articlelist" /></ul>
<txp:section link="1" title="1" wraptag="p" name="archive" class="to-right full-article" />
</div>
<txp:else />
<div id="categories">
<h3>Browse by categories</h3>
<txp:category_list break="li" wraptag="ul" class="linklist" section="articles" />
</div>
</txp:if_individual_article>
<div id="feeds">
<txp:output_form form="feeds" />
</div>
<div id="recent-comments">
<h3>Recent comments</h3>
<txp:recent_comments limit="3" wraptag="ul" break="li" class="linklist" />
</div>
</div>
<txp:if_individual_article>
<txp:output_form form="comments_display" />
</txp:if_individual_article>
</div>
<txp:output_form form="footer" />
(added bc.
for better code display. -Els)
Last edited by els (2009-12-15 17:59:33)
Offline
#14 2009-12-15 18:04:19
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: /textpattern/ newbie but experienced admin, /articles/ 404 NOT FOUND
sbaldino wrote:
I dont see one….
Yes, there is:
<txp:else />
<txp:article limit="99999" />
It should display articles in section ‘articles’ and category ‘new-to-crosstowne’ on the requested page. It’s possible that the problem lies in your use of capitals in the category name. Section and category names should always be all lower case.
Offline
#15 2009-12-15 18:14:49
- sbaldino
- Member
- Registered: 2009-12-11
- Posts: 12
Re: /textpattern/ newbie but experienced admin, /articles/ 404 NOT FOUND
I made the change to the category name and made it all lower case…still same result. Any other suggestions?
Offline
#16 2009-12-15 19:12:31
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: /textpattern/ newbie but experienced admin, /articles/ 404 NOT FOUND
Can you post a tag trace of that page?
Offline
#17 2009-12-15 20:18:22
- sbaldino
- Member
- Registered: 2009-12-11
- Posts: 12
Re: /textpattern/ newbie but experienced admin, /articles/ 404 NOT FOUND
<pre>Tag error: <b><txp:sitename /></b> -> <b> Notice: Undefined variable: pretext on line 1112</b></pre>
<pre style="padding-left: 2em;" class="backtrace"><code>textpattern/publish.php:1028 processTags()
textpattern/publish.php:506 parse()
index.php:45 textpattern()</code></pre><pre>Tag error: <b><txp:sitename /></b> -> <b> Textpattern Notice: tag is deprecated on line 1114</b></pre>
<pre style="padding-left: 2em;" class="backtrace"><code>textpattern/publish.php:1114 trigger_error()
textpattern/publish.php:1028 processTags()
textpattern/publish.php:506 parse()
index.php:45 textpattern()</code></pre><pre>Tag error: <b><txp:sitename /></b> -> <b> Notice: Undefined variable: pretext on line 1112</b></pre>
<pre style="padding-left: 2em;" class="backtrace"><code>textpattern/publish.php:1028 processTags()
textpattern/publish.php:506 parse()
index.php:45 textpattern()</code></pre><pre>Tag error: <b><txp:sitename /></b> -> <b> Textpattern Notice: tag is deprecated on line 1114</b></pre>
<pre style="padding-left: 2em;" class="backtrace"><code>textpattern/publish.php:1114 trigger_error()
textpattern/publish.php:1028 processTags()
textpattern/publish.php:506 parse()
index.php:45 textpattern()</code></pre><pre>Tag error: <b><txp:category1 title=1 /></b> -> <b> Textpattern Warning: Attribute values must be quoted on line 984</b></pre>
<pre style="padding-left: 2em;" class="backtrace"><code>textpattern/lib/txplib_misc.php:984 trigger_error()
textpattern/publish.php:1106 splat()
textpattern/publish.php:1028 processTags()
textpattern/lib/txplib_misc.php:1621 parse()
textpattern/publish.php:786 parse_form()
textpattern/publish.php:903 doArticles()
textpattern/publish.php:560 parseArticles()
textpattern/publish.php:1106 article()
textpattern/publish.php:1028 processTags()
textpattern/publish/taghandlers.php:2632 parse()</code></pre><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/xml; charset=UTF-8" />
<meta http-equiv="content-language" content="en" />
<meta name="author" content="Piotr Delawski" />
<meta name="reply-to" content="delu@tlen.pl" />
<meta name="robots" content="all" />
<title>crosstownchurch.com: Articles</title>
<!--<link rel="stylesheet" type="text/css" media="screen, projection" href="http://crosstownechurch.scottbaldinodesign.com/css.php?n=undohtml" />-->
<link rel="stylesheet" type="text/css" media="screen, projection" href="http://crosstownechurch.scottbaldinodesign.com/css.php?n=default" />
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" media="screen, projection" href="http://crosstownechurch.scottbaldinodesign.com/css.php?n=ielt7" />
<![endif]-->
<link rel="alternate" type="application/rss+xml" title="RSS Feed" href="http://crosstownechurch.scottbaldinodesign.com/rss/?section=article" />
<script type="text/javascript" src="http://crosstownechurch.scottbaldinodesign.com/scripts/mootools.js"></script>
<script type="text/javascript" src="http://crosstownechurch.scottbaldinodesign.com/scripts/effects.js"></script>
</head>
<body id="body-subpage">
<div id="upper-part">
<div id="wrapper">
<div id="header">
<h1><a href="http://crosstownechurch.scottbaldinodesign.com/" title=""></a></h1>
<h2>a return to God.</h2>
</div>
</div>
<div id="navbar" class="clearfix">
<div id="menu">
<ul>
<li><a href="http://crosstownechurch.scottbaldinodesign.com/">Home</a></li>
<li><a href="http://crosstownechurch.scottbaldinodesign.com/about/">New?</a></li>
<li><a href="http://crosstownechurch.scottbaldinodesign.com/archive/">Archive</a></li>
<li><a class="active" href="http://crosstownechurch.scottbaldinodesign.com/articles/">Articles</a></li>
<li><a href="http://crosstownechurch.scottbaldinodesign.com/missio-dei/">Missio dei</a></li>
<li><a href="http://crosstownechurch.scottbaldinodesign.com/videos/">Media</a></li>
</ul>
<form method="get" action="http://crosstownechurch.scottbaldinodesign.com/"><p><label for="q">Search:</label><input type="text" id="q" name="q" /><input id="search-submit" type="image" src="http://crosstownechurch.scottbaldinodesign.com/images/layout/icons/search.gif" alt="Ok" /></p></form>
</div>
</div>
</div>
<div id="lower-part" class="clearfix">
<div class="col640">
<h3>Articles</h3>
<div class="excerptlist excerptlist-last">
<h4><a href="http://crosstownechurch.scottbaldinodesign.com/articles/4/values" title="Values">Values</a></h4>
<p class="very-small">Posted on Wed 12/09/09 in <em><a href="http://crosstownechurch.scottbaldinodesign.com/articles/?c="></a></em>, <a href="http://crosstownechurch.scottbaldinodesign.com/articles/4/values" class="full-article" title="Read the post">Read the post</a></p>
<p>What we believe…</p>
<p>About God<br />
God is the Creator and Ruler of the universe. He has eternally existed in three persons: the Father, the Son and the Holy Spirit. These three are co-equal and are one God.</p>
</div>
</div>
<div class="col320">
<div id="categories">
<h3>Browse by categories</h3>
<ul class="linklist">
<li><a href="http://crosstownechurch.scottbaldinodesign.com/articles/?c=misseo-dei">Misseo Dei</a></li>
<li><a href="http://crosstownechurch.scottbaldinodesign.com/articles/?c=new-to-crosstowne">New To Crosstowne?</a></li>
</ul>
</div>
<div id="feeds">
<h3>Feeds</h3>
<ul class="linklist"><li><a href="http://crosstownechurch.scottbaldinodesign.com/rss/?section=articles" title="RSS Feed">RSS Feed</a></li><li><a href="http://crosstownechurch.scottbaldinodesign.com/atom/?section=articles" title="Atom Feed">Atom Feed</a></li><li><a href="http://crosstownechurch.scottbaldinodesign.com/rss/?section=videos" title="RSS Feed">Videos Feed (RSS)</a></li><li><a href="http://crosstownechurch.scottbaldinodesign.com/rss/?area=link" title="RSS Feed">Links Feed (RSS)</a></li></ul>
</div>
<div id="recent-comments">
<h3>Recent comments</h3>
</div>
</div>
</div>
<div id="footer">
<p><em>© Copyright by scottbaldinodesign.com, 2007</em></p>
<p class="very-small">This Site is powered by <a href="http://www.textpattern.com/">Textpattern 4.0.5</a> licenced under <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a>.<br />The Site is valid <a href="http://validator.w3.org/check/referer">XHTML 1.0 Strict</a> and <a href="http://jigsaw.w3.org/css-validator/check/referer?warning=no&profile=css2">CSS 2.0</a>.</p>
</div>
</body>
</html>
<!-- Runtime: 0.0118 -->
<!-- Query time: 0.003066 -->
<!-- Queries: 20 -->
<!-- Memory: 2193Kb, <txp:rss_auto_excerpt sentences="3" showlinkwithexcerpt="0" /> -->
<!-- txp tag trace:
[SQL (0.00020694732666016): select name, data from prefix_txptxp_lang as txp_lang where lang='en-us' AND ( event='public' OR event='common')]
[SQL (8.6784362792969E-05): select name, code, version from prefix_txptxp_plugin as txp_plugin where status = 1 AND type IN (0,1) order by load_order]
[SQL (9.608268737793E-05): select name from prefix_txptxp_section as txp_section where `name` like 'articles' limit 1]
[SQL (6.6995620727539E-05): select page, css from prefix_txptxp_section as txp_section where name = 'articles' limit 1]
[SQL (0.00046396255493164): select host from prefix_txptxp_log as txp_log where ip='216.82.251.228' limit 1]
[SQL (0.00026702880859375): insert into prefix_txptxp_log set `time`=now(),page='/articles/',ip='216.82.251.228',host='216.82.251.228',refer='',status='200',method='GET']
[SQL (7.3909759521484E-05): select user_html from prefix_txptxp_page as txp_page where name='article']
[Page: article]
<txp:output_form form="head" />
[SQL (7.7962875366211E-05): select Form from prefix_txptxp_form as txp_form where name='head']
[Form: head]
<txp:page_title />
[SQL (6.9141387939453E-05): select title from prefix_txptxp_section as txp_section where name='articles']
<txp:css n="undohtml" format="link" media="screen, projection" />
<txp:css n="default" format="link" media="screen, projection" />
<txp:css n="ielt7" format="link" media="screen, projection" />
<txp:feed_link format="link" section="article" />
<txp:site_url />
<txp:site_url />
<txp:site_url />
<txp:sitename />
Tag error: <txp:sitename /> -> Notice: Undefined variable: pretext on line 1112
Tag error: <txp:sitename /> -> Textpattern Notice: tag is deprecated on line 1114
<txp:sitename />
Tag error: <txp:sitename /> -> Notice: Undefined variable: pretext on line 1112
Tag error: <txp:sitename /> -> Textpattern Notice: tag is deprecated on line 1114
<txp:site_slogan />
<txp:output_form form="navbar" />
[SQL (8.4161758422852E-05): select Form from prefix_txptxp_form as txp_form where name='navbar']
[Form: navbar]
<txp:section_list exclude="Article" break="li" wraptag="ul" include_default="1" default_title="Home" class="" active_class="active" />
[SQL (7.3909759521484E-05): select name, title from prefix_txptxp_section as txp_section where name != 'default' and name not in('Article') order by name ASC]
<txp:search_input />
[SQL (7.4863433837891E-05): select form from prefix_txptxp_form where `name` = 'search_input' limit 1]
<txp:site_url />
<txp:site_url />
<txp:if_article_list>
[<txp:if_article_list>: true]
<txp:if_category>
[<txp:if_category>: false]
<txp:section link="0" title="1" />
</txp:if_category>
<txp:article listform="excerptlist" limit="99999" />
[SQL (0.00029492378234863): select count(*) from prefix_txptextpattern as textpattern where 1=1 and Status = 4 and Posted <= now() and (now() <= Expires or Expires = '0000-00-00 00:00:00') and Section IN ('articles')]
[SQL (0.00041699409484863): select *, unix_timestamp(Posted) as uPosted, unix_timestamp(Expires) as uExpires, unix_timestamp(LastMod) as uLastMod from prefix_txptextpattern as textpattern where 1=1 and Status = 4 and Posted <= now() and (now() <= Expires or Expires = '0000-00-00 00:00:00') and Section IN ('articles') order by Posted desc limit 0, 99999]
[article 4]
[SQL (9.1075897216797E-05): select Form from prefix_txptxp_form as txp_form where name='excerptlist']
[Form: excerptlist]
<txp:if_last_article>
[<txp:if_last_article>: true]
</txp:if_last_article>
<txp:permlink />
<txp:title />
<txp:title />
<txp:posted format="%a %m/%d/%y" />
<txp:site_url />
<txp:section />
<txp:category1 />
<txp:category1 title=1 />
Tag error: <txp:category1 title=1 /> -> Textpattern Warning: Attribute values must be quoted on line 984
<txp:if_comments_allowed>
[<txp:if_comments_allowed>: false]
</txp:if_comments_allowed>
<txp:permlink />
<txp:rss_auto_excerpt sentences="3" showlinkwithexcerpt="0" />
</txp:if_article_list>
<txp:if_individual_article>
[<txp:if_individual_article>: false]
<txp:category_list break="li" wraptag="ul" class="linklist" section="articles" />
[SQL (8.8214874267578E-05): select name, title from prefix_txptxp_category as txp_category where type = 'article' and name not in('default','root') order by name ASC]
</txp:if_individual_article>
<txp:output_form form="feeds" />
[SQL (7.2002410888672E-05): select Form from prefix_txptxp_form as txp_form where name='feeds']
[Form: feeds]
<txp:feed_link flavor="rss" section="articles" label="RSS Feed" wraptag="li" />
<txp:feed_link flavor="atom" section="articles" label="Atom Feed" wraptag="li" />
<txp:feed_link flavor="rss" section="videos" label="Videos Feed (RSS)" wraptag="li" />
<txp:link_feed_link label="Links Feed (RSS)" wraptag="li" />
<txp:recent_comments limit="3" wraptag="ul" break="li" class="linklist" />
[SQL (0.0002748966217041): select d.name, d.email, d.web, d.message, d.discussid, unix_timestamp(d.Posted) as time, t.ID as thisid, unix_timestamp(t.Posted) as posted, t.Title as title, t.Section as section, t.url_title from prefix_txptxp_discuss as d inner join prefix_txptextpattern as t on d.parentid = t.ID where t.Status >= 4 and (now() <= t.Expires or t.Expires = '0000-00-00 00:00:00') and d.visible = 1 order by d.posted desc limit 0,3]
<txp:if_individual_article>
[<txp:if_individual_article>: false]
</txp:if_individual_article>
<txp:output_form form="footer" />
[SQL (7.4863433837891E-05): select Form from prefix_txptxp_form as txp_form where name='footer']
[Form: footer]
[ ~~~ secondpass ~~~ ]
-->
Offline
#18 2009-12-15 23:09:00
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: /textpattern/ newbie but experienced admin, /articles/ 404 NOT FOUND
Just a couple of things that are not related, but need a fix anyway.
Change all instances of <txp:sitename />
to <txp:site_name />
, the tag was changed a couple of versions ago.
There still is a capital here: <txp:section_list exclude="Article"
:)
Tag error: <txp:category1 title=1 /> -> Textpattern Warning: Attribute values must be quoted on line 984
That should be title="1"
.
About the tag trace you posted, it is not the tag trace of a category page: [<txp:if_category>: false]
:) But never mind, I found it on your category page. This is the article tag’s query:
[SQL (0.00035786628723145): select *, unix_timestamp(Posted) as uPosted, unix_timestamp(Expires) as uExpires, unix_timestamp(LastMod) as uLastMod from prefix_txptextpattern as textpattern where 1=1 and Status = 4 and Posted <= now() and (now() <= Expires or Expires = '0000-00-00 00:00:00') and (Category1 IN ('new-to-crosstowne') or Category2 IN ('new-to-crosstowne')) and Section IN ('articles') order by Posted desc limit 0, 99999]
Which means that it is definitely looking for articles in category ‘new-to-crosstowne’ and section ‘articles’. Most common causes they aren’t found could be that the articles’ status is not set to ‘live’, or the ‘posted’ date is in the future. And sorry, dumb question, but did you check that the articles really are in the right category and section?
Offline
#19 2009-12-18 17:04:28
- sbaldino
- Member
- Registered: 2009-12-11
- Posts: 12
Re: /textpattern/ newbie but experienced admin, /articles/ 404 NOT FOUND
tnx so much…you have been on the money. One more thing tho. Whats the fix for the error messages on this page.
http://crosstownechurch.scottbaldinodesign.com/videos/
Heres the source code
<pre>Tag error: <b><txp:link_to_next></b> -> <b> Textpattern Notice: Article tags cannot be used outside an article context on line 2175</b></pre>
<pre style="padding-left: 2em;" class="backtrace"><code>textpattern/lib/txplib_misc.php:2175 trigger_error()
textpattern/publish/taghandlers.php:1224 assert_article()
textpattern/publish.php:1106 link_to_next()
textpattern/publish.php:1041 processTags()
textpattern/publish.php:506 parse()
index.php:45 textpattern()</code></pre><pre>Tag error: <b><txp:link_to_prev></b> -> <b> Textpattern Notice: Article tags cannot be used outside an article context on line 2175</b></pre>
<pre style="padding-left: 2em;" class="backtrace"><code>textpattern/lib/txplib_misc.php:2175 trigger_error()
textpattern/publish/taghandlers.php:1268 assert_article()
textpattern/publish.php:1106 link_to_prev()
textpattern/publish.php:1041 processTags()
textpattern/publish.php:506 parse()
index.php:45 textpattern()</code></pre><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/xml; charset=UTF-8" />
<meta http-equiv="content-language" content="en" />
<meta name="author" content="Piotr Delawski" />
<meta name="reply-to" content="delu@tlen.pl" />
<meta name="robots" content="all" />
<title>www.crosstownchurch.com: Media</title>
<!--<link rel="stylesheet" type="text/css" media="screen, projection" href="http://crosstownechurch.scottbaldinodesign.com/css.php?n=undohtml" />-->
<link rel="stylesheet" type="text/css" media="screen, projection" href="http://crosstownechurch.scottbaldinodesign.com/css.php?n=default" />
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" media="screen, projection" href="http://crosstownechurch.scottbaldinodesign.com/css.php?n=ielt7" />
<![endif]-->
<link rel="alternate" type="application/rss+xml" title="RSS Feed" href="http://crosstownechurch.scottbaldinodesign.com/rss/?section=article" />
<script type="text/javascript" src="http://crosstownechurch.scottbaldinodesign.com/scripts/mootools.js"></script>
<script type="text/javascript" src="http://crosstownechurch.scottbaldinodesign.com/scripts/effects.js"></script>
</head>
<body id="body-subpage">
<div id="upper-part">
<div id="wrapper">
<div id="header">
<h1><a href="http://crosstownechurch.scottbaldinodesign.com/" title="www.crosstownchurch.com">www.crosstownchurch.com</a></h1>
<h2>a return to God.</h2>
</div>
</div>
<div id="navbar" class="clearfix">
<div id="menu">
<ul>
<li><a href="http://crosstownechurch.scottbaldinodesign.com/">Home</a></li>
<li><a href="http://crosstownechurch.scottbaldinodesign.com/about/">New?</a></li>
<li><a href="http://crosstownechurch.scottbaldinodesign.com/missio-dei/">Missio dei</a></li>
<li><a href="http://crosstownechurch.scottbaldinodesign.com/connect/">Connect</a></li>
<li><a class="active" href="http://crosstownechurch.scottbaldinodesign.com/videos/">Media</a></li>
<li><a href="http://crosstownechurch.scottbaldinodesign.com/give/">Give</a></li>
<li><a href="http://crosstownechurch.scottbaldinodesign.com/blog/">Blog</a></li>
</ul>
<form method="get" action="http://crosstownechurch.scottbaldinodesign.com/"><p><label for="q">Search:</label><input type="text" id="q" name="q" /><input id="search-submit" type="image" src="http://crosstownechurch.scottbaldinodesign.com/images/layout/icons/search.gif" alt="Ok" /></p></form>
</div>
</div>
</div>
<div id="lower-part" class="clearfix">
<div class="col640">
<div class="col640-box">
<h3>Tape Delayed Video</h3>
<div class="col240">
<p class="very-small">Posted on Fri 12/11/09</p>
</div>
<div class="col400">
<div id="youtube"><object type="application/x-shockwave-flash" width="340" height="280" data="http://www.youtube.com/v/v-GAW0Lv5Dk"><param name="movie" value="http://www.youtube.com/v/v-GAW0Lv5Dk" /><param name="quality" value="best" /><param name="wmode" value="transparent" /></object></div>
</div>
</div>
</div>
<div class="col320">
<h3>Videos</h3>
<div id="video-nav">
<a rel="next" href="http://crosstownechurch.scottbaldinodesign.com/videos/6/test-video" title="Tape Delayed Video"><span class="next-video"><span class="very-small">Next video: </span>Tape Delayed Video</span></a>
</div>
<div id="feeds">
<h3>Feeds</h3>
<ul class="linklist"><li><a href="http://crosstownechurch.scottbaldinodesign.com/rss/?section=articles" title="RSS Feed">RSS Feed</a></li><li><a href="http://crosstownechurch.scottbaldinodesign.com/atom/?section=articles" title="Atom Feed">Atom Feed</a></li><li><a href="http://crosstownechurch.scottbaldinodesign.com/rss/?section=videos" title="RSS Feed">Videos Feed (RSS)</a></li><li><a href="http://crosstownechurch.scottbaldinodesign.com/rss/?area=link" title="RSS Feed">Links Feed (RSS)</a></li></ul>
</div>
</div>
<div class="separate"><hr /></div>
<div class="col640">
<div id="videos">
<h3>All videos</h3>
<ul class="linklist"><li><a href="http://crosstownechurch.scottbaldinodesign.com/videos/6/test-video" title="Read the post">Tape Delayed Video <span class="very-small">(Fri 12/11/09)</span></a></li>
</ul>
</div>
</div>
<div class="col320">
<div id="recent-articles">
<h3>Recent articles</h3>
<ul class="linklist"></ul>
<p class="to-right full-article"><a href="http://crosstownechurch.scottbaldinodesign.com/archive/">Archive</a></p>
</div>
<div id="recent-comments">
<h3>Recent comments</h3>
</div>
</div>
</div>
<div id="footer">
<p><em>© Copyright by scottbaldinodesign.com, 2007</em></p>
<p class="very-small">This Site is powered by <a href="http://www.textpattern.com/">Textpattern 4.0.5</a> licenced under <a href="http://www.gnu.org/copyleft/gpl.html">GPL</a>.<br />The Site is valid <a href="http://validator.w3.org/check/referer">XHTML 1.0 Strict</a> and <a href="http://jigsaw.w3.org/css-validator/check/referer?warning=no&profile=css2">CSS 2.0</a>.</p>
</div>
</body>
</html>
Offline
#20 2009-12-18 17:16:33
- els
- Moderator
- From: The Netherlands
- Registered: 2004-06-06
- Posts: 7,458
Re: /textpattern/ newbie but experienced admin, /articles/ 404 NOT FOUND
Article tags cannot be used outside an article context
<txp:link_to_prev>
and <txp:link_to_next>
should either be used in an article form, or – if you use them on a page – be wrapped in <txp:if_individual_article>
tags.
Offline
#21 2013-07-24 01:36:32
- Keepital
- Member
- Registered: 2013-07-11
- Posts: 13
Re: /textpattern/ newbie but experienced admin, /articles/ 404 NOT FOUND
For me, ‘articlelist’ in forms and ‘article_list’ in sections were generating issues with Recent Articles and Archive not generating. I also had the 404 categories issue, and once I spotted the ‘article’ and ‘articles’ I was able to spot this other issue quickly.
Your section is named ‘articles’ and not ‘article’ :) The category menu is probably a <txp:category_list /> tag with the attribute section=“article”? If you change that to articles it should solve the problem.
So, if you are having this category 404 issue; or issues with Recent Articles ot Archive not generating, Check everything for exact spelling. Worked for me! Thanks Els and sbaldino!
Offline