I figure I have done something wrong..

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
gevans
Posts: 14
Joined: Thu Jun 30, 2005 9:36 pm
Location: Washington State
Contact:

I figure I have done something wrong..

Post by gevans »

Perhaps someone here has seen this and can point me in the right direction as to what I have done wrong. My initial install is still working properly on a test machine, now, for some reason when I have tried it on our production machine I get the following error, and I have obviously misconfigured someting (at least I hope so)... This is what I see and if anyone can help point me in the right direction that would be fantastic.

The connection to the PostgreSQL server could not be established.

Warning: pg_last_error(): supplied argument is not a valid PostgreSQL link resource in /home/httpd/vhosts/mydomain/subdomains/faq/httpdocs/inc/pgsql.php on line 84

The error message of the PostgresSQL server:

Warning: pg_result(): supplied argument is not a valid PostgreSQL result resource in /home/httpd/vhosts/mydomain/subdomains/faq/httpdocs/inc/pgsql.php on line 374

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/mydomain/subdomains/faq/httpdocs/inc/pgsql.php:76) in /home/httpd/vhosts/mydomain/subdomains/faq/httpdocs/index.php on line 125
--Databases are like women. When I sarted playing with them they were flat and I undestood them. Over time, they became multidimensional and I understand them less each day--
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Post by Thorsten »

Hi,

how did you port phpMyFAQ from your test machine to the production system?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
gevans
Posts: 14
Joined: Thu Jun 30, 2005 9:36 pm
Location: Washington State
Contact:

Post by gevans »

Hi Thorsten,

Just a fresh install including the update that I grabbed from CVS when I had the other problem. I kinda figured it is most likely an issue with either my postgres config, or the Apache config. Unfortunately I am not the admin of that machine, so any changes to configs are a nightmare.

The "production machine" is running "Plesk7 Reloaded", why I do not know, and is just generally a nightmare. I will probably just end up turning the test box into a new production machine...
--Databases are like women. When I sarted playing with them they were flat and I undestood them. Over time, they became multidimensional and I understand them less each day--
Post Reply