When this issue raised?

Quickbook integration with yii1 framework failed because of quickbook SDK’s internally used another 3rd party library which cause the issue. Every time it throws the error like “Failed to open stream: No such file or directory found”.

php-warning

How to solve it?

We have modified the 3rd party library little bit to solve the issue.

Here is a file path

protected/vendor/v3-php-sdk-2.4.1/XSD2PHP/src/com/mikebevz/xsd2php/Bind.php

We need to modify “bindXML” function code

(!class_exists(class_name)($className)) 
to 
!(class_exists(class_name)($className,false)).

Also we need to update one more file.

protected/vendor/v3-php-sdk-2.4.1/XSD2PHP/src/com/mikebevz/xsd2php/Php2Xml.php

We need to modify “__construct” function code

class_exists('\Zend_Registry')
to
class_exists('\Zend_Registry',false)

You may also like

Leave a Reply