Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/date/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Intuit QuickBooks Web连接器错误_Quickbooks - Fatal编程技术网

Intuit QuickBooks Web连接器错误

Intuit QuickBooks Web连接器错误,quickbooks,Quickbooks,我一直在尝试将基于PHP的解决方案与QuickBooks desktop pro集成。我正在使用用于QuickBooks Web连接器的PHP DevKit 我已经能够正确设置web连接器,但是我无法使其连接到应用程序。每次我收到以下错误消息时: 20151206.12:22:43 UTC : UpdateThisScheduledApp() : Performing SCHEDULED UPDATE for application = QuickBooks Integrator 20151

我一直在尝试将基于PHP的解决方案与QuickBooks desktop pro集成。我正在使用用于QuickBooks Web连接器的PHP DevKit

我已经能够正确设置web连接器,但是我无法使其连接到应用程序。每次我收到以下错误消息时:

20151206.12:22:43 UTC   : UpdateThisScheduledApp() : Performing SCHEDULED UPDATE for application = QuickBooks Integrator
20151206.12:22:43 UTC   : QBWebConnector.RegistryManager.getUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock = FALSE
20151206.12:22:43 UTC   : QBWebConnector.RegistryManager.setUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock has been set to True
20151206.12:22:43 UTC   : QBWebConnector.RegistryManager.setUpdateLock() : ********************* Update session locked *********************
20151206.12:22:43 UTC   : QBWebConnector.SOAPWebService.instantiateWebService() : Initiated connection to the following application.
20151206.12:22:43 UTC   : QBWebConnector.SOAPWebService.instantiateWebService() : AppName: QuickBooks Integrator
20151206.12:22:43 UTC   : QBWebConnector.SOAPWebService.instantiateWebService() : AppUniqueName (if available): QuickBooks Integrator
20151206.12:22:43 UTC   : QBWebConnector.SOAPWebService.instantiateWebService() : AppURL: http://localhost/qb/quickbooks-php-master/docs/web_connector/example_web_connector.php
20151206.12:22:43 UTC   : QBWebConnector.SOAPWebService.do_serverVersion() : *** Calling serverVersion().
20151206.12:22:44 UTC   : QBWebConnector.SOAPWebService.do_serverVersion() : Actual error received from web service for serverVersion call: <Client foun......
20151206.12:22:44 UTC   : QBWebConnector.SOAPWebService.do_serverVersion() : This application does not contain support for serverVersion. Allowing update operation for backward compatibility.
20151206.12:22:44 UTC   : QBWebConnector.SOAPWebService.do_clientVersion() : *** Calling clientVersion() with following parameter:<productVersion="2.2.0.34">
20151206.12:22:44 UTC   : QBWebConnector.SOAPWebService.updateWS() : Actual error received from web service for clientVersion call: <Client foun......
20151206.12:22:44 UTC   : QBWebConnector.SOAPWebService.do_clientVersion() : This application does not contain support for clientVersion. Allowing update operation for backward compatibility.
20151206.12:22:44 UTC   : QBWebConnector.SOAPWebService.do_authenticate() : Authenticating to application 'QuickBooks Integrator', username = 'quickbooks'
20151206.12:22:45 UTC   : QBWebConnector.SOAPWebService.do_authenticate() : *** Calling authenticate() with following parameters:<userName="quickbooks"><password=<MaskedForSecurity>
20151206.12:22:45 UTC   : QBWebConnector.SOAPWebService.do_authenticate() : QBWC1012: Authentication failed due to following error message.
Client fou......
20151206.12:22:45 UTC   : QBWebConnector.RegistryManager.setUpdateLock() : HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock has been set to False
20151206.12:22:45 UTC   : QBWebConnector.RegistryManager.setUpdateLock() : ********************* Update session unlocked *********************
20151206.12:22:45 UTC   : QBWebConnector.WebServiceManager.DoUpdate() : Update completed with errors. See log (QWClog.txt) for details.
20151206.12:22:45 UTC   : UpdateThisScheduledApp() : QBWC1031: Update completed with some error. Application has been notified of the error accordingly. See QWCLog for further information.
20151206.12:22:43 UTC:UpdateThisScheduledApp():为应用程序执行计划更新=QuickBooks Integrator
20151206.12:22:43 UTC:QBWebConnector.RegistryManager.getUpdateLock():HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock=FALSE
20151206.12:22:43 UTC:QBWebConnector.RegistryManager.setUpdateLock():HKEY_CURRENT_USER\Software\Intuit\QBWebConnector\UpdateLock已设置为True
20151206.12:22:43 UTC:QBWebConnector.RegistryManager.setUpdateLock():*******************更新会话已锁定*********************
20151206.12:22:43 UTC:QBWebConnector.SOAPWebService.InstanceWebService():已启动到以下应用程序的连接。
20151206.12:22:43 UTC:QBWebConnector.SOAPWebService.InstanceWebService():AppName:QuickBooks Integrator
20151206.12:22:43 UTC:QBWebConnector.SOAPWebService.InstanceWebService():AppUniqueName(如果可用):QuickBooks Integrator
20151206.12:22:43 UTC:QBWebConnector.SOAPWebService.InstanceWebService():AppURL:http://localhost/qb/quickbooks-php-master/docs/web_connector/example_web_connector.php
20151206.12:22:43 UTC:QBWebConnector.SOAPWebService.do_serverVersion():***调用serverVersion()。
20151206.12:22:44 UTC:QBWebConnector.SOAPWebService.do_serverVersion():从web服务接收到的服务器版本调用的实际错误:只要您看到以下内容:

响应不是格式良好的XML

您有99.9%的几率出现PHP或SQL错误

  • 你检查过你的PHP错误日志了吗?上面说什么

  • 如果访问Web连接器在浏览器中点击的URL,您会看到什么?你看到错误了吗


我在文件中遇到了类似的问题,所以我将第40行改为这一行

ini_set('display_errors', 0);

将Web连接器转到详细日志记录,并在使用详细日志记录运行日志后发布日志。另外,发布Web连接器GUI显示的实际错误消息。@KeithPalmerJr。在详细日志中运行连接器后,问题和日志中添加了GUI屏幕截图错误。我没有检查PHP错误日志,但当我访问浏览器上的URL时,我看到以下警告:1。警告-已弃用:mysql\u connect()。2.警告:无法修改标题信息-标题已由D:\xampp\htdocs\qb\quickbooks php master\quickbooks\Driver\Sql\Mysql.php:289)在第325行的D:\xampp\htdocs\qb\quickbooks php master\quickbooks\WebConnector\Server.php中发送。除example\u web\u connector.php外,我未更改任何文件。另外,我没有添加任何PHP代码,我只是在测试两者之间的连接能力。@Saurabh好的,修复错误。关闭错误报告,使PHP不会发出错误消息,或者将$dsn字符串更改为使用未弃用的扩展名。
ini_set('display_errors', 0);