Trying to use Zend GData Library


Yii::import('application.vendors.ZendGdata-1-10-6.library.*');

require_once('Zend/Loader.php');

spl_autoload_unregister(array('YiiBase','autoload'));

spl_autoload_register(array('Zend_Loader_Autoloader','autoload'));

spl_autoload_register(array('YiiBase','autoload'));

Zend_Loader::loadClass('Zend_Gdata');

Zend_Loader::loadClass('Zend_Gdata_AuthSub');

Zend_Loader::loadClass('Zend_Gdata_ClientLogin');

Zend_Loader::loadClass('Zend_Gdata_Calendar');

ERROR:


Fatal error: Class 'CExceptionEvent' not found in C:\Users\Administrator\Desktop\xampp\htdocs\mshi\yii-1.1.3.r2247\framework\base\CApplication.php on line 575

Why is Yii unable to reload??

I think the better question is "Does anyone know to go use Zend_Loader_Autoloader?"




require_once 'Zend/Loader/Autoloader.php';

Yii::registerAutoloader(array('Zend_Loader_Autoloader','autoload'));



and you don’t have to manually import any class from Zend

DarkNSF, did u manage to do it after all?

I need the same thing…