FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Step 2 of install: Call to undefined function pg_query()
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Step 2 of install: Call to undefined function pg_query() [message #8383] Sat, 25 January 2003 22:38 Go to next message
KSpifz is currently offline  KSpifz   United States
Messages: 2
Registered: January 2003
Karma: 0
Junior Member
Fatal error: Call to undefined function: pg_query() in /home/forum/FUDforum2/install.php on line 128

Using the latest version of FUDforum,
PHP Version 4.1.2-7 installed via rpm off Redhat 7.3 discs
--with-pgsql=shared

Also:
postgresql-devel-7.2.1-5
php-pgsql-4.1.2-7
postgresql-libs-7.2.1-5
postgresql-7.2.1-5
postgresql-server-7.2.1-5

I can't find any other post that talks about undefined function pg_query()

What do I do?

Thanks
Re: Step 2 of install: Call to undefined function pg_query() [message #8403 is a reply to message #8383] Mon, 27 January 2003 15:11 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Looks like your PHP does not have pgsql support, this is because your PHO's pgsql module is shared and you are probably not loading pgsql.so inside your php.ini.

FUDforum Core Developer
Re: Step 2 of install: Call to undefined function pg_query() [message #8415 is a reply to message #8403] Mon, 27 January 2003 20:41 Go to previous messageGo to next message
KSpifz is currently offline  KSpifz   United States
Messages: 2
Registered: January 2003
Karma: 0
Junior Member
I'm not too familiar with the php.ini file, on line 471 I have:

extension=pgsql.so

is that right? Or am I missing something else?

Thanks
Re: Step 2 of install: Call to undefined function pg_query() [message #8416 is a reply to message #8415] Mon, 27 January 2003 20:42 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
That should be it, make sure there are no ';' on that line as that would comment things out. It is possible that due to some version mis-match the extension is not being loaded, which would explain why you cannot use postgresql functions.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Escape Characters Galore
Next Topic: FATAL ERROR: inconsistent number of values inside a select
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Jun 18 11:53:36 GMT 2024

Total time taken to generate the page: 0.02604 seconds