ID: 25958 Comment by: boa at weboa dot org 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:
The same error appear on: Windows XP Professionnal v2002 SP-1 Apache 1.3.24 PHP 4.3.3 Width odbc (dbase IV, access 32bits for AS400) on remote database file. And the sql.log stayed void. Test with the same files under a local directory and all work perfectly. Previous Comments: ------------------------------------------------------------------------ [2003-11-02 11:18:10] [EMAIL PROTECTED] I should add that this is provided you are using IIS, I am unsure if Apache would get the same results. ------------------------------------------------------------------------ [2003-11-02 11:10:13] [EMAIL PROTECTED] 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] [EMAIL PROTECTED] 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. ------------------------------------------------------------------------ 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