php - ZendGdata framework path set error -


hello using zendgdata-1.12.5 framework upload video on youtube

i used following in php code

$path = './zendgdata-1.12.5/library/'; set_include_path(get_include_path() . path_separator . $path);  require_once('zend/loader.php');    zend_loader::loadclass('zend_gdata');   zend_loader::loadclass('zend_gdata_youtube');   zend_loader::loadclass('zend_gdata_authsub');   zend_loader::loadclass('zend_gdata_clientlogin');   

but nothing seems working ! ?

php warning: require_once(zend/xml/security.php): failed open stream: no such file or directory in /var/www/youtube_upload_video/zendgdata-1.12.5/library/zend/gdata/app/base.php on line 30

php fatal error: require_once(): failed opening required 'zend/xml/security.php' (include_path='.:/usr/share/php:/usr/share/pear:./zendgdata-1.12.5/library/') in /var/www/youtube_upload_video/zendgdata-1.12.5/library/zend/gdata/app/base.php on line 30

the path correct, problem zend gdata library not have zend/xml folder. it's small folder 2 files. need following:

1) go to: http://framework.zend.com/downloads/latest

2) download 1.12 (or whatever version is) minimal package.

3) extract on hard disk.

4) upload /library/zend/xml folder server's /zendgdata-1.12.5/library/ folder in /zendgdata-1.12.5/library/zend folder have xml folder.

5) that's it. enjoy.


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -