Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2006-04-29 17:43:19

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

Re: Articles wont display when viewed at permalink

I’m looking at your forms again…
First:
<code><txp:article limit=“4” />
<txp:if_individual_article>
<txp:article limit=“1” />
<p>
<txp:link_to_prev>
<txp:link_to_next>
</p>
</txp:if_individual_article>
</code>
Those <txp:link_to_prev> and <txp:link_to_next> tags are mal-formed. They arent closed properly (they are container tags, so they should be closed with </txp:link_to_prev> and <txp:link_to_next>.
That could be breaking the last txp:@if_indivudual_article@

Second: I’m not sure but… are you working with two TXP installations at the same time? No, ¿no?

Finally: are the articles saved into the “journal” section? I ask because I’m also seeing an “article” section at your site.
But… I know… the articles appear in the article-list context… so they are saved in the journal section… that doesnt seems to be the problem…


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#14 2006-04-29 17:54:55

jbrew
Member
From: Imperial Beach, California
Registered: 2004-03-04
Posts: 78
Website

Re: Articles wont display when viewed at permalink

Okay, I really appreciate the extra set of eyes… I fixed the < /txp:link_to… tags and nothing changed. I do believe there is something wrong with the if_individual_article tag as nothing within that tag shows up there at all. I also tried if_article_list and nothing shows up there either!

I have no idea.

Last edited by jbrew (2006-04-30 01:30:11)


To even the least of these…

Offline

#15 2006-04-30 04:17:24

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

Re: Articles wont display when viewed at permalink

Is there anything in your diagnostics tab? or maybe a corrupted txp file? (a simple re-upload of all files should fix it).

Also, look if this tip gives you any other information that might be useful: http://forum.textpattern.com/viewtopic.php?id=14803


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#16 2006-04-30 05:50:36

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Articles wont display when viewed at permalink

Thanks Zem. I have read thru all the FAQ stuff and simplified the code, limiting the output_form calls, etc. and right now there is no reason that I can see why an individual article wont display on the in the section to which it is assigned, especially when you can get it to show up on the front page of the section.

Are you saying the problem still occurs if you use the default template with no modifications?

That would tend to suggest a server issue, .htaccess problem or similar.


Alex

Offline

#17 2006-05-01 01:24:07

jbrew
Member
From: Imperial Beach, California
Registered: 2004-03-04
Posts: 78
Website

Re: Articles wont display when viewed at permalink

Okay, I replaced all the files and now i have this on the top of every page:

Notice: Use of undefined constant TXP_DEBUG – assumed ‘TXP_DEBUG’ in /home/brewerde/public_html/textpattern/lib/txplib_db.php on line 50

Any thoughts on that one? Oh, and the articles still wont display.


To even the least of these…

Offline

#18 2006-05-01 01:27:26

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: Articles wont display when viewed at permalink

Notice: Use of undefined constant TXP_DEBUG – assumed ‘TXP_DEBUG’ in /home/brewerde/public_html/textpattern/lib/txplib_db.php on line 50

That probably means you haven’t updated all of Textpattern’s php files to their current versions. constants.php in particular.


Alex

Offline

#19 2006-05-01 02:22:36

jbrew
Member
From: Imperial Beach, California
Registered: 2004-03-04
Posts: 78
Website

Re: Articles wont display when viewed at permalink

That came up after I replaced ALL of the files. Any other thoughts?

EDIT – okay I replaced my entire Textpattern directory and the index.php and .htaccess files. That error is gone, but I still cannot get any of my articles to display on their idividual pages.

Last edited by jbrew (2006-05-01 03:03:45)


To even the least of these…

Offline

#20 2006-05-02 18:08:02

jbrew
Member
From: Imperial Beach, California
Registered: 2004-03-04
Posts: 78
Website

Re: Articles wont display when viewed at permalink

Okay – launched the site in the CSS Reboot without my permlinks working – ugggh.

In debug mode the [< txp:if_individual_article>:false] seems to be the big issue.

I have re-installed TXP but nothing has changed. I am afraid I may have to delete everything and start from scratch.

I am so frustrated that I am really thinking about giving up on TXP for my site altogether… (but I really don’t want to…. but a CMS that won’t display your articles doesn’t really work for me.)

Okay, I really don’t want to give up on TXP, but I really need some help.

Last edited by jbrew (2006-05-02 19:37:21)


To even the least of these…

Offline

#21 2006-05-02 20:20:06

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

Re: Articles wont display when viewed at permalink

hi jbrew…
what a mistery…

have you tried disabling one by one the installed plug-ins?
have you checked your diagnostics tab?

<code>
<txp:if_individual_article>
[<txp:if_individual_article>: false]
</txp:if_individual_article>
</code>

yeah… that’s not fine.

By the way, there is still a mdn_if_section section="default" that can be replaced with txp:if_section name="" (empty name attribute is default section)

That way, you can delete the mdn_if_section plug-in… less is more…


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#22 2006-05-02 20:42:21

jbrew
Member
From: Imperial Beach, California
Registered: 2004-03-04
Posts: 78
Website

Re: Articles wont display when viewed at permalink

Julian, you are a God-send.

I disabled all the plug-ins I was not using and had to edit a couple forms, but it seems to be working!

Horray! Textpattern is here to stay!


To even the least of these…

Offline

#23 2006-05-02 20:49:14

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

Re: Articles wont display when viewed at permalink

yeah!


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB