Page 1 of 2

Problem with Gallery plugin and SEF

Posted: 28 Aug 2009, 17:42
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

Re: Problem with Gallery plugin and SEF

Posted: 28 Aug 2009, 17:55
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

Re: Problem with Gallery plugin and SEF

Posted: 28 Aug 2009, 20:08
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

Re: Problem with Gallery plugin and SEF

Posted: 04 Sep 2009, 14:04
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

Re: Problem with Gallery plugin and SEF

Posted: 04 Sep 2009, 17:50
by Jan
try to check your .htaccess, try to disable htaccess in global configuration

Jan

Re: Problem with Gallery plugin and SEF

Posted: 09 Sep 2009, 09:01
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

Re: Problem with Gallery plugin and SEF

Posted: 12 Sep 2009, 22:07
by Jan
Maybe you need to cange the htaccess :idea:

Re: Problem with Gallery plugin and SEF

Posted: 01 Oct 2009, 22:58
by Jan
:idea: try to check the .htaccess? can I see the site where this occurs?

Re: Problem with Gallery plugin and SEF

Posted: 07 Oct 2009, 15:38
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

Re: Problem with Gallery plugin and SEF

Posted: 07 Oct 2009, 18:09
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.