Just installed phpMyFAQ 1.5.5, and everything installed beautifully, and is up and running ... but, when I login as admin, the Startpage generates the following error:
Fatal error: Call to undefined function: pg_fetch_row() in /usr/local/www/phpmyfaq.1.5.5/inc/pgsql.php on line 253
the code in question being:
function getOne($query)
{
$row = $this->fetch_row($this->query($query));
return $row[0];
}
I can't find a reference to fetch_row in any of the other db modules, and not exactly sure what its looking for there ...
Fatal error: Call to undefined function: fetch_row()
Moderator: Thorsten
Hi,
please try this function:
bye
Thorsten
please try this function:
Code: Select all
function getOne($query)
{
$row = $this->fetch_array($this->query($query));
return $row[0];
}
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Hi,
this should work:
bye
Thorsten
this should work:
Code: Select all
function getOne($query)
{
$row = pg_fetch_row($this->query($query));
return $row[0];
}
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist