Found "Fatal error: Call to a member function setDebug() on a non-object in Z:\home\xxx\www\libraries\joomla\installer\adapters\template.php on line 543"through installing a new template through discovery in joomla 2.5.4.
"Fatal error: Call to a member function setDebug() on a non-object in Z:\home\xxx\www\libraries\joomla\installer\adapters\template.php on line 543"
Please, help!
This is apparently a known bug.
Sources: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=8103&tracker_item_id=28345
http://forum.joomla.org/viewtopic.php?f=619&t=708286#p2784057
This problem occurs due to the lack of a function call in the function discover_install()in the \ Joomla \ Installer \ adapters \ template.php libraries: $lang = JFactory::getLanguage();
discover_install()
$lang = JFactory::getLanguage();
Add this line to this file and everything will work;)
Cheers / Dzenan
. ...
... 480 \joomla\installer\adapters\template.php , /.
Joomla 2.5.4 , Stu I.
But I added it to the function starting at line 503 of the file
libraries \ Joomla \ Installer \ adapters \ template.php
public function discover_install() { // Templates are one of the easiest // If its not in the extensions table we just add it $lang = JFactory::getLanguage(); $client = JApplicationHelper::getClientInfo($this->parent->extension->client_id);
It worked like a charm. Thanks Stu and Dzenan
Error tracking http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_id=8103&tracker_item_id=28345