php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57399 Server or API error - no error message available
Submitted: 2006-11-28 02:32 UTC Modified: 2007-02-28 11:04 UTC
From: Alexander dot Thiem at ingres dot com Assigned: grantc@php.net (profile)
Status: Closed Package: ingres (PECL)
PHP Version: 5.1.6 OS: Gentoo Linux
Private report: No CVE-ID: None
 [2006-11-28 02:32 UTC] Alexander dot Thiem at ingres dot com
Description:
------------
Using Gentoo Linux with current 1.4.0 beta and both apache 1.x and 2.x an ingres_connect leads to:

Warning: ingres_connect() [function.ingres-connect]: Server or API error - no error message available ...

Warning: ingres_connect() [function.ingres-connect]: Unable to connect to database (vnode::dbname) ...


Using ingres_connect on command line with 
php -r 'ingres_connect....'
does work as expected.

Apache is running with the ingres user and all II_* are set correctly.

This behaviour is reproducable with all php ingres drivers on this page.

Using the exact same code on a Fedora system everythings works... no idea what's different with gentoo.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-12-18 10:38 UTC] grant dot croker at ingres dot com
Alex,

this is most likely an environmental problem. I have submitted a change to test for II_SYSTEM. If you can retest with the latest package (1.4.1) and let me know what you see.

thanks

grant
 [2007-02-28 11:04 UTC] grant dot croker at ingres dot com
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 01:01:28 2024 UTC