Page 1 of 1

download link don't work with phoca gallery plugin

Posted: 11 Nov 2010, 19:28
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 ?

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

Posted: 13 Nov 2010, 19:09
by Jan
Hi, Plugin works with component together and e.g. category must be published to access it (no mather from where)

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

Posted: 16 Nov 2010, 18:18
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.

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

Posted: 16 Nov 2010, 21:17
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

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

Posted: 27 Nov 2010, 10:10
by Chewbi
Hi,

Indeed, the link works if I disable SEF.

why the component is compatible sef while the plugin not ?

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

Posted: 27 Nov 2010, 18:23
by Chewbi
The solution is here : viewtopic.php?f=33&t=4970

Thank.

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

Posted: 27 Nov 2010, 19:22
by Benno
Ok, solved!
Kind regards,
Benno