Tag Archives: Symfony

PHP Contextual Navigation in Symfony

I am currently working on a project using symfony and got to a point where I wanted to add a contextual navigation menu. In other words, I wanted to have a menu that would show a list of pages, but not show the current page. After considering using slots, components, and component slots, I decided on a solution that I like. Read on to find out what it is. Read more »

Symfony sfModelGenerator.class.php line 321 error

Well I’ve been playing with Symfony and I started building modules today from the Jobeet day 3 tutorial and I ran into an issue.   The Symfony Project is basically a framework in which you can build PHP web applications which I’ve been using for a school project.

I’m not sure if I missed a step of if this is a system specific problem but basically I went to run the “symfony propel:build-module” command to genereate my module files and I got this error.

Fatal error: Class ‘PersonForm’ not found in /var/www/cam/trunk/lib/generator/sfModelGenerator.class.php on line 321

Read more »

Development Environments vs. Production Environments

I like the idea of having two separate environments for my website.  That way I do not have to worry about remembering to turn off the profiler (if I’m using a profiler) or making sure that I do not mess up the database while messing around with test data etcetera.  There is also no question that Symfony executes the Development/Test/Production environment philosophy very well.  However, there is also no question that, when one runs into a bug that only shows up in one environment and not in the other, it can be very difficult to squash, indeed.

Read more »