Template-problem with the Frontend after installation


(Thomas Methner) #1

Hi There,

After Update to the last version I have problems with the Browser Frontend.
I get the message:
“Template “_iframeBuster.twig” is not defined in “@Login/login.twig” at line 24.”

The mobile app can connect and is working as usual. Any idea how to solve it?


(Lukas Winkler) #2

Hi,

Can you check if you have a plugins/Morpheus/templates/_iframeBuster.twig file?

It should have the following content:

{% if (enableFrames is defined and enableFrames == false) %}
    <script type="text/javascript">
        $(function () {
        $('body').css("display", "none");
        if (self == top) {
            var theBody = document.getElementsByTagName('body')[0];
            theBody.style.display = 'block';
        } else { top.location = self.location; }
    });
    </script>
{% endif %}

Maybe try replacing the files with the latest zip download.


(Thomas Methner) #3

Issue solved, thanks.