We are moving our forum in GitHub Discussions. For questions about Phalcon v3/v4 you can visit here and for Phalcon v5 here.

update to v1.1.0,nginx 502 Bad Gateway

i used the zend debuger debug the process, in first route dispatcher , it works well.

when valiate the user, util code

return $this->forward('index/index');

above dispath i defind the basecontroller. in fact it is $this->dispatcher->forward(...);

then code second debug the volt defined, the nginx said "502 Bad Gateway"

    $di->set('voltService', function($view, $di) {

        $volt = new \Phalcon\Mvc\View\Engine\Volt($view, $di);

        $volt->setOptions(array(
                "compiledPath" => "../app/compiled-templates/",
                "compiledExtension" => ".php",
                "compiledSeparator" => "%",
        ));

        return $volt;
    });


98.9k

Is this problem happening only with 1.1.0?



17.8k

yes,olny v1.1.0 beta.before beta,v1.1.0 work well



17.8k

i downgrade the phalcon to v1.0.1 , it also work well.



98.9k
Accepted
answer

hey netstu, could you try again re-compiling 1.1.0?



17.8k

thanks phalcon, i update to 1.1.0 again and test it .

now , it works well.