Joomla Template Install Error 2.5.4

Last Updated on Wednesday, 18 April 2012 07:10 Written by Dan Wednesday, 18 April 2012 07:10

Besides there having been a recent update with Joomla to 2.5.4, adding a new template can cause an error.

Adding a template can throw an error and though the template appears in the Template Manager no Style appears.

Beyond making sure the name in the template manifest file is exactly the same as the template directory, there’s a bug which can throw a debug error re $lang

As quoted here: http://forum.joomla.org/viewtopic.php?t=708286&p=2782788#p2784057

Making a temporary change to /libraries/joomla/installer/adapters/template.php
add

$lang = JFactory::getLanguage();

to

public function discover_install()

Probably only if you’re sure you know what you’re doing though. Otherwise wait for 2.5.5 !

Leave a Reply

You must be logged in to post a comment.