R
R
resident2015-08-01 18:25:30
PHP
resident, 2015-08-01 18:25:30

View templates are not rendered in Phalcon. How to fix?

Good day! I've been struggling with this problem for a few days now. Version Phalcon 2.0.6 , locally on Windows everything works like clockwork, and on the Linux server the view templates are not rendered at the LEVEL_ACTION_VIEW level . Moreover, if you explicitly set $this->view->pick("session/start"); then everything is rendered. But Somehow it is not correct to specify in each action which template should be drawn. Has anyone else experienced this before, can you tell me how to resolve the issue?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
resident, 2015-08-01
@resident

The path to the views folder is correct.

D
Dokuro, 2015-09-08
Chan @iDokuro

Most likely it's the filenames. After all, Windows is not case-sensitive to files, and Linux is dependent. There was such a thing with controller names.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question