Typografics Posted August 25, 2019 Share Posted August 25, 2019 Good morning everyone, For years we have been working with Processwire and TWIG template engine. However, now for one client when I try to deploy its website to their live environment, errors keep showing up once we a twig view will be set. We tried changing the server specs, but there does not seem to be a problem. On our local and testing environment everything works perfectly, but as soon as we put the website on the live environment, these errors keep showing up. We think there might be a problem with the writing permissions of the server. We can access the backend without any problems, but the frontend will not show up. I put writing permissions on the assets and modules folders. Is there anything else we can do? I also added a screenshot of the server specs. I hope you can help us figure this out. Link to comment Share on other sites More sharing options...
horst Posted August 25, 2019 Share Posted August 25, 2019 I'm not 100% sure, (but think so), if you will get better support when posting this into a dedicated Twig Thread, if there is any. Unfortunately I don't know anything in regard of twig. But there are modules available for twig template engines and when posting there, it may reach more users of twig, if they have set notify for new posts in that thread. 2 Link to comment Share on other sites More sharing options...
dotnetic Posted August 26, 2019 Share Posted August 26, 2019 You see that there is an error in strings.php: The view variable is not set, and you try to modify a property of an object that isn't there. The view variable is available after the TemplateEngineFactory module is loaded. And make sure that in the settings of TemplateEngineFactory "API variable to interact with the view" is set to "view". So maybe you have to change the load order when strings.php is included. 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now