an error using the following code:
require_once 'Zend/Loader/Autoloader.php';
$loader = Zend_Loader_Autoloader::getInstance();
$service = Zend_Gdata_Calendar::AUTH_SERVICE_NAME;
try
{
$client = Zend_Gdata_ClientLogin::getHttpClient($email,
$pass, $service);
}
catch (Zend_Gdata_App_Exception $e)
{
echo "Error: Authentication with Google failed. Reason:
BadAuthentication";
exit;
}
$gdataCal = new Zend_Gdata_Calendar($client);
$query = $gdataCal->newEventQuery();
The code gives the following error:
*Warning*:
Zend_Loader::include(Zend/Gdata/Calendar/Extension/EventQuery.php)
[function.Zend-Loader-include
<http://lh.dev.nettkompetanse.no/diverse/function.Zend-Loader-include>]:
failed to open stream: No such file or directory in
*/usr/share/php/ZendFramework-1.8.2/library/Zend/Loader.php* on line *83*
*Warning*: Zend_Loader::include() [function.include
<http://lh.dev.nettkompetanse.no/diverse/function.include>]: Failed
opening 'Zend/Gdata/Calendar/Extension/EventQuery.php' for inclusion
(include_path='.:/home/lh/libs:/usr/share/pear') in
*/usr/share/php/ZendFramework-1.8.2/library/Zend/Loader.php* on line *83
*Am i doing something wrong or is this something for the bug tracker?
没有评论:
发表评论