Page 1 of 1

Notice: Undefined variable: iCss

Posted: 17 Jun 2013, 06:00
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

Re: Notice: Undefined variable: iCss

Posted: 20 Jun 2013, 17:52
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

Re: Notice: Undefined variable: iCss

Posted: 24 Jun 2013, 05:42
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

Re: Notice: Undefined variable: iCss

Posted: 25 Jun 2013, 13:03
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

Re: Notice: Undefined variable: iCss

Posted: 26 Jun 2013, 02:50
by nicky
Hi Jan,
That worked! Thanks :) (And thanks for fixing the blocking thing).
Cheers,
Nicky

Re: Notice: Undefined variable: iCss

Posted: 02 Jul 2013, 22:26
by Jan
Ok