A different environment shouldn't cause any problems - I run many
custom environments using it without any problems.
What is the error logging level set to in your environment? do you
have show_errors set to on?
Also, you're better using the dev controller for your environment -
you'll get a full stack trace then
On 16 Apr 2009, at 12:27, Roland Cruse wrote:
>
> I installed sfErrorHandler (using symfony 1.2)
>
> The log showed proof of installation: "Apr 16 05:55:37 symfony [info]
> {sfHardenedRenderingFilter} Render to the client". Plus put the
> error500 scripts to their prospective homes even though I have logging
> on...but no joy I sorry to say. white screen of death. Nothing any
> logs, symfony or apache.
>
> I am using my own environment as opposed to dev or prod. Maybe that as
> something to do with it...?
>
> my frontController
> ...
> $configuration =
> ProjectConfiguration::getApplicationConfiguration('appname', 'foo',
> true);
> ...
>
> At least I know I am not the only one with the problem.
> Thanks
>
> On Thu, Apr 16, 2009 at 11:13 AM, Lee Bolding <[email protected]>
> wrote:
>>
>> 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
-~----------~----~----~----~------~----~------~--~---