Pagination in 0.8

Found a bug? Tell us!!
joho
Regular
Posts: 54
Joined: Mon Oct 25, 2004 10:25 am
Location: Stockholm, Sweden
Contact:

Pagination in 0.8

Post by joho »

I have configured it to show six entries on the front page. Clicking "next" at the bottom of the page results in "no entries to print".

The URL for the "Next" link is:

http://www.joho.se/index.php?///archives/P2.html
At the end of a smile, there is a laugh and a 1/2 [DAD]
joho
Regular
Posts: 54
Joined: Mon Oct 25, 2004 10:25 am
Location: Stockholm, Sweden
Contact:

Post by joho »

What's weird is that the heading on the page I come to says "December 1999"; I guess I might have my first entry dated somewhere around there. So it seems like it's trying to fetch entries in the wrong interval.
At the end of a smile, there is a laugh and a 1/2 [DAD]
reion
Regular
Posts: 34
Joined: Mon Feb 28, 2005 10:51 am
Location: Linz
Contact:

Post by reion »

rewrite engine ... buggy maybe
do you have apache?! ... try to use a rewrite-mod ;)
joho
Regular
Posts: 54
Joined: Mon Oct 25, 2004 10:25 am
Location: Stockholm, Sweden
Contact:

Post by joho »

I have tried to use both rewrite engine modes, and ended up with too many problems, so I went back to using "none".
At the end of a smile, there is a laugh and a 1/2 [DAD]
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

It seems you have setup false HTTPPath, baseURL settings and so on.

Tell me your config directives. Never ever have an empty path in your config. Always have at least "/" there.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Guest

Post by Guest »

Full path: /www/sites/1886513/serendipity/
URL to blog: http://www.joho.se/
Index file: index.php
Autodetect used HTTP-Host: No
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Guest, those are not all settings. Specifically I'm missing the "Full HTTP Path" setting.

Best way would be to post a screenshot. And remember no never set any path to an empty string.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
joho
Regular
Posts: 54
Joined: Mon Oct 25, 2004 10:25 am
Location: Stockholm, Sweden
Contact:

Post by joho »

Where do I find the full HTTP path.. ? It's not under "Configuration".
At the end of a smile, there is a laugh and a 1/2 [DAD]
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

If you post the screenshot I requested, I can tell you. :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
joho
Regular
Posts: 54
Joined: Mon Oct 25, 2004 10:25 am
Location: Stockholm, Sweden
Contact:

Post by joho »

Sorry, but I don't have a "Full HTTP Path" setting anywhere in my configuration.

I have a "Full path" and a "URL to blog" setting.
At the end of a smile, there is a laugh and a 1/2 [DAD]
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

I mean the "Relative Path" setting. I can only request a screenshot the third time :-D

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
joho
Regular
Posts: 54
Joined: Mon Oct 25, 2004 10:25 am
Location: Stockholm, Sweden
Contact:

Post by joho »

The Relative Path setting is empty.
At the end of a smile, there is a laugh and a 1/2 [DAD]
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

I wrote on April, 20th:
And remember no never set any path to an empty string.
:-)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
joho
Regular
Posts: 54
Joined: Mon Oct 25, 2004 10:25 am
Location: Stockholm, Sweden
Contact:

Post by joho »

So.. it should be '/' if it's "empty"?
At the end of a smile, there is a laugh and a 1/2 [DAD]
joho
Regular
Posts: 54
Joined: Mon Oct 25, 2004 10:25 am
Location: Stockholm, Sweden
Contact:

Post by joho »

joho wrote:So.. it should be '/' if it's "empty"?
Well, that seems to work much better. If this is a static rule, Serendipity should fix this when reading the configuration IMHO. It doesn't have to write an updated field back to the database, but after reading, it should change this to a / if it's empty.
At the end of a smile, there is a laugh and a 1/2 [DAD]
Post Reply