Undefined class constant ‘UPLOADS_URI_SUFFIX’

Posted on the January 14th, 2008 under IT, Web development, Zend Framework by Konrad Żak

While trying to receive list of YouTube user’s videos list with Zend Framework 1.0.3 you can get Undefined class constant ‘UPLOADS_URI_SUFFIX’ PHP error. Constant name appear to be incorrectly spelled as UPLAODS_URI_SUFFIX on the 91st line of Zend/Gdata/YouTube.php. It’s easy to fix, this line should look like:

const UPLOADS_URI_SUFFIX = 'uploads';

Later on I found this bug already reported more than month ago:
http://framework.zend.com/issues/browse/ZF-2250

Hope this help, regards.

Leave a Reply

You must be logged in to post a comment.