Page 1 of 1
A problem with permalinks
Posted: Fri Jul 28, 2006 8:58 am
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

Re: A problem with permalinks
Posted: Fri Jul 28, 2006 1:38 pm
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
Posted: Sat Jul 29, 2006 3:37 am
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?
Posted: Sat Jul 29, 2006 4:12 am
by judebert
Do the permalinks exist in the database? You can check through phpMyAdmin.
Posted: Sat Jul 29, 2006 5:34 am
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
Posted: Sat Jul 29, 2006 5:40 am
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.
Posted: Mon Jul 31, 2006 1:14 pm
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
Posted: Mon Jul 31, 2006 9:15 pm
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.
Posted: Tue Aug 01, 2006 8:26 pm
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
Posted: Wed Aug 02, 2006 12:04 am
by Ripper^^
sure, email me at admin at my website for the ftp info
tell me what privileges you need
Posted: Thu Aug 03, 2006 2:02 pm
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
Posted: Thu Aug 03, 2006 11:43 pm
by Ripper^^
thanks Garvin!
works like a charm!
do you still need ftp access or can i delete that account?
Posted: Fri Aug 04, 2006 11:11 am
by garvinhicking
Hi!
No, it's fine, you can remove the account!
Best regards,
Garvin