Re: Server returns nothing (solved)
Hi there, On Thu, 13 Feb 2003, Viljo Marrandi wrote: On Thu, 13 Feb 2003, Ged Haywood wrote: Hi there, On Thu, 13 Feb 2003, Viljo Marrandi wrote: DBIx::Recordset::Fetchsizewarn = 0; while the correct is: $DBIx::Recordset::Fetchsizewarn = 0; Only one missing $ ! Can anyone explain why server acted so weirdly beacuse of this error? Why it didn't show anything at all in error_log? Did you use strict; Yes, use strict; was in all modules, this makes it even more interesting, doesn't it? Hmmm. This tells me that what we think is happening in your machine isn't what is really happening. (But it's often that way.:) I think you will either have to take out that character and debug it, or else forget all about it and get on with the rest of the project... :) 73, Ged.
Re: Server returns nothing (solved)
Hello, My code checks $tt-error() and it didn't show anything. But I found the problem, it still was perl and it was very, very stupid mistake. In that weird module I defined: DBIx::Recordset::Fetchsizewarn = 0; while the correct is: $DBIx::Recordset::Fetchsizewarn = 0; Only one missing $ ! Can anyone explain why server acted so weirdly beacuse of this error? Why it didn't show anything at all in error_log? At least next time I know... Best regards, Viljo On Wed, 12 Feb 2003 [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Then it's probably a template error, check $tth-error()'s value, after the process()ing. also you might wanna try the template toolkit mailing list? wildguess You are trying tt's USE directive, and that module isn't returning a true value from new() on given occasions, which throws an error (plugin failed), so nothing being sent at all. /wildguess On Wed, 12 Feb 2003 16:58:14 +0200 (EET), Viljo Marrandi wrote: Hello, - -- cheers, [EMAIL PROTECTED] - wa1800z@DALnetCAiRC - #32741432 KeyID 0xDE9EB50B - D0D87CA98916CBB258AC 77FB91E0DA95DE9EB50B -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+SmtckeDald6etQsRAh1CAJ9K3jlTictgvsdouOaWJyXJ/o0BdgCggbjo l5Tnf8wbPHF2md6wLXOAEXc= =+H6d -END PGP SIGNATURE-
Re: Server returns nothing (solved)
Hi there, On Thu, 13 Feb 2003, Viljo Marrandi wrote: My code checks $tt-error() and it didn't show anything. But I found the problem, it still was perl and it was very, very stupid mistake. In that weird module I defined: DBIx::Recordset::Fetchsizewarn = 0; while the correct is: $DBIx::Recordset::Fetchsizewarn = 0; Only one missing $ ! Can anyone explain why server acted so weirdly beacuse of this error? Why it didn't show anything at all in error_log? Did you use strict; ? 73, Ged.
Re: Server returns nothing (solved)
Hello, Yes, use strict; was in all modules, this makes it even more interesting, doesn't it? Viljo On Thu, 13 Feb 2003, Ged Haywood wrote: Hi there, On Thu, 13 Feb 2003, Viljo Marrandi wrote: My code checks $tt-error() and it didn't show anything. But I found the problem, it still was perl and it was very, very stupid mistake. In that weird module I defined: DBIx::Recordset::Fetchsizewarn = 0; while the correct is: $DBIx::Recordset::Fetchsizewarn = 0; Only one missing $ ! Can anyone explain why server acted so weirdly beacuse of this error? Why it didn't show anything at all in error_log? Did you use strict; ? 73, Ged.
Re: Server returns nothing (solved)
Viljo Marrandi wrote: Hello, Yes, use strict; was in all modules, this makes it even more interesting, doesn't it? use warnings; ? __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
Re: Server returns nothing (solved)
Yes, even warnings was used. Viljo On Fri, 14 Feb 2003, Stas Bekman wrote: Viljo Marrandi wrote: Hello, Yes, use strict; was in all modules, this makes it even more interesting, doesn't it? use warnings; ? __ Stas BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com