(Joomla) “Undefined variable at line 157″ on Simple Image Rotator

October 21st, 2008 · 2 Comments

Email This Post Email This Post

Today I experienced a weird error when using “Simple Image Rotator” free edition out from the box. It appears and disappears in fast behind randomly displayed images:

It appears it has something to do with “line 157″. To solve the problem, open “mod_jw_sir.php” and on top of the page, such as after “$bannerfolder         = $params->get(‘bannerfolder’,'images/banners/’);“, add

$img_dimensions = “”;

Reload the page and the error should disappear.

Another new thing learned.

Related posts:

  1. (Joomla) “Undefined variable: gd_support” in Simple Image Gallery? Try this.
  2. WordPress: “Text/Diff/Renderer/inline.php on line 17″ error
  3. More stylish and user friendly image viewer


Tags: Site Development

2 responses so far ↓

  • 1 Peter // Dec 12, 2008 at 2:55 am

    THANKS !!

  • 2 artbruce // Sep 18, 2009 at 9:02 am

    try using single quotation marks if the above does not work at first

    $img_dimensions = ”;

Leave a Comment

CommentLuv badge

© 2006–2010 Now Eating — Sitemap

Switch to our mobile site