[Maypole] Re: DBD::Pg Maypole and morning bug

dfr1@wm.ru dfr1@wm.ru
Fri, 23 Jul 2004 17:03:34 +0400


Hello,

  I realized that this is not morning bug, because all other
  methods works fine, error oocurs only in one metthod. It differs
  from others only by few thins:
    1. it uses lot of other CDBI classes and doing search\retrieve on them
    2. explicitly uses do_pager method and then
    $pager->retrieve_from_sql(...);

   so, what could it be ?

   when i submitting url by GET a got this:


> [Mon Jul 12 12:08:50 2004] [error] DBD::Pg::st fetchrow_array failed:
> no statemtement executing [for Statement "SELECT field4, field2, field3, field7, field1
> FROM   p_board
> WHERE  bid=?                                                                    
> "] at /usr/local/lib/perl5/site_perl/5.8.2/DBIx/ContextualFetch.pm
> line 87, ..
> 
>   I tried to use Apahce::DBI, but:
> 
> 
> [Mon Jul 12 11:52:27 2004] [error] PBoard::PBoard can't SELECT bid
> FROM   p_board                                                           
> WHERE  bid = ?                                                           
> : bind_columns called with 1 refs when 22 needed. at
> /usr/local/lib/perl5..


    but after pressing "Reload" button it worked ok


-- 
Best regards,
 dfr1                          mailto:dfr1@wm.ru