Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

Mayur Pande
PLUS
Mayur Pande
Courses Plus Student 11,711 Points

[SOLVED] My own project using composer, slim and twig not working

I have tried to create a PHP project similar to what Hampton has done is his building a simple website course with Composer. However my files do not seem to be rendering properly. By this I mean I get a blank screen for all the pages. I have followed along exactly but cannot seem to see where I have gone wrong. Any ideas? Here is a link to my code and here is a link to the preview of the workspace site

Mayur Pande
Mayur Pande
Courses Plus Student 11,711 Points

Managed to fix it! I did not have the app run command at the bottom. There were also some mismatched block command names for the main.twig and other twig template files. Persistence pays!