Hello to all -

I am trying to get an application called "Keystone" working using Postgres as the DB. The app seems to be working (IE I can add records to the DB, etc.) , but I keep getting this error message: "Warning: pg_exec() query failed: ERROR: Attribute "admin" not found in /var/www/html/keystone2/postgres.php3 on line 47".  (admin is the current user I am signed in to the app as). Here are the lines of code that are executed before and after line 47:

45         function db_query ($qstring) {
46                 global $conn, $pg_curr_row;
47                 $result = pg_Exec ($conn, "$qstring");
48                 # This will break if different connections return the
49                 # same query handle index (probable?).
50                 $pg_curr_row[$result] = 0;
51                 return $result;
52         };

I have tried to ask for help in the list for the app itself, but there does not appear to be any activity over there. I also tried to contact the developer of the app, but have been unsuccessful with that also. I know very little about Postgres, and hope someone out there can give me some suggestions as to what may be causing this error. Here are the particulars of the system the app is installed on: RedHat 9 with all the patches installed, Postgres 4.2.2, Apache 2.0.40, PHP 4.2.2.

Thanks very much in advance to anyone who can help!

Mark


--

___________________________________________________________
Sign-up for Ads Free at Mail.com
http://www.mail.com/?sr=signup