I'm trying to include the Zend Gdata module into a plugin, but this error appears on plugin activation:
include_once(Zend\Gdata\YouTube.php) [function.include-once]: failed to open stream: No such file or directory in \Zend\Loader.php on line 146
any help appreciated, thanks
I have the main plugin file in the root and then a Zend subfolder which contains the module. This was just copied from the demo app which works fine on the same XAMPP installation, so it's something to do with how WordPress includes files?
/** * @see Zend_Loader */ require_once 'Zend/Loader.php'; /** * @see Zend_Gdata_YouTube */ Zend_Loader::loadClass('Zend_Gdata_YouTube');