Ok, so I tried to make my own template, very basic just a skeleton. But it failed to install in the discover screen. After that I tried to duplicate a default template, change the folder name, change the name in the templateDetails.xml. This also gave the same error:
Code: Select all
Notice: Undefined variable: lang in /Users/username/Sites/sitename/libraries/joomla/installer/adapters/template.php on line 543 Fatal error: Call to a member function setDebug() on a non-object in /Users/username/Sites/sitename/libraries/joomla/installer/adapters/template.php on line 543
I'm running Joomla 2.5 on my local machine (OSX 10.7) with Apache 2, PHP5, MySQL5. I'm pretty new with Joomla, but pretty experienced in web development, but I couldn't find a solution for this problem.