Notice: Undefined variable: iCss

Phoca Gallery plugins - plugins for Phoca Gallery extension
nicky
Phoca Member
Phoca Member
Posts: 10
Joined: 06 Feb 2013, 00:07
Location: Melbourne, Australia
Contact:

Notice: Undefined variable: iCss

Post by nicky »

Hi,

Have just installed the latest version of PhocaGallery (3.2.6) on Joomla! 2.5.11. The installation is on a local WAMP server, PHP 5.3.13.

When I install the latest version of Phoca Gallery Plugin (3.2.0) and then insert an image into an Article, I get the following error messages:

Notice: Undefined variable: iCss in ..\plugins\content\phocagallery\phocagallery.php on line 396
Notice: Undefined variable: iCss in ..\plugins\content\phocagallery\phocagallery.php on line 397
Notice: Undefined variable: iCss in ..\plugins\content\phocagallery\phocagallery.php on line 1349
(Have replaced my computer path name with ..)

Underneath each error is a Call stack table, each with 13 lines. The error is bright orange.

I'm using a RocketTheme Chapelco template and have the RokBox plugin installed. The only other things I've installed so far are JCE, Ari Image Slider and RokAjaxSearch. If I change to a default template the problem still occurs. If I disable all RocketTheme components, modules, etc., and Ari Image Slider, the problem still occurs.

When I disable the plugin, the Undefined variable messages disappear, but then the text is displayed within the Article instead of the image, as expected.

I tried to comment out the 3 lines in ..\plugins\content\phocagallery\phocagallery.php but that generated new errors.

I'm sorry but I don't know enough about coding to know what to look at next. It may be a PHP problem, so as it's WAMP I can change any configuration settings you suggest.

Any suggestions? :idea:

Cheers,
Nicky
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Notice: Undefined variable: iCss

Post by Jan »

Hi, there was some additional code to handle non standard browsers like IE is, I will try to change the code today, maybe this will help. :idea:

Jan
If you find Phoca extensions useful, please support the project
nicky
Phoca Member
Phoca Member
Posts: 10
Joined: 06 Feb 2013, 00:07
Location: Melbourne, Australia
Contact:

Re: Notice: Undefined variable: iCss

Post by nicky »

That would be great, thanks. :) Any chance you could email me when the code change is ready? I'm still having trouble accessing your site, even using Tunnelbear it keeps randomly blocking.
Cheers,
Nicky
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Notice: Undefined variable: iCss

Post by Jan »

Hi, try to test: https://www.phoca.cz/download/category/1 ... ery-plugin (Phoca Gallery Plugin 3.2.6) and let me know.

Jan
If you find Phoca extensions useful, please support the project
nicky
Phoca Member
Phoca Member
Posts: 10
Joined: 06 Feb 2013, 00:07
Location: Melbourne, Australia
Contact:

Re: Notice: Undefined variable: iCss

Post by nicky »

Hi Jan,
That worked! Thanks :) (And thanks for fixing the blocking thing).
Cheers,
Nicky
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Notice: Undefined variable: iCss

Post by Jan »

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