[Catalyst] strange behaviour when controllers are being inherited
Matt S Trout
dbix-class at trout.me.uk
Thu Jul 20 02:37:16 CEST 2006
Alex Pavlovic wrote:
> Just FCGI-0.67
> On Wednesday 19 July 2006 17:04, Matt S Trout wrote:
>> Alex Pavlovic wrote:
>>> I just found something odd when trying to inherit from a base controller.
>>> I attached the complete application and debug output. From the debug
>>> output you can clearly see that "MyApp powered by Catalyst" as well as
>>> other things appear 4 times in the output and are being duplicated. This
>>> caused some concern.
>>> Please note that this only appears when running under fastcgi environment
>>> and lighttpd, I haven't tested the apache and standalone server does not
>>> seem to be affected.
>> Are you using the FGCI process manager?
Try adding "warn 'Starting up process id '.$$;" immediately before
__PACKAGE__->setup and see if it's getting loaded multiple times in
Matt S Trout Offering custom development, consultancy and support
Technical Director contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd. mst (at) shadowcatsystems.co.uk for more information
+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +
More information about the Catalyst