Page 1 of 2

Pagination in 0.8

Posted: Wed Apr 20, 2005 10:08 am
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

Posted: Wed Apr 20, 2005 10:37 am
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.

Posted: Wed Apr 20, 2005 11:00 am
by reion
rewrite engine ... buggy maybe
do you have apache?! ... try to use a rewrite-mod ;)

Posted: Wed Apr 20, 2005 11:08 am
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".

Posted: Wed Apr 20, 2005 1:34 pm
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

Posted: Wed Apr 20, 2005 1:54 pm
by Guest
Full path: /www/sites/1886513/serendipity/
URL to blog: http://www.joho.se/
Index file: index.php
Autodetect used HTTP-Host: No

Posted: Wed Apr 20, 2005 2:27 pm
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

Posted: Wed Apr 20, 2005 2:35 pm
by joho
Where do I find the full HTTP path.. ? It's not under "Configuration".

Posted: Wed Apr 20, 2005 3:23 pm
by garvinhicking
If you post the screenshot I requested, I can tell you. :)

Regards,
Garvin

Posted: Tue May 10, 2005 10:24 pm
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.

Posted: Wed May 11, 2005 10:41 am
by garvinhicking
I mean the "Relative Path" setting. I can only request a screenshot the third time :-D

Regards,
Garvin

Posted: Wed May 11, 2005 10:20 pm
by joho
The Relative Path setting is empty.

Posted: Thu May 12, 2005 3:07 pm
by garvinhicking
I wrote on April, 20th:
And remember no never set any path to an empty string.
:-)

Regards,
Garvin

Posted: Thu May 12, 2005 4:47 pm
by joho
So.. it should be '/' if it's "empty"?

Posted: Thu May 12, 2005 4:49 pm
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.