J'essaye d'aller chercher des photos de Picasa par Zend Gdata. Ceci est mon code:Utilisation de Zend Gdata dans le framework Yii
public function getAlbumFeed($albumName){
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_ClientLogin');
Zend_Loader::loadClass('Zend_Gdata_Photos');
Zend_Loader::loadClass('Zend_Http_Client');
$svc=Zend_Gdata_Photos::AUTH_SERVICE_NAME;
$client=Zend_Gdata_ClientLogin::getHttpClient($this->email, $this->password, $svc);
$gphoto=new Zend_Gdata_Photos($client);
$query=$gphoto->newAlbumQuery();
$query->setUser('default');
$query->setAlbumName($albumName);
try{
$feed=$gphoto->getAlbumFeed($query);
}
catch(Zend_Gdata_App_Exception $e){
throw new HttpException("Your photos can't find", 404);
}
return $feed;
}
Mais quand je lance ce script, mon site renvoient une erreur:
Fatal error: Class 'CExceptionEvent' not found in D:\xampp\htdocs\yii\framework\base\CApplication.php on line 703
Pourriez-vous me aider à résoudre ce problème? Merci beaucoup.