A problem with permalinks

Creating and modifying plugins.
Post Reply
Ripper^^
Regular
Posts: 50
Joined: Mon Aug 15, 2005 7:49 am
Location: Gainesville, Florida, USA
Contact:

A problem with permalinks

Post by Ripper^^ »

It's been a while since I last updated my site http://www.theripper.com so I don't know how long I've had this problem or from where it stems.

I used to be able to access entries via permalinks I had assigned them such as http://www.theripper.com/index.php?/hum ... fette.html this is no longer true, that url and all the other permalink urls now bounce to my frontpage.

I know that the entries are still there because they are accessible through their individual archive urls and category urls such as http://www.theripper.com/index.php?/arc ... Chief.html and I can't for the life of me figure out how to fix it, any help would be welcome :)
Ripper^^
Administrator, TheRipper.com
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: A problem with permalinks

Post by garvinhicking »

Hi!

I think this might be related to the frontpage functionality of the staticpage plugin.

Would you be able to test if deactivating that startpage will bring up the permalinks again? It might also help to reorder your event plugins so that "Custom permalinks" is before the staticpage plugin, if not already?

I figure you are using the most recent versions of all involved event plugins?

Best 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/
Ripper^^
Regular
Posts: 50
Joined: Mon Aug 15, 2005 7:49 am
Location: Gainesville, Florida, USA
Contact:

Post by Ripper^^ »

Hi Garvin!

OK the frontpage to the site is actually serendipity's dynamic frontpage, just a sticky entry, I used to use a static frontpage though.

the permalinks plugin was below the static page plugin, so i fixed that

All plugins are up to date, and I'm using s9y 1.0

for experiments sake i made a static page the frontpage again, but that didn't fix the problem either so i switched it off again.

as another experiment i turned off the sticky entry, still no luck.

what shall i try next?
Ripper^^
Administrator, TheRipper.com
judebert
Regular
Posts: 2478
Joined: Sat Oct 15, 2005 6:57 am
Location: Orlando, FL
Contact:

Post by judebert »

Do the permalinks exist in the database? You can check through phpMyAdmin.
Judebert
---
Website | Wishlist | PayPal
Ripper^^
Regular
Posts: 50
Joined: Mon Aug 15, 2005 7:49 am
Location: Gainesville, Florida, USA
Contact:

Post by Ripper^^ »

if they're supposed to be in the serendipity_permalinks part no, i see a bunch of archive entries, a few category entries, an author entry, and that's it
Ripper^^
Administrator, TheRipper.com
Ripper^^
Regular
Posts: 50
Joined: Mon Aug 15, 2005 7:49 am
Location: Gainesville, Florida, USA
Contact:

Post by Ripper^^ »

browsing about phpmyadmin a bit more there are a few tables with an exclamation mark in a triangle which i'm assuming is a caution. one that i thought would be pertinent is the table entryproperties which has one that says UNIQUE and INDEX keys should not both be set for column `entryid', thought that might help.
Ripper^^
Administrator, TheRipper.com
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Actually the "custom permalinks" plugin stores its permalinks inside the "serendipity_entryproperties" DB table, using the property "permalink". Can you check that with PMA and see if is properly set?

The PMA notices about index keys can be disregarded, sadly they have no relevance in this problem.

Best 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/
Ripper^^
Regular
Posts: 50
Joined: Mon Aug 15, 2005 7:49 am
Location: Gainesville, Florida, USA
Contact:

Post by Ripper^^ »

Hi right back!

It appears that all the permalinks are in the serendipity_entryproperties table as they should be, take entry 18 for example

18 permalink /index.php?/jypsy_fyre/drivers.htm
18 ep_access public

that's exactly the link it should be for that entry.

hope that helps.
Ripper^^
Administrator, TheRipper.com
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Okay, that sounds good. For best debugging, before I go telling you all sorts of stuff, would you maybe be willing to give me FTP access to your install so that I could run some tests? IF not, I understand that, and I'll instruct you what to do :)

Best 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/
Ripper^^
Regular
Posts: 50
Joined: Mon Aug 15, 2005 7:49 am
Location: Gainesville, Florida, USA
Contact:

Post by Ripper^^ »

sure, email me at admin at my website for the ftp info
tell me what privileges you need
Ripper^^
Administrator, TheRipper.com
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

I fixed that bug in version 1.05 of the custom permalinks plugin. It happened when not using URL Rewriting.

Best 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/
Ripper^^
Regular
Posts: 50
Joined: Mon Aug 15, 2005 7:49 am
Location: Gainesville, Florida, USA
Contact:

Post by Ripper^^ »

thanks Garvin!

works like a charm!

do you still need ftp access or can i delete that account?
Ripper^^
Administrator, TheRipper.com
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

No, it's fine, you can remove the account!

Best 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/
Post Reply