We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

index controller don't load main template file index.phtml in phalcon 2.6

indexcontroller don't load main template file index.phtml in phalcon 2.6 when i deploy it on Apachi 2.4 server. it load main template layout in other controllers but don't load index.phtml main template file in Indexcontroller.



85.5k

since there is no code etc... i would simply show you the project i used.

i downloaded it and delete every project inside it. Fixed the routing. and started working

https://github.com/ovr/phalcon-module-skeleton

example indexcontroller not picking the main template which is in /app/views/index.phtml but this main template /app/views/index.phtml is working for UsersController what is problem ??? both controllers are same and working on localhost wamp but not working on apachi 2.4