Zend Gdata - missing HeaderValue.php -


so following this , i'm trying run first php example. following error:

php warning: require_once(zend/http/header/headervalue.php): failed open stream: no such file or directory in /opt2/sites/gdataapi/zendgdata-1.12.13/library/zend/http/client.php on line 45

i checked , file in fact not there. added minimial 1.12 download. says zend/xml/security.php doesn't exist add it.

now getting following error:

php notice:  undefined offset: 1 in /opt2/sites/gdataapi/zendgdata-1.12.13/library/zend/gdata/clientlogin.php on line 150 php stack trace: php   1. {main}() /opt2/sites/gdataapi/test.php:0 php   2. google_spreadsheet->__construct() /opt2/sites/gdataapi/test.php:11 php   3. google_spreadsheet->login()/opt2/sites/gdataapi/google_spreadsheet.php:40 php   4. zend_gdata_clientlogin::gethttpclient() /opt2/sites/gdataapi/google_spreadsheet.php:223 php notice:  undefined variable: php_errormsg in /opt2/sites/gdataapi/zendgdata-1.12.13/library/zend/gdata/app.php on line 834 php stack trace: php   1. {main}() /opt2/sites/gdataapi/test.php:0 php   2. google_spreadsheet->addrow() /opt2/sites/gdataapi/test.php:24 php   3. google_spreadsheet->getspreadsheetid() /opt2/sites/gdataapi/google_spreadsheet.php:62 php   4. zend_gdata_spreadsheets->getspreadsheetfeed() /opt2/sites/gdataapi/google_spreadsheet.php:252 php   5. zend_gdata->getfeed() /opt2/sites/gdataapi/zendgdata-1.12.13/library/zend/gdata/spreadsheets.php:150 php   6. zend_gdata_app->getfeed() /opt2/sites/gdataapi/zendgdata-1.12.13/library/zend/gdata.php:162 php   7. zend_gdata_app->importurl() /opt2/sites/gdataapi/zendgdata-1.12.13/library/zend/gdata/app.php:213 php   8. zend_gdata_app::importstring() /opt2/sites/gdataapi/zendgdata-1.12.13/library/zend/gdata/app.php:792 php fatal error:  uncaught exception 'zend_gdata_app_exception' message 'domdocument cannot parse xml: ' in /opt2/sites/gdataapi/zendgdata-1.12.13/library/zend/gdata/app.php:833 stack trace: #0 /opt2/sites/gdataapi/zendgdata-1.12.13/library/zend/gdata/app.php(792): zend_gdata_app::importstring('', 'zend_gdata_spre...', null, null) #1 /opt2/sites/gdataapi/zendgdata-1.12.13/library/zend/gdata/app.php(213): zend_gdata_app->importurl('https://spreads...', 'zend_gdata_spre...', null) #2 /opt2/sites/gdataapi/zendgdata-1.12.13/library/zend/gdata.php(162): zend_gdata_app->getfeed('https://spreads...', 'zend_gdata_spre...') #3 /opt2/sites/gdataapi/zendgdata-1.12.13/library/zend/gdata/spreadsheets.php(150): zend_gdata->getfeed('https://spreads...', 'zend_gdata_spre...') #4 /opt2/sites/gdataapi/google_spreadsheet.php(252): zend_gdata_spreadsheets->getspreadsheetfeed() #5 /opt2/sites/gdataapi/google_spreadsheet.php(62): google_spreadsheet->getspreadsheetid('test spreadshee...') #6 /opt2/sites/gdataapi/test.php(24): google_spreadsheet in /opt2/sites/gdataapi/zendgdata-1.12.13/library/zend/gdata/app.php on line 833 

i have google spreadsheet update programatically using php. can tell me whats going wrong script? seems old article. there more recent articles missing?

download zend framework minimal version. extract archive , copy /library/zend/http/header directory gdata's /zend/http/ directory.


Comments

Popular posts from this blog

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -

javascript - oscilloscope of speaker input stops rendering after a few seconds -