So I am trying to connect to a Google spreadsheet, to do that I am going to use the Zend Gdata framework. I try to connect to the google API like this:
set_include_path("$_SERVER[DOCUMENT_ROOT]/ZendGdata-1.12.11/library");
require_once 'Zend/Loader.php';
$service = Zend_Gdata_Spreadsheets::AUTH_SERVICE_NAME;
$client = Zend_Gdata_ClientLogin::getHttpClient('[email protected]', 'xxxxx', $service);
$spreadsheetService = new Zend_Gdata_Spreadsheets($client);
but when I execute that code I get this error: www/ZendGdata-1.12.11/library Fatal error: Class 'Zend_Gdata_Spreadsheets' not found in /sites/xxxx.nl/www/test.php on line 26
I have no idea what is going wrong here, could you please help me out? :)
I also checked if the zend framework was installed correctly:
