Re: Warning: pg_fetch_row(): ...

From: Martin Marques <martin(at)bugs(dot)unl(dot)edu(dot)ar>
To: bastiaan(at)wakkie(dot)org
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: Warning: pg_fetch_row(): ...
Date: 2004-07-07 19:52:43
Message-ID: 200407071652.43518.martin@bugs.unl.edu.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
-----------------------------------------------------------------

In response to

Browse pgsql-php by date

  From Date Subject
Next Message Sarah Tanembaum 2004-07-08 15:49:36 Secure DB Systems - How to
Previous Message Gavin M. Roy 2004-07-07 19:43:31 Re: Warning: pg_fetch_row(): ...