Oriol Mercadé wrote:
> to debug a batch script you can use both logs or printf("txt") command
> to see the output in the console.
> regards ;)
Of course .. but since getPresentationFor() attempts to send headers, if
you print anything before that call, you end up with lots of not so nice
warings ..
I fixed this now by adding the following around the call in
sfRenderingFilter.class.php:
if (!headers_sent()) {
$response->sendHttpHeaders();
}
I think this change would make sense even for normal web apps ..
regards,
Lukas
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---