[Solar-talk] Solar 0.28.0 released
Andreas Ravnestad
andreas.ravnestad at gmail.com
Sun Jul 1 18:27:33 CDT 2007
Paul M Jones wrote:
>
> On Jul 1, 2007, at 3:11 PM, Andreas Ravnestad wrote:
>
>> Hi!
>>
>> I upgraded on my dev computer now, and I get this error when running
>> one of my apps:
>>
>> *Fatal error*: Method Solar_Http_Response::__toString() must not
>> throw an exception in *C:\PHP\PEAR\Solar\Controller\Front.php* on
>> line *191
>>
>> That's all of it, no stack traces or anything so I'm not quite sure
>> where to search for the fault. Any help appreciated :)
>
> I'm betting it's related to the HTTP response _sendHeaders() method;
> it throws an exception if headers have already been sent. Do you know
> if you're generating output before calling the front-controller?
>
> This is the second case where checking if headers have been sent has
> gotten in the way, it sounds like I need to come up with something
> else when checking if headers have been sent. Suggestions?
Oops, I had completely forgotten to enable output buffering on this app,
so disregard my previous email. Enabling it fixed it for me :)
-Andreas
More information about the Solar-talk
mailing list