liip/LiipThemeBundle — Issue #33: Overwrite Bundle Template not working
Author: CEikermann
Created: 2012-02-20 18:07:14+00:00
State: open

Hello everybody,

i have installed the FOSUserBundle and the LiipThemeBundle. I want to overwrite the login form template for the desktop theme.

I have created the template in:
app\Resources\themes\desktop\FOSUserBundle\Security\login.html.twig

Now i want to clear the cache, but everytime i get an error:
Fatal error: Call to a member function getContent() on a non-object in vendor\bundles\Symfony\Bundle\AsseticBundle\Factory\Resource\FileResource.php on line 55

I try to debug this error, but i dont find the reason for it.
I have dumped the template ressource:
object(Symfony\Bundle\FrameworkBundle\Templating\TemplateReference)[5092]
protected 'parameters' =>
array
'bundle' => string '' (length=0)
'controller' => string 'FOSUserBundle/Security' (length=22)
'name' => string 'login' (length=5)
'format' => string 'html' (length=4)
'engine' => string 'twig' (length=4)

Maybe the problem is, that in controller is "FOSUserBundle/Security", this is maybe wrong, but i don't know. Have anyone an idea, how i can resolve this problem?