【发布时间】:2016-10-28 02:41:31
【问题描述】:
我已经使用了几个月,但突然开始出现错误。我重新生成了 QB 密钥,但它仍然会发生
当我运行任何东西时,我首先包含配置文件
include 'quickbooks-php/docs/partner_platform/example_app_ipp_v3/config.php';
在配置文件中,脚本总是在这一行失败:
if ($IntuitAnywhere->check($the_username, $the_tenant) and
$IntuitAnywhere->test($the_username, $the_tenant)){
错误是:
<b>Notice</b>: unserialize(): Error at offset 0 of 4 bytes in <b>/var/www/html/quickbooks-php/QuickBooks/Encryption/Aes.php</b> on line <b>82</b><br />
<br />
<b>Warning</b>: current() expects parameter 1 to be array, boolean given in <b>/var/www/html/quickbooks-php/QuickBooks/Encryption/Aes.php</b> on line <b>83</b><br />
<br />
<b>Warning</b>: mcrypt_generic_init(): Iv size incorrect; supplied length: 30, needed: 32 in <b>/var/www/html/quickbooks-php/QuickBooks/Encryption/Aes.php</b> on line <b>73</b><br />
<br />
<b>Warning</b>: mdecrypt_generic(): An empty string was passed in <b>/var/www/html/quickbooks-php/QuickBooks/Encryption/Aes.php</b> on line <b>74</b><br />
<br />
<b>Warning</b>: current() expects parameter 1 to be array, boolean given in <b>/var/www/html/quickbooks-php/QuickBooks/Encryption/Aes.php</b> on line <b>83</b><br />
我尝试运行 diagnostics.php 并收到相同的错误。
如果 Keith(之前帮助过我的作者)或其他人可以提供帮助,将不胜感激。官方论坛好像挂了。
【问题讨论】:
标签: php quickbooks-online