SEF gives a 404 when viewing a picture

Phoca Gallery - image gallery extension
victor
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 10 Jun 2008, 14:20
Location: Netherlands
Contact:

Re: SEF gives a 404 when viewing a picture

Post by victor »

Jan, this is the same problem I was having with the slideshow. I solved it with the file I sent you :wink:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: SEF gives a 404 when viewing a picture

Post by Jan »

michelelittleiron

So, please download the file with the guide from:
https://www.phoca.cz/phocagallery/index. ... e=download
(Phoca Gallery file and guide to solve SEF problems on some servers by victor)

and try it.

Jan
If you find Phoca extensions useful, please support the project
michelelittleiron
Phoca Newbie
Phoca Newbie
Posts: 7
Joined: 26 Mar 2008, 11:16
Location: Italy
Contact:

Re: SEF gives a 404 when viewing a picture

Post by michelelittleiron »

ok, the file resolved the problem with the slideshow, opening an image from the random image module; but If I open an image from the thumbnail list of a category I can't watch it: I think it's the same problem, there isn't "/detail" in the url and I need the same modification in some other file: which one ?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: SEF gives a 404 when viewing a picture

Post by Jan »

there is no needed to have the 'detail' word in the link... if you have SEF enabled, than no detail word is here, the link will be created by the Itemid, see Phoca Demo site
If you find Phoca extensions useful, please support the project
Degas
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 18 Nov 2010, 04:45

Re: SEF gives a 404 when viewing a picture

Post by Degas »

Hi, just loaded the gallery for the first time so sorry to drag this old one up again :)

I've followed the FAQs and tips on running the Phoca gallery with SEF turned on (ie hidden menus), but I'm also seeing an extra /detail in the URL to launch the main window from a thumbnail which of course generates a 404.

I hope I haven't missed anything - seem to have been through quite a few screens and attempted tweaks - but is there a way to lose the '/detail' in the URL, as I'm not sure where it's being generated from.

Is there any caching that might need flushing?

Thanks btw for a fine plugin/component, SEF aside it's working very well.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: SEF gives a 404 when viewing a picture

Post by Jan »

Hi, now I see what you mean with the detail, sorry for my post added before, the detail, like category is a part of url, because sometimes on the site, there are two different ids - category id and image id and the word "detail" is there to difference between them. It was added (like category, etc.) because on some server in some cases, the sef url could not go to the right site without these words.

Jan
If you find Phoca extensions useful, please support the project
Degas
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 18 Nov 2010, 04:45

Re: SEF gives a 404 when viewing a picture

Post by Degas »

Thanks for coming back Jan, looks like I'll have to leave leave SEF turned off for now
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: SEF gives a 404 when viewing a picture

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply