a little bug in youtube api

2 messages Options
Embed this post
Permalink
vifito

a little bug in youtube api

Reply Threaded More More options
Print post
Permalink
I was receiving an error always that I was calling to the next method: $yt->getUserUploads('user');
Fatal error: Undefined class constant 'UPLOADS_URI_SUFFIX' in /var/www/zend/ZendGdata-1.0.3/library/Zend/Gdata/YouTube.php on line 410

I changed the constant "UPLAODS_URI_SUFFIX" to "UPLOADS_URI_SUFFIX"
in the file YouTube.php into the line 91

Sorry for my english

Trevor Johns

Re: a little bug in youtube api

Reply Threaded More More options
Print post
Permalink
On Jan 9, 2008, at 9:33 AM, Tomás Vilariño wrote:

> I was receiving an error always that I was calling to the next  
> method: $yt->getUserUploads('user');
> Fatal error: Undefined class constant 'UPLOADS_URI_SUFFIX' in /var/
> www/zend/ZendGdata-1.0.3/library/Zend/Gdata/YouTube.php on line 410
>
> I changed the constant "UPLAODS_URI_SUFFIX" to "UPLOADS_URI_SUFFIX"
> in the file YouTube.php into the line 91
>
> Sorry for my english

Hi Tomás,
Thanks for the report. This is is already in the bug tracker as  
ZF-2250 and was fixed in r7018. These changes should be part of the  
next release of Zend Framework, or immediately via the nightly  
snapshots:

        http://framework.zend.com/download/snapshot/

Thanks again, and happy coding!

--
Trevor Johns
http://tjohns.net