Or use my sfErrorHandlerPlugin ;) http://www.symfony-project.org/plugins/sfErrorHandlerPlugin
On 16 Apr 2009, at 09:58, FÁSI Gábor wrote: > > I suggest uploading the _dev front controller and commenting the die() > command, but make sure you delete is as soon as you've finished. > > On Thu, Apr 16, 2009 at 10:52, Roland Cruse <[email protected]> > wrote: >> >> Hi symfony coders >> >> I making a rest application which does not show php syntax errors. >> Just a blank screen, quite a pain. I wondering if this has happened >> to anyone else? >> >> The "rest" app lives in an existing symfony application, has been set >> up as a plugin, has its own routing.yml, has its own frontcontroller >> with apache rewrite redirecting by searching for a starting prefix in >> all urls. >> >> Since its a php syntax error symfony logs are not much help...or have >> not been for me. >> >> I have scratched my head too long on it and am at a loss at why it is >> doing it. I am including .htaccess in case the problem is there I do >> not know where else to look. >> >> Here is .htaccess >> <IfModule mod_rewrite.c> >> RewriteEngine On >> >> # anything /web* gets redirected to the front controller >> RewriteRule ^web(.*)$ restserver.php$1 [QSA,L] >> >> # Symfony rules >> # we skip all files with .something >> RewriteCond %{REQUEST_URI} \..+$ >> RewriteCond %{REQUEST_URI} !\.html$ >> RewriteRule .* - [L] >> ... >> >> Any tips, clues or ideas would be greatly appreciated. >> Thanks! >> >>> >> > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
