Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-01-28 15:18:38

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Blank page when opening section frontpage

Try to open http://uromax.ru/slovar/ – nothing is outputting, but:
1. there is tagtrace (look to the raw code)
2. articles from this section output with no problems – try this or this
3. here is full diagnostic

Is this problem solveable? :)

Last edited by the_ghost (2008-01-30 17:36:05)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#2 2008-01-28 15:32:01

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

Re: Blank page when opening section frontpage

why do you use <txp:glx_if_not_frontpage> and not the <txp:else /> statement?

your code could be <txp:glx_if_frontpage> show something <txp:else /> show something else </txp:glx_if_frontpage>

Last edited by colak (2008-01-28 15:32:26)


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 2008-01-28 21:26:53

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: Blank page when opening section frontpage

2 colak – Very simple – glx_if seems not to have else :)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#4 2008-01-28 22:57:26

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

Re: Blank page when opening section frontpage

Hi Victor
this is how I use it in neme.rg/main/
glx_if doen’t but txp does.


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

Offline

#5 2008-01-29 06:01:51

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Blank page when opening section frontpage

Why using useless conditional plugin? That’s old plugin before textpattern had all those conditionals included in core. So that plugin is nowdays useless.

<txp:if_section name=""><txp:else /><txp:if_category><txp:else /></txp:if_category></txp:if_section>

Nesting does the exatly same. I just wonder why people use that plugin – you could figure that it’s implemented to core from it’s age. Other commonly used useless plugin is gaw_if_comment_preview – txp:if_comment_preview does the same…

Cheers!

Last edited by Gocom (2008-01-29 06:05:03)

Offline

#6 2008-01-29 07:25:36

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Blank page when opening section frontpage

What did you modify in taghandlers.php?

Offline

#7 2008-01-29 08:47:20

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: Blank page when opening section frontpage

2 Gocom – ok, it’s a codent reason. I made it work with native txp tags. Thanks you :)
2 Mary – Don’t remeber exactly… You can look through this file here, but it doesn’t matter – i changed back old taghandlers.php (error message in diagnostic tab disspapeared), but section /slovar/ still doesn’t work :(

Last edited by the_ghost (2008-01-29 10:15:52)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#8 2008-01-29 23:30:56

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: Blank page when opening section frontpage

Tried to rename section’s name – no effect :( the same white screen and lonely tagtrace in the output :) Two Three things make me think that it was UFO’s “joke”:
  1. Other section frontpages work: article and clinics
  2. On slovar page we have no any output except tagtrace – all sections use one page template – default…
  3. Tried to open second page of setion and got it working! But pg=1 doesn’t work…
    1. http://uromax.ru/category/a?pg=2 works, but http://uromax.ru/category/a doesn’t…

I’m really got stucked :\ Mistic

Last edited by the_ghost (2008-01-29 23:40:11)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#9 2008-01-30 21:51:07

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Blank page when opening section frontpage

Could you disable your plugins, and see what happens?

Offline

#10 2008-01-30 22:28:08

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: Blank page when opening section frontpage

Thanks for advice! – the problem is was in rss_auto_excerpt plugin…

The misctic is:

  • <txp:rss_auto_excerpt showlinkwithexcerpt="0" striptags="0" words="22"/> – works
  • <txp:rss_auto_excerpt showlinkwithexcerpt="0" striptags="0" words="38"/> – works
  • <txp:rss_auto_excerpt showlinkwithexcerpt="0" striptags="0" words="39"/>doesn’t work
  • <txp:rss_auto_excerpt showlinkwithexcerpt="0" striptags="0" words="40"/>doesn’t work (this value was set firstly)
  • <txp:rss_auto_excerpt showlinkwithexcerpt="0" striptags="0" words="41"/> – works

:) Thank you very much! Me headache is defeated

Truth is out there indeed © Mulder & the_ghost

Last edited by the_ghost (2008-01-30 22:29:17)


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#11 2008-01-30 22:32:34

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Blank page when opening section frontpage

<txp:rss_auto_excerpt showlinkwithexcerpt="0" striptags="0" words="40" />

Mystic… :)

Last edited by Gocom (2008-01-30 22:32:57)

Offline

Board footer

Powered by FluxBB