Tuesday, June 5, 2012

[YouTube-API] Re: Zend_Gdata_AuthSub PHP Warning

I don't know about the Yii framework. But include_once is PHP and fails when it tries to open the file Http.php because the prefix Zend\Uri\ is not a full path.

You should add a prefix path to you "default search path", that is needed to make the full path complete to find \library (and Zend will append the rest).
Suppose your Htpp.php file is located in C:\ZendGdata\library\Zend\Uri\Htt.php , then you need to add C:\ZendGdata\library to your "default search path". Note that library is the starting folder for Zend.
One way is to modify the line "include_path"  in your php.ini file.
For example into something like: include_path = ".;c:\php\includes;c:\php\ext;c:\ZendGdata\library"


On Tuesday, June 5, 2012 6:20:33 AM UTC+2, jennyftb9 wrote:
Hello guys,

I got this error "include_once(Zend\Uri\Http.php) [<a href='function.include-once'>function.include-once</a>]: failed to open stream: No such file or directory" when trying to use Zend_Gdata_AuthSub::getAuthSubSessionToken($_GET['token']). I have the ZendAutoloader and I'm developing with the Yii framework. What is the problem here?

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To view this discussion on the web visit https://groups.google.com/d/msg/youtube-api-gdata/-/8xej_U8ptj8J.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment