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

php-site example - Only the home page renders

Just installed the php-site example. The home page renders fine and all the links/uri's render and work fine under Nginx.

The problem is that no matter what link is chosen, only the home page renders.

I've been using Perl and php for a long time, but have never needed to use a formal MVC framework until now, so my frame of reference is not helping me at the moment.

Any "off the top of your head" thoughts or ideas would be appreciated.

Thanks!

edited Jul '14

Could you show us some of your code?



1.7k
edited Jul '14

https://github.com/phalcon/php-site

I would just point you to the code on the github site where the example resides. The only change I made to the code was in the config file where I changed the base directory to "/". I should also mention that the problem persists even with the original baseDir.

Thanks.

edited Jul '14

Did you do this project all by your self?



1.7k

Interesting question :) No, I had nothing to do with this project.