download link don't work with phoca gallery plugin

Phoca Gallery plugins - plugins for Phoca Gallery extension
Chewbi
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 11 Nov 2010, 19:09

download link don't work with phoca gallery plugin

Post by Chewbi »

Hi,

I use phoca gallery plugin 2.7.2. The download link (displaydownload=1) don't work : i have a "404 - Category is not published" error.

If I publish the same category without the plugin (Joomla menu -> Phoca category), it's works.

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

Re: download link don't work with phoca gallery plugin

Post by Jan »

Hi, Plugin works with component together and e.g. category must be published to access it (no mather from where)
If you find Phoca extensions useful, please support the project
Chewbi
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 11 Nov 2010, 19:09

Re: download link don't work with phoca gallery plugin

Post by Chewbi »

Thank you for the clarification but this does not explain why it works with the access component and not with access plugin.

After several tests, I found a bug:

- if the category is published and authorized but not available on the site via the component, the download button of plugin doesn't work.

- if the category is published and is authorized and available on the site via the component, the download button of plugin works!!!

I think this is a problem of access right on the download dynamic page.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: download link don't work with phoca gallery plugin

Post by Jan »

Hi, while checking access, there is no script which checks if component is displayed on the site :idea: so really no idea what can be wrong there ??? Try to disable SEF and check it without enabled SEF :idea:

Jan
If you find Phoca extensions useful, please support the project
Chewbi
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 11 Nov 2010, 19:09

Re: download link don't work with phoca gallery plugin

Post by Chewbi »

Hi,

Indeed, the link works if I disable SEF.

why the component is compatible sef while the plugin not ?
Chewbi
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 11 Nov 2010, 19:09

Re: download link don't work with phoca gallery plugin

Post by Chewbi »

The solution is here : viewtopic.php?f=33&t=4970

Thank.
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9451
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: download link don't work with phoca gallery plugin

Post by Benno »

Ok, solved!
Kind regards,
Benno
Post Reply