symfony: customize 404 error page

by prettyscripts on 2009-07-23 15:04:10 • Leave a comment »

symfony

how do you replace the default brown page not found error? there are 2 ways to do it. i chose to override default template because it seems more convenient. from command line: > cd /to/your/apps/[application]/modules > mkdir default > mkdir… more »

Tags: 404, error, symfony

php: display errors

by prettyscripts on 2007-12-03 20:17:31 • Leave a comment »

php

for security reasons, display_errors should be turned off in php.ini. this will not display the error on the browser. however it’s inconvenient during development not being able to see the error. this can be turned on with this code:ini_set("displa… more »

Tags: error, php