Page 1 of 1

Bug+fix in "Phoca Gallery Simple Plugin"

Posted: 31 Aug 2014, 22:16
by oidia
Hi there,
I just tried the Phoca Gallery Simple Plugin (current version = 3.1.2) on a Joomla 3.3 and got an internal server error on some of the pages (e.g. the home page). Other pages were displayed correctly. The plugins download site states it is compatible with 1.7 and 2.5, so I assume it has not yet been made fully compatible to Joomla 3?

Anyhow, all that was missing in the code was to define "DS" (I copied the following line from the Phoca Gallery itself :D ):
if(!defined('DS')) define('DS', DIRECTORY_SEPARATOR);
This way, the require_once(...) always builds up a valid path. Kindly ask you to add this fix to your plugin.

Many thanks and keep up the excellent work :twisted:
Markus

Re: Bug+fix in "Phoca Gallery Simple Plugin"

Posted: 31 Aug 2014, 23:03
by Jan
Hi, yes, this is the Joomla! 2.5 plugin. Does it mean, that it works with this fix in Joomla! 3, if yes, I will release version for Joomla! 3.

Please let me know.

Thank you, Jan

Re: Bug+fix in "Phoca Gallery Simple Plugin"

Posted: 01 Sep 2014, 19:09
by oidia
Hi Jan,
yes, after that change it seem to be working perfectly, I havn't noticed any further issues :-)
Markus

Re: Bug+fix in "Phoca Gallery Simple Plugin"

Posted: 01 Sep 2014, 20:23
by Jan
Hi, thank you, version 4.1.1 (Joomla 3) released:
https://www.phoca.cz/download/category/5 ... ple-plugin

Jan

Re: Bug+fix in "Phoca Gallery Simple Plugin"

Posted: 02 Sep 2014, 18:53
by oidia
Just tested, the new version works perfectly :-)

Re: Bug+fix in "Phoca Gallery Simple Plugin"

Posted: 03 Sep 2014, 00:15
by Jan
Ok, great to hear it.

Jan