Problem with Gallery plugin and SEF

Phoca Gallery plugins - plugins for Phoca Gallery extension
khowlette
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 25 Aug 2009, 11:19

Problem with Gallery plugin and SEF

Post by khowlette »

Hi

I've have a problem with the gallery plugin with SEF and in that it will only work with it turned off in Joomla. I'm using 1.5 and have downloaded and installed the latest Gallery component and plugins. 2.5.7

The problem is that when you click on the first image to start the slide show it generate a 404 error but it only does this on one of my articles
This one works fine http://www.keith-howlette.co.uk/lanc
This one gives the error http://www.keith-howlette.co.uk/av

The only difference I can see is that the image in the second link are stored in a sub folder and the first article images aren't.

If I change the menu type to use it as Phoca gallery it works fine. I also confirmed this was same issues with another article with a sub folder

If I switch off SEF they both work fine, but I'd like to have it on if possible.

I can move the images up if thats the only soultion.

Anyone else seen this.

Still a great software

Thanks

Keith
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem with Gallery plugin and SEF

Post by Jan »

Hi, is the menu item to Phoca Gallery active (published) while using the plugin?, see:
https://www.phoca.cz/documents/2-phoca-g ... ent/24-faq (2)

Jan
If you find Phoca extensions useful, please support the project
khowlette
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 25 Aug 2009, 11:19

Re: Problem with Gallery plugin and SEF

Post by khowlette »

Hi Jan

Yes they are both published. I've checked the phoca catergory the images and the articles and they all are.

Keith
khowlette
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 25 Aug 2009, 11:19

Re: Problem with Gallery plugin and SEF

Post by khowlette »

I've read the FAQ and followed the instructions on setting the gallery. https://www.phoca.cz/documents/2-phoca-g ... ent/24-faq (2)

I'm still having problems with SEF. I've also read up up on SEF setting within Joomla on the Global configuration. I've tried on my hosting provider and also on my own server. Both running Apache. Is it possible something has got screwed up in the database. Can anyone suggest what I need to check.

Thanks

Keith :x
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem with Gallery plugin and SEF

Post by Jan »

try to check your .htaccess, try to disable htaccess in global configuration

Jan
If you find Phoca extensions useful, please support the project
khowlette
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 25 Aug 2009, 11:19

Re: Problem with Gallery plugin and SEF

Post by khowlette »

Hi Jan

If I disable .htaccess it works but I get url's with /index.php/<page>

I have one article that works with no issues even with .htaccess enabled. But if I add another article I get the 404 error when I click on a image to start the slideshow. I checked to see if there are any difference and each caterogry is configured the same. I'm beginning to think there is something wrong with my installation. I'm going to try a fresh install of joomla on a local server and see if I get the same issue.

Thanks for your help.

Keith
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem with Gallery plugin and SEF

Post by Jan »

Maybe you need to cange the htaccess :idea:
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Problem with Gallery plugin and SEF

Post by Jan »

:idea: try to check the .htaccess? can I see the site where this occurs?
If you find Phoca extensions useful, please support the project
jc513a
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 07 Oct 2009, 15:16

Re: Problem with Gallery plugin and SEF

Post by jc513a »

I am having a similar problem with the content plugin (v2.58 and 2.57beta). I have a fresh install of Joomla 1.5.14 with SEF active in a test environment. If I create gallery menu link I have no issues seeing the thumbnails and opening a modal to see the large image and start the slideshow. If I use the plugin I can see gallery of thumbnails but if I attempt open the modal I receive a 404 error with Joomla! set to use SEF. If I turn off SEF it works fine. I have removed the .htaccess with SEF active and it still does not work. However, I need the SEF turned on for the rest of the site.

What is strange is that if I click on the first image of a seven image gallery it will correctly open the modal and find all pictures in a slide slow. If I click on image 2 through 7 I receive the 404 error.

Some error codes I have are....

Code: Select all

[Wed Oct 07 00:21:19 2009] [error] [client 192.168.0.198] PHP Notice:  Undefined offset:  -1 in ...\\components\\com_phocagallery\\router.php on line 230, referer: http://testsite.int/index.php/component/content/article/8-general/2-example
[Wed Oct 07 00:21:19 2009] [error] [client 192.168.0.198] PHP Notice:  Trying to get property of non-object in ...\\components\\com_phocagallery\\models\\category.php on line 109, referer: http://testsite.int/index.php/component/content/article/8-general/2-example
jc513a
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 07 Oct 2009, 15:16

Re: Problem with Gallery plugin and SEF

Post by jc513a »

Update: If I change the detail option to equal 6 or 7 (not an option in your documentation) with J! SEF active it opens up the JAX window with NO 404 error either individually or running the slideshow on starting off on any of the 7 images.
Post Reply