Author Topic: sh404sef can't enter ssl - Call to undefined method JSite::setCfg()  (Read 3949 times)

FavoriteU

  • Jr. Member
  • **
  • Posts: 119
Here's the full error, which appears any time I have sh404SEF enabled and try to enter ssl.

Quote
Fatal error: Call to undefined method JSite::setCfg() in /home/baseball/public_html/components/com_sh404sef/shInit.php on line 7

It appears to be from this code:

Quote
      if (!empty($shPageInfo->shHttpsSave)) {
        //$mosConfig_live_site = $shPageInfo->shHttpsSave; // does not work in 1.5. We can't change the base in JURI
        // as it is stored statically in $GLOBALS['shConfigLiveSite']
        global $mainframe;                           // this is a workaround, but it should not work very often
        $mainframe->setCfg('live_site', $shPageInfo->shHttpsSave);
      }

I'm not the only one reporting this, as it is listed in another thread on the sh404SEF forum (http://extensions.siliana.com/forums/index.php?topic=9040.0) from an older build (97).  I didn't have this problem in build 60.  In fact, in build 60, I had no trouble with https or ssl, but was having trouble with pagination.  I upgraded to fix pagination and now my ssl is broken.

I'm posting here because a lot of us are trying to use sh404SEF with VM 1.1 and J!, and this seems to be a problem.  I'm not finding any help at the sh404SEF forums thus far.

Can anyone help?


My Setup:

Joomla 1.5.3
VirtueMart 1.1.0 Stable
sh404SEF for Joomla 1.5 build 116 using .htaccess

I have tried with legacy on and off.  No difference.

FavoriteU

  • Jr. Member
  • **
  • Posts: 119
Re: sh404sef can't enter ssl - Call to undefined method JSite::setCfg()
« Reply #1 on: June 09, 2008, 15:11:47 pm »
UPDATE: Siliana just posted build 117.  The latest build fixed the problem.  If you are having the same troubles, grab the latest build in the "test" section of their site.