#25958 [Bgs]: odbc_connect fails to login to remote Dbase 5

From: Date: Sun, 02 Nov 2003 16:18:10 +0000
Subject: #25958 [Bgs]: odbc_connect fails to login to remote Dbase 5
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-49842@lists.php.net to get a copy of this message
ID: 25958 Updated by: kalowsky@php.net Reported By: brian dot garvis at mascommsys dot com Status: Bogus Bug Type: ODBC related Operating System: Windows 2003 Server PHP Version: 4.3.2 New Comment: I should add that this is provided you are using IIS, I am unsure if Apache would get the same results. Previous Comments: ------------------------------------------------------------------------ [2003-11-02 11:10:13] kalowsky@php.net Not a PHP bug, please leave marked as bogus. From the Microsoft documentation area: "STATUS This behavior is by design. " .... " For example, if the client machine has a mapped drive to the database (M:\DataFolder\Database.mdb), it works fine at design-time. However, when viewed in the browser, the Web server processes the code based on the information given. The Web server checks its M: drive, which more than likely does not have a valid path to the database. " ------------------------------------------------------------------------ [2003-11-02 07:42:40] brian dot garvis at mascommsys dot com I have had 5 others try and make this work now. No one can get php to work with a DSN when the drive is mapped. I have searched everything online that I could find and it seems that no one has been successful. I guess that everyone out there is configuring theirs wrong as well. Please show me one example or person that has gotten this to work? ------------------------------------------------------------------------ [2003-11-01 10:37:04] kalowsky@php.net If the SQL.log is blank, it is not finding the driver requested. That would indicate an ODBC configuration error on the local machine, not a PHP error. That explination fits with your initial error. ------------------------------------------------------------------------ [2003-10-31 17:40:36] brian dot garvis at mascommsys dot com I can give you the trace, but it is a zero byte file. ODBC does not see any errors. The trace only produces a file on error. ------------------------------------------------------------------------ [2003-10-31 09:38:38] kalowsky@php.net If you cannot give me a trace of the SQL connection, I cannot help you. ------------------------------------------------------------------------ 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/25958 -- Edit this bug report at http://bugs.php.net/?id=25958&edit=1

« previous php.bugs (#49842) next »