PDA

View Full Version : Category link on link detail pages gives 404 error


mikem
05-25-2006, 09:09 PM
Hi,

We've recently installed PHPLD and have encountered a problem.

When you click "Read more" on an entry and see the "Link Details" page, we are getting 404 errors on the link for "Category" in the list of details. This happens for any entry in our directory.

The URL for that link has the form "http://www.oursite.com/the_category_name/" and there is no folder of that name at the root directory level, or any level.

We have mod_rewrite enabled and the software reports as being up to date.

There is a post about a problem that sounded somewhat similar to ours with a solution of rebuilding the cache, but that didn't work in our case.

And ideas on what might be wrong?

Thanks.
Mike

Jama62
05-26-2006, 01:27 AM
What version?

munt
05-26-2006, 01:41 AM
could you post or pm the url so i/we can see it for myself?

mikem
05-26-2006, 08:21 AM
Well, the owners of the site decided they didn't even want the link details publicaly available so we've removed the link to it, and, as a result, there's no way to see the problem on our site anymore. For the record, it's version 3.0.4.

anon
05-26-2006, 08:51 AM
mikem,

Directory-->Categories--> build cache

will resolve you problems

mikem
05-26-2006, 06:30 PM
Content visible to registered users only.


That's what we thought too. But when we tried it, the problem was still there.

anon
05-26-2006, 08:30 PM
i was afriad you were going to reply with that.

Have you touched the .htaccess at all?

PM me your link if you don't want to post in thread.


also, if you want me to check on your link.tpl(which i think may be the problem)
PM me your host/user/pass to your FTP

Rob

anon
05-26-2006, 10:13 PM
sometimes i hate it when i'm correct, because it freaks me out that i've gotten to know the code so well, and to the point i know exactly where to go.

sfod_d223
07-19-2007, 02:58 PM
Where in the link.tpl is the problem? I'm using ver 3.2 and having the same issue with link details.

dargre
07-19-2007, 06:19 PM
Content visible to registered users only.
There is aa option to force 200 OK HEADER in admin of 3.2 phpld version.
However I do not recommend it so much.
It's always possible to add small code in function: request_status() (/include/functions.php) for any custom link url.

James
07-19-2007, 06:25 PM
dargre that has nothing at all to do with this problem.



sfod it is resolved.

jbrock
07-19-2007, 07:35 PM
turn off the directory re-write and see if it works. if it does turn it back on . if it does not work try a different template. I had the same problem .

James
07-19-2007, 08:04 PM
no no no the problem is specific to how the hosting servers handle mod_rewrite .....

Please read the posts fully the problem is resolved