[PHP-DEV] Bug #14383 Updated: using postgres with DBA causes DBA not to be able to find any keys.
ID: 14383 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: DBM/DBA related Operating System: FreeBSD 4.4-STABLE PHP Version: 4.0.6 New Comment: Hi, Yes the latest snapshop has the same error. Again, if I comment out the pg_connect call it works just fine. Previous Comments: [2001-12-13 03:17:09] [EMAIL PROTECTED] Ok, I just tested it with 4.1.0 and I still get the exact same error, no change. I'll try to get a snap if I can and try it. [2001-12-13 02:51:58] [EMAIL PROTECTED] No, I've not tried it with 4.1.0. I'm trying to get it or one of the snaps right now and the servers are slllo...:( Will report back when I get it tested. -- GB [2001-12-13 02:39:11] [EMAIL PROTECTED] Did you try it with 4.1.0? Do you still have the problem? If you still have problem, could you try snapshot also? http://snaps.php.net/ If you still have problem with snapshot, I'll look into what's wrong. [2001-12-13 02:33:07] [EMAIL PROTECTED] Yes, if I don't use any postgres commands then the dba stuff works fine. GB [2001-12-12 03:42:31] [EMAIL PROTECTED] Just trying to clarify. If you don't use postgresql functions *before* dba functions, your script works as expected? Could you try it with 4.1.0 to see it helps? -- Yasuo The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/?id=14383 Edit this bug report at http://bugs.php.net/?id=14383edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #14383 Updated: using postgres with DBA causes DBA not to be able to find any keys.
ID: 14383 Updated by: yohgaki Reported By: [EMAIL PROTECTED] Old Status: Open Status: Assigned Bug Type: DBM/DBA related Operating System: FreeBSD 4.4-STABLE Old PHP Version: 4.0.6 PHP Version: 4.2.0-dev Old Assigned To: Assigned To: yohgaki New Comment: Thanks a lot. I'll take a look at source. It could be hard to figure out what's wrong. Please be patient. Since I don't use FreeBSD, I might ask something later. Previous Comments: [2001-12-13 03:29:55] [EMAIL PROTECTED] Hi, Yes the latest snapshop has the same error. Again, if I comment out the pg_connect call it works just fine. [2001-12-13 03:17:09] [EMAIL PROTECTED] Ok, I just tested it with 4.1.0 and I still get the exact same error, no change. I'll try to get a snap if I can and try it. [2001-12-13 02:51:58] [EMAIL PROTECTED] No, I've not tried it with 4.1.0. I'm trying to get it or one of the snaps right now and the servers are slllo...:( Will report back when I get it tested. -- GB [2001-12-13 02:39:11] [EMAIL PROTECTED] Did you try it with 4.1.0? Do you still have the problem? If you still have problem, could you try snapshot also? http://snaps.php.net/ If you still have problem with snapshot, I'll look into what's wrong. [2001-12-13 02:33:07] [EMAIL PROTECTED] Yes, if I don't use any postgres commands then the dba stuff works fine. GB The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/?id=14383 Edit this bug report at http://bugs.php.net/?id=14383edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #14383 Updated: using postgres with DBA causes DBA not to be able to find any keys.
ID: 14383 Updated by: yohgaki Reported By: [EMAIL PROTECTED] Status: Open Bug Type: DBM/DBA related Operating System: FreeBSD 4.4-STABLE PHP Version: 4.0.6 New Comment: Just trying to clarify. If you don't use postgresql functions *before* dba functions, your script works as expected? Could you try it with 4.1.0 to see it helps? -- Yasuo Previous Comments: [2001-12-07 14:37:40] [EMAIL PROTECTED] Hello, If I use postgres first within a PHP script then DBA can not find any keys. It will return the error: Warning: Unable to find DBA identifier 1 in /www/sites/Test/htdocs/dbafuncs.php on line 31 If I do not use a pg_connect, then it works perfectly. Here is a short script that triggers it. --SNIP-- $dbh = pg_connect(dbname=helpme user=helpme); if (!$dbh) { die (Could not connect to the server); } pg_close($dbh); $dbalocation = /www/sites/Test/xxadmindb; echo $dbalocationbrbr; $dbm = dba_open($dbalocation, r, ndbm) || die (Could not open file); if(!$dbm) { die (no handle); } $key = dba_firstkey($dbm); if(!$key) { echo brbrError with retreiving Keybrbr\n; } $info[$key] = dba_fetch($key, $dbm); while($key != false) { $key = dba_nextkey($dbm); if(!$key) { break; } $info[$key] = dba_fetch($key, $dbm); } dba_close($dbm); --SNIP-- The dba_open works just fine and returns a handle, however anything that needs a key will fail with the above error. GB Clark Edit this bug report at http://bugs.php.net/?id=14383edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #14383 Updated: using postgres with DBA causes DBA not to be able to find any keys.
ID: 14383 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: DBM/DBA related Operating System: FreeBSD 4.4-STABLE PHP Version: 4.0.6 New Comment: Yes, if I don't use any postgres commands then the dba stuff works fine. GB Previous Comments: [2001-12-12 03:42:31] [EMAIL PROTECTED] Just trying to clarify. If you don't use postgresql functions *before* dba functions, your script works as expected? Could you try it with 4.1.0 to see it helps? -- Yasuo [2001-12-07 14:37:40] [EMAIL PROTECTED] Hello, If I use postgres first within a PHP script then DBA can not find any keys. It will return the error: Warning: Unable to find DBA identifier 1 in /www/sites/Test/htdocs/dbafuncs.php on line 31 If I do not use a pg_connect, then it works perfectly. Here is a short script that triggers it. --SNIP-- $dbh = pg_connect(dbname=helpme user=helpme); if (!$dbh) { die (Could not connect to the server); } pg_close($dbh); $dbalocation = /www/sites/Test/xxadmindb; echo $dbalocationbrbr; $dbm = dba_open($dbalocation, r, ndbm) || die (Could not open file); if(!$dbm) { die (no handle); } $key = dba_firstkey($dbm); if(!$key) { echo brbrError with retreiving Keybrbr\n; } $info[$key] = dba_fetch($key, $dbm); while($key != false) { $key = dba_nextkey($dbm); if(!$key) { break; } $info[$key] = dba_fetch($key, $dbm); } dba_close($dbm); --SNIP-- The dba_open works just fine and returns a handle, however anything that needs a key will fail with the above error. GB Clark Edit this bug report at http://bugs.php.net/?id=14383edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #14383 Updated: using postgres with DBA causes DBA not to be able to find any keys.
ID: 14383 Updated by: yohgaki Reported By: [EMAIL PROTECTED] Old Status: Open Status: Feedback Bug Type: DBM/DBA related Operating System: FreeBSD 4.4-STABLE PHP Version: 4.0.6 New Comment: Did you try it with 4.1.0? Do you still have the problem? If you still have problem, could you try snapshot also? http://snaps.php.net/ If you still have problem with snapshot, I'll look into what's wrong. Previous Comments: [2001-12-13 02:33:07] [EMAIL PROTECTED] Yes, if I don't use any postgres commands then the dba stuff works fine. GB [2001-12-12 03:42:31] [EMAIL PROTECTED] Just trying to clarify. If you don't use postgresql functions *before* dba functions, your script works as expected? Could you try it with 4.1.0 to see it helps? -- Yasuo [2001-12-07 14:37:40] [EMAIL PROTECTED] Hello, If I use postgres first within a PHP script then DBA can not find any keys. It will return the error: Warning: Unable to find DBA identifier 1 in /www/sites/Test/htdocs/dbafuncs.php on line 31 If I do not use a pg_connect, then it works perfectly. Here is a short script that triggers it. --SNIP-- $dbh = pg_connect(dbname=helpme user=helpme); if (!$dbh) { die (Could not connect to the server); } pg_close($dbh); $dbalocation = /www/sites/Test/xxadmindb; echo $dbalocationbrbr; $dbm = dba_open($dbalocation, r, ndbm) || die (Could not open file); if(!$dbm) { die (no handle); } $key = dba_firstkey($dbm); if(!$key) { echo brbrError with retreiving Keybrbr\n; } $info[$key] = dba_fetch($key, $dbm); while($key != false) { $key = dba_nextkey($dbm); if(!$key) { break; } $info[$key] = dba_fetch($key, $dbm); } dba_close($dbm); --SNIP-- The dba_open works just fine and returns a handle, however anything that needs a key will fail with the above error. GB Clark Edit this bug report at http://bugs.php.net/?id=14383edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP-DEV] Bug #14383 Updated: using postgres with DBA causes DBA not to be able to find any keys.
ID: 14383 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: DBM/DBA related Operating System: FreeBSD 4.4-STABLE PHP Version: 4.0.6 New Comment: No, I've not tried it with 4.1.0. I'm trying to get it or one of the snaps right now and the servers are slllo...:( Will report back when I get it tested. -- GB Previous Comments: [2001-12-13 02:39:11] [EMAIL PROTECTED] Did you try it with 4.1.0? Do you still have the problem? If you still have problem, could you try snapshot also? http://snaps.php.net/ If you still have problem with snapshot, I'll look into what's wrong. [2001-12-13 02:33:07] [EMAIL PROTECTED] Yes, if I don't use any postgres commands then the dba stuff works fine. GB [2001-12-12 03:42:31] [EMAIL PROTECTED] Just trying to clarify. If you don't use postgresql functions *before* dba functions, your script works as expected? Could you try it with 4.1.0 to see it helps? -- Yasuo [2001-12-07 14:37:40] [EMAIL PROTECTED] Hello, If I use postgres first within a PHP script then DBA can not find any keys. It will return the error: Warning: Unable to find DBA identifier 1 in /www/sites/Test/htdocs/dbafuncs.php on line 31 If I do not use a pg_connect, then it works perfectly. Here is a short script that triggers it. --SNIP-- $dbh = pg_connect(dbname=helpme user=helpme); if (!$dbh) { die (Could not connect to the server); } pg_close($dbh); $dbalocation = /www/sites/Test/xxadmindb; echo $dbalocationbrbr; $dbm = dba_open($dbalocation, r, ndbm) || die (Could not open file); if(!$dbm) { die (no handle); } $key = dba_firstkey($dbm); if(!$key) { echo brbrError with retreiving Keybrbr\n; } $info[$key] = dba_fetch($key, $dbm); while($key != false) { $key = dba_nextkey($dbm); if(!$key) { break; } $info[$key] = dba_fetch($key, $dbm); } dba_close($dbm); --SNIP-- The dba_open works just fine and returns a handle, however anything that needs a key will fail with the above error. GB Clark Edit this bug report at http://bugs.php.net/?id=14383edit=1 -- PHP Development Mailing List http://www.php.net/ To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]