zigdon has asked for the wisdom of the Perl Monks concerning the following question:
How would I track this down? The problem doesn't seem to be in my code, and even when I added some debugging code to CDBI:AbstractSearch, everything looked right:[Mon Oct 3 22:15:21 2005] script: MyApp::Sets can't SELECT id, id, se +tnumber, setrev, name, theme, year, pcs, figs, picture, msrp, instruc +tions, inventory [Mon Oct 3 22:15:21 2005] script: FROM SETS [Mon Oct 3 22:15:21 2005] script: WHERE ( ID = ? ) [Mon Oct 3 22:15:21 2005] script: : Not an ARRAY reference at /home/u +ser/lib/modules/Class/DBI.pm line 1124. [Mon Oct 3 22:15:21 2005] script: at /home/user/lib/modules/Class/DB +I/AbstractSearch.pm line 31
The problem goes away if I stop using SpeedyCGI, but the performance hit is too much at this point. (yes, I should migrate to mod_perl, one day). Any ideas what I could try next to debug this? Thanks![Mon Oct 3 21:21:58 2005] script: phrase = $VAR1 = '( Theme = ? )'; [Mon Oct 3 21:21:58 2005] script: [Mon Oct 3 21:21:58 2005] script: bind = $VAR1 = [ [Mon Oct 3 21:21:58 2005] script: 0 [Mon Oct 3 21:21:58 2005] script: ]; [Mon Oct 3 21:21:58 2005] script: MyApp::Sets can't SELECT id, id, se +tnumber, setrev, name, theme, year, pcs, figs, picture, msrp, instruc +tions, inventory [Mon Oct 3 21:21:58 2005] script: FROM SETS [Mon Oct 3 21:21:58 2005] script: WHERE ( Theme = ? ) [Mon Oct 3 21:21:58 2005] script: : Not an ARRAY reference at /home/u +ser/lib/modules/Class/DBI.pm line 1124. [Mon Oct 3 21:21:58 2005] script: at /home/user/lib/modules/Class/DB +I/AbstractSearch.pm line 33
-- zigdon
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Class::DBI::AbstractSearch and SpeedyCGI
by shemp (Deacon) on Oct 04, 2005 at 04:06 UTC | |
by zigdon (Deacon) on Oct 04, 2005 at 10:51 UTC | |
Re: Class::DBI::AbstractSearch and SpeedyCGI
by perrin (Chancellor) on Oct 04, 2005 at 05:25 UTC | |
by zigdon (Deacon) on Oct 04, 2005 at 10:55 UTC | |
by zigdon (Deacon) on Oct 04, 2005 at 11:14 UTC | |
by perrin (Chancellor) on Oct 04, 2005 at 18:28 UTC | |
by zigdon (Deacon) on Oct 04, 2005 at 20:09 UTC | |
| |
Re: Class::DBI::AbstractSearch and SpeedyCGI
by barrachois (Pilgrim) on Oct 04, 2005 at 15:51 UTC | |
by zigdon (Deacon) on Oct 04, 2005 at 20:11 UTC |