Błąd w pliku facileforms.class.php on line 133 – co zrobić?

Jeśli używasz Joomla + BreezingForms + SeoPatch możesz się niemile zaskoczyć, gdy nagle po aktualizacji Joomli do nowszej wersji zamiast formularza kontaktowego zobaczysz taki komunikat:

Fatal error: Call to undefined method JSite::getSiteURL() in /…./…../html/components/com_facileforms/facileforms.class.php on line 133

Na szczęście jest rozwiązanie tego “problemu” :)

W 133 linii pliku facileforms.class.php

$ff_mossite = str_replace('\\','/', $mainframe->getSiteURL());

należy zastąpić takim oto fragmentem:

$ff_mossite = str_replace('\\','/', JURI::root());

Jeśli to nie pomoże, w pliku konfiguracyjnym (configuration.php) w linii 20 nie wpisywać żadnej wartości, mianowicie:

var $live_site = ‘ ‘;

Powinno zadziałać :)

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Blip
  • Blogger.com
  • elefanta
  • email
  • Flaker
  • Gwar
  • LinkedIn
  • Live
  • Mój biznes
  • Netvibes
  • Pinger
  • RSS
  • StumbleUpon
  • Technorati
  • Twitter
  • Wykop
  • Śledzik

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Protected by WP Anti Spam
Highslide for Wordpress Plugin