Bug+fix in "Phoca Gallery Simple Plugin"

Phoca Gallery plugins - plugins for Phoca Gallery extension
oidia
Phoca Member
Phoca Member
Posts: 10
Joined: 31 Mar 2008, 19:44
Location: Germany

Bug+fix in "Phoca Gallery Simple Plugin"

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post 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
If you find Phoca extensions useful, please support the project
oidia
Phoca Member
Phoca Member
Posts: 10
Joined: 31 Mar 2008, 19:44
Location: Germany

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

Post by oidia »

Hi Jan,
yes, after that change it seem to be working perfectly, I havn't noticed any further issues :-)
Markus
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Hi, thank you, version 4.1.1 (Joomla 3) released:
https://www.phoca.cz/download/category/5 ... ple-plugin

Jan
If you find Phoca extensions useful, please support the project
oidia
Phoca Member
Phoca Member
Posts: 10
Joined: 31 Mar 2008, 19:44
Location: Germany

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

Post by oidia »

Just tested, the new version works perfectly :-)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Ok, great to hear it.

Jan
If you find Phoca extensions useful, please support the project
Post Reply