pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Warning: pg_fetch_row(): ...
3+ messages / 3 participants
[nested] [flat]

* Warning: pg_fetch_row(): ...
@ 2004-07-05 20:24 Bastiaan Wakkie <bastiaaw@dds.nl>
  2004-07-07 19:43 ` Re: Warning: pg_fetch_row(): ... Gavin M. Roy <gmr@ehpg.net>
  2004-07-07 19:52 ` Re: Warning: pg_fetch_row(): ... Martin Marques <martin@bugs.unl.edu.ar>
  0 siblings, 2 replies; 3+ messages in thread

From: Bastiaan Wakkie @ 2004-07-05 20:24 UTC (permalink / raw)
  To: pgsql-php

Hi All,

I just upgraded my PostgreSQL from 7.2 to 7.4.3. Mandrake gave me in the
first place a lot of problems so I just recompiled php and postgresql
again (php --without-mysql gave even problems!)

I got one problem left though: any one familier with this error...

    "Warning: pg_fetch_row(): Unable to jump to row 0 on PostgreSQL result index 4 in /www/....php on line 17"

... ?  I did search on google and found a lot of site having the same
problem. Anyone does have a cure for this?

Thanks,
Bastiaan

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Warning: pg_fetch_row(): ...
  2004-07-05 20:24 Warning: pg_fetch_row(): ... Bastiaan Wakkie <bastiaaw@dds.nl>
@ 2004-07-07 19:43 ` Gavin M. Roy <gmr@ehpg.net>
  1 sibling, 0 replies; 3+ messages in thread

From: Gavin M. Roy @ 2004-07-07 19:43 UTC (permalink / raw)
  To: bastiaan@wakkie.org; +Cc: pgsql-php

This means your query didn't execute correctly, pull your query out and 
run it in psql to see what the query error is.  You can also validate 
the number of rows your query is returning using pg_NumRows.

Gavin

Bastiaan Wakkie wrote:

> Hi All,
>
> I just upgraded my PostgreSQL from 7.2 to 7.4.3. Mandrake gave me in 
> the first place a lot of problems so I just recompiled php and 
> postgresql again (php --without-mysql gave even problems!)
>
> I got one problem left though: any one familier with this error...
>
>    "*Warning*: pg_fetch_row(): Unable to jump to row 0 on PostgreSQL result index 4 in */www/....php* on line *17*"
>
> ... ?  I did search on google and found a lot of site having the same 
> problem. Anyone does have a cure for this?
>
> Thanks,
> Bastiaan
>




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Warning: pg_fetch_row(): ...
  2004-07-05 20:24 Warning: pg_fetch_row(): ... Bastiaan Wakkie <bastiaaw@dds.nl>
@ 2004-07-07 19:52 ` Martin Marques <martin@bugs.unl.edu.ar>
  1 sibling, 0 replies; 3+ messages in thread

From: Martin Marques @ 2004-07-07 19:52 UTC (permalink / raw)
  To: bastiaan@wakkie.org; +Cc: pgsql-php

El Lun 05 Jul 2004 17:24, Bastiaan Wakkie escribió:
> Hi All,
>
> I just upgraded my PostgreSQL from 7.2 to 7.4.3. Mandrake gave me in the
> first place a lot of problems so I just recompiled php and postgresql
> again (php --without-mysql gave even problems!)
>
> I got one problem left though: any one familier with this error...
>
>     "Warning: pg_fetch_row(): Unable to jump to row 0 on PostgreSQL result
> index 4 in /www/....php on line 17"
>
> ... ?  I did search on google and found a lot of site having the same
> problem. Anyone does have a cure for this?

It's a warning, not an error, so why bother? Anyway pg_fetch_row() will return 
false, because there are no more rows left to fetch (in your case, you have 
no rows at all).

-- 
 16:50:03 up 2 days,  8:27,  1 user,  load average: 1.31, 1.18, 1.40
-----------------------------------------------------------------
Martín Marqués        | select 'mmarques' || '@' || 'unl.edu.ar'
Centro de Telematica  |  DBA, Programador, Administrador
             Universidad Nacional
                  del Litoral
-----------------------------------------------------------------



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2004-07-07 19:52 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-07-05 20:24 Warning: pg_fetch_row(): ... Bastiaan Wakkie <bastiaaw@dds.nl>
2004-07-07 19:43 ` Gavin M. Roy <gmr@ehpg.net>
2004-07-07 19:52 ` Martin Marques <martin@bugs.unl.edu.ar>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox