A
A
Alexander Fadeev2015-01-02 11:23:07
Twig
Alexander Fadeev, 2015-01-02 11:23:07

Don't get twig for hhvm, how to find the problem?

After connecting Twig in the project, it says "Server error 500", ini_set('display_errors', 1) and error_reporting(E_ALL) do not help, I don't see what exactly is wrong and I don't understand where to dig, please tell me.
under normal ngnix + php-frm 5.6 everything works fine.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Fadeev, 2015-01-02
@An_Tux

the problem was that I rendered the template in the destructor of the controller, the destruct in php is called automatically after the entire script is processed, in hhvm the destructor had to be called explicitly after the controller was completed.

P
Puma Thailand, 2015-01-02
@opium

and what's in the logs hhvm?
well, we must remember that ххвм is not a complete implementation of php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question