Bug #68578 [Fbk->NoF]: MS-Access's Linked tables are Not supported on PHP

From: Date: Sun, 25 Jan 2015 04:22:22 +0000
Subject: Bug #68578 [Fbk->NoF]: MS-Access's Linked tables are Not supported on PHP
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-190203@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68578&edit=1 ID: 68578 Updated by: php-bugs@lists.php.net Reported by: rajendradewani at gmail dot com Summary: MS-Access's Linked tables are Not supported on PHP -Status: Feedback +Status: No Feedback Type: Bug Package: ODBC related Operating System: Windows 7 PHP Version: 5.6.3 Assigned To: ab Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2015-01-13 19:58:28] ab@php.net Hi @rajendradewani, thanks for the further info. I just wonder why I get the same warning if there's definitely no another ODBC data source, that's why I suspect the db file itself. Of course it might lay on PHP, especially after you say it works with pure Access or ASP. Or maybe the DB file is missing something, can't tell yet. But for the reproducer - the way you suggest to do it is really not the way. I'll explain why - we need a synthetic reproduces so we can create a phpt case from it - the setup probably takes much longer than the fix itself That's why we always ask for "short self enclosed snippets". For one - it really spares time for the fixing itself, and also - often the reporter finds completely other cause of the issue after working on such a snippet (or the opposite). Therefore I'd like to ask again for a short PHP snippet (well, we have it), two DB files, two DSNs, two tables (one local and one linked). Basically - as few dependencies as possible. Thanks. ------------------------------------------------------------------------ [2015-01-13 15:16:26] rajendradewani at gmail dot com Hi, Thanks for the update. As For the data source ( linked table to work ) you will have to install QuickBooks ( Preferred QuickBooks Enterprise - or my try trial edition of enterprise USA) and QODBC ( www.QODBC.com). Just install QuickBooks + QODBC and your ms-access file should get connect and should get data from QuickBooks. I have verified the ms-access file, if I open the linked table from ms-access I am able to connect to the source and it shows the table result in ms-access. Also, I have verified the ms-access file using it via asp.net, when i connect to the ms-access file using the same DSN which i used for PHP, i am able to query linked table and able to get result on web page. ------------------------------------------------------------------------ [2015-01-13 15:02:10] ab@php.net Ah, man ... i just see the linkedtable2.png and that warning is the exact issue. Ok. But you see that i don't have that data source at all, and i have the same warning. I guess the issue is in the .accdb file when it tries to connect to another data source. Thanks. ------------------------------------------------------------------------ [2015-01-13 14:59:03] ab@php.net Hi, thanks for the update. And the holidays are passe :) I've tried your snippet, took one from before: oConnect = odbc_connect("QB Access", "", ""); $sSQL = "SELECT TOP 50 ListID, FullName, CompanyName FROM Customer"; $oResult = odbc_exec($oConnect, $sSQL); Unfortunately the issue is still blended by something else, namely here's the error message i see: Warning: odbc_exec(): SQL error: [Microsoft][ODBC Microsoft Access Driver] ODBC--connection to 'QuickBooks Data QRemote' failed., SQL state S1000 in SQLExecDirect in C:\php-sdk\php56\vc11\x64\php-src\68578\other.php on line 10 I see from your screenshot that you have several other data sources which probably communicate with each other. But I see anyway that the .accdb file you've supplied is way too complicated. As with the current test data the actual issue isn't reproduceable, I would like to ask you to simplify the DB file. Please note - we don't need your whole db file(s), it would be much better you to create a completely synthetic case. Like - one normal table, one linked table, some lines of the data. Btw. maybe that warning above already reveals you something why that error could be happening? Thanks. ------------------------------------------------------------------------ [2015-01-12 15:42:30] rajendradewani at gmail dot com Any updates on the reported issue. Please do let me know if any additional details is required. ------------------------------------------------------------------------ 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 https://bugs.php.net/bug.php?id=68578 -- Edit this bug report at https://bugs.php.net/bug.php?id=68578&edit=1

« previous php.bugs (#190203) next »