Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

Profile for byte_predator

  • OFFLINE
  • Time Zone: GMT +0:00
  • Local Time: 01:32
  • Posts: 2
  • Profile Views: 2713
  • Location: Unknown
  • Gender: Unknown
  • Birthdate: Unknown

Signature

Posts

Posts

emo
I have also found a solution for the second error: Fatal error: Using $this when not in object context in /components/com_sef/joomsef.php

This happen because the build method is a static one, so you can't use $this, but if i have understood the code the function _checkURLs (non-static) needs metadata, so i have changed the line 633
$this->_data=$data;

to:
self::getInstance()->setData($data);


ps: my version of joomsef is 4.6.9
New version of JoomS ...
Category: JoomSEF 4
emo
I have found a better solution than changing the site.php file that is a core file, because every time you update joomla you have to edit the file again.
So i have edited the "components/com_sef/sef_ext/com_content.php", and i changed the line 287

$appParams=JApplication::getInstance('site')->getParams('com_content');


to

$appParams=JComponentHelper::getParams('com_content');
New version of JoomS ...
Category: JoomSEF 4
More
Přihlášení uživatele Prázdný