Michael Petnuch wrote:
> Forgot to CC the list.
> 
> 
> On Jul 10, 2006, at 5:59 PM, Michael Peters wrote:
> 
>>
>>
>> Michael Petnuch wrote:
>>> Hello,
>>>
>>>     I just upgraded to the new version of Dispatch.  Everything went
>>> smooth, I didn't have to change anything.  However, I have been getting
>>> a strange error.  I checked out the code and it seems that at the end of
>>> the handler method $r->status is being set (its value is 200).  This
>>> value is associated with everything is Okay.  However because the status
>>> is being set it triggers the http_error method (I think)
>>
>> The status doesn't trigger a call to http_error, an exception in your
>> application, or in the URL parsing does.
>>
>>> and I see this
>>> appended to the html output:
>>
>> If it's appended, then it probably means that your application
>> finished it's run
>> mode and postrun. I'd suspect that something is wrong in your teardown.
>>
> 
> I tried commenting out all the calls in the teardown  sub and it still
> happens.  Besides I wasn't doing anything fancy, this is what I had:
> 
> sub teardown {
>     my $self = shift;
>     $self->param('dbh')->disconnect();
>     $self->session->flush;
> }

Could it be that you have an addon that is running something in the teardown
phase in the background?

[snip]

>> I suspect something in your teardown phase. Is there anything in your
>> apache
>> error log? Dispatch should be ignoring any errors thrown by your
>> application
>> unless it's the "No such run mode" error, which becomes a NOT_FOUND
>> error.
>>
> 
> The Apache error.log file is devoid of any error references.  So I
> really don't know why this is happening.  I am going to try again
> tonight serving just a plant document using Dispatch.  Could this be a
> debian (distro) specific problem?

Yeah, this is really strange. I have not encountered something like this before.
I doubt it's Debian related, but I'm not a debian user so I don't know what they
do to their apache.

-- 
Michael Peters
Developer
Plus Three, LP


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/[email protected]/
              http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to