Paging and Calendar quick jump doesn't work still

Found a bug? Tell us!!
Post Reply
ekhoo
Regular
Posts: 17
Joined: Mon Aug 09, 2004 1:12 pm

Paging and Calendar quick jump doesn't work still

Post by ekhoo »

Been lurking (and searching) the forums and tried a few suggested tips (including a nightly build) without success.

I'm using 0.6-pl2 and tried two nightly builds that didn't fix anything. Any suggestions why the paging or calendar doesn't work, perhaps something's screwy with mod_rewrite??
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Paging and Calendar quick jump doesn't work still

Post by garvinhicking »

Hi!

But the latest nightly should fix any issues with paging.

Please try again and then tell me the URL of your blog. And I guess you're using mod_rewrite?

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/
ekhoo
Regular
Posts: 17
Joined: Mon Aug 09, 2004 1:12 pm

Post by ekhoo »

I suspect it's the .htaccess... Just downloaded last night's build...

My .htaccess: (Just the rewrite section)

RewriteEngine On
RewriteRule ^archives/([0-9]+)\.html index.php?url=/archives/$1.html [L,QSA]
RewriteRule ^archives/([0-9]+)_short*\.html index.php?url=/archives/$1_short.htm
l [L,NC,QSA]
RewriteRule ^([0-9]+)_[0-9a-z_]*\.html index.php?url=$1_article.html [L,NC,QSA]
RewriteRule ^feeds/(.*) index.php?url=/feeds/$1 [L,QSA]
RewriteRule ^unsubscribe/(.*)/([0-9]+) index.php?url=/unsubscribe/$1/$2 [L,QSA]
RewriteRule ^admin serendipity_admin.php [L,QSA]
RewriteRule ^entries serendipity_entries.php [L,QSA]
RewriteRule ^archive index.php?url=/archive [L,QSA]
RewriteRule ^categories/(.*) index.php?url=categories/$1 [L,QSA]
RewriteRule ^(atom|index|rss|b2rss|b2rdf)\.(rss|xml|rdf|rss2) rss.php?file=$1&ex
t=$2
RewriteRule ^index\.(html?|php.?) index.php?url=index.html
RewriteRule (.*\.html?) index.php?url=/$1

which is much different from last night's build htaccess.tpl as follows:
RewriteBase {PREFIX}
RewriteRule ^{PAT_ARCHIVES} {indexFile}?url=/{PATH_ARCHIVES}/$1.html [L,QSA]
RewriteRule ^{PAT_ARCHIVES_SHORT} {indexFile}?url=/{PATH_ARCHIVES}/$1-short.html [L,NC,QSA]
RewriteRule ^([0-9]+)[_\-][0-9a-z_\-]*\.html {indexFile}?url=$1-article.html [L,NC,QSA]
RewriteRule ^{PAT_FEEDS}/(.*) {indexFile}?url=/{PATH_FEEDS}/$1 [L,QSA]
RewriteRule ^{PAT_UNSUBSCRIBE} {indexFile}?url=/{PATH_UNSUBSCRIBE}/$1/$2 [L,QSA]
RewriteRule ^{PAT_APPROVE} {indexFile}?url={PATH_APPROVE}/$1/$2/$3 [L,QSA]
RewriteRule ^{PAT_DELETE} {indexFile}?url={PATH_DELETE}/$1/$2/$3 [L,QSA]
RewriteRule ^{PAT_ADMIN} serendipity_admin.php [L,QSA]
RewriteRule ^{PAT_ENTRIES} serendipity_entries.php [L,QSA]
RewriteRule ^{PAT_ARCHIVE} {indexFile}?url=/{PATH_ARCHIVE} [L,QSA]
RewriteRule ^{PAT_CATEGORIES} {indexFile}?url={PATH_ARCHIVE}/$1 [L,QSA]
RewriteRule ^{PAT_FEED} rss.php?file=$1&ext=$2
RewriteRule ^{PAT_PLUGIN} {indexFile}?url=plugin/$1 [L,QSA]
RewriteRule ^index\.(html?|php.?) {indexFile}?url=index.html [L,QSA]
RewriteRule ^htmlarea/(.*) htmlarea/$1 [L,QSA]
RewriteRule (.*\.html?) {indexFile}?url=/$1 [L,QSA]

How do I use the new htaccess without resorting to installing the nightly build (I'll wait for a proper release)?
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Well, it's quite hard to write up a manual version of that .htaccess. Apart from that, it alone won't work if you don'T have at least a nightly from end of last week (where the calendar pagination things were fixed).

Upgrading to a nightly is so easy and all of our developers use a CVS-built. So it's also in our interest that upgrading to a proper release is no problem.

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/
ekhoo
Regular
Posts: 17
Joined: Mon Aug 09, 2004 1:12 pm

Post by ekhoo »

Hi Garvin,

just to let u know I fixed it... Thanks...

it's so simple but so easy to overlook...
RewriteRule ^index\.(html?|php.?) index.php?url=index.html [L,QSA]

Added the [L,QSA] and everythings works!
Post Reply