Differences between revisions 1 and 2
Revision 1 as of 2007-11-03 18:04:38
Size: 664
Editor: JunHu
Comment:
Revision 2 as of 2007-11-03 18:05:19
Size: 658
Editor: JunHu
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= RSGallery2 =
Line 10: Line 12:
      $this->url             = sefRelToAbs("index.php?option=com_rsgallery2&Itemid=$Itemid&catid=".$this->get('id'));       $this->url = sefRelToAbs("index.php?option=com_rsgallery2&Itemid=$Itemid&catid=".$this->get('id'));
Line 15: Line 17:
      $this->url             = "index.php?option=com_rsgallery2&Itemid=$Itemid&catid=".$this->get('id');       $this->url = "index.php?option=com_rsgallery2&Itemid=$Itemid&catid=".$this->get('id');

RSGallery2

I got this issue as well. The problem is in gallery.class.php file which doens't check if the function is available when trying to generate var $this->url (line 304).

I think guys should use if( function_exists( 'sefRelToAbs' ) ) notation like they do later in 315 line of that file.

I workarounded this issue replacing line 304

      $this->url = sefRelToAbs("index.php?option=com_rsgallery2&Itemid=$Itemid&catid=".$this->get('id'));

with this one

      $this->url = "index.php?option=com_rsgallery2&Itemid=$Itemid&catid=".$this->get('id');

JunHu: JunHu/Memo/JoomlaTipsAndTricks/RsGallery2 (last edited 2008-10-03 20:19:14 by localhost)