View Single Post
Old 07-04-2012, 09:38 PM  
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,359
Quote:
Originally Posted by rogueteens View Post
cheers, i'm a fan of TubeX, i might go for that.
you will need to edit some of the source though, youtube is currently broken.

you will get an error like this

Code:
Ajax request failed!
Unable to parse return data as JSON

-----------

Error: A non-recoverable program error has occurred

Log Information
===============
A non-recoverable program error has occurred
Function split() is deprecated

Stack Trace:
#0 [internal function]: ErrorHandler(8192, 'Function split(...', '/home/www/myd...', 475, Array)
#1 /home/www/mydomain/classes/Zend/Gdata/YouTube/VideoEntry.php(475): split()
#2 /home/www/mydomain/admin/classes/Video/Feed/YouTube.php(40): Zend_Gdata_YouTube_VideoEntry->getVideoTags()
#3 /home/www/mydomain/admin/ajax.php(786): Video_Feed_YouTube->Import()
#4 [internal function]: tbxFeedRead('')
#5 /home/www/mydomain/admin/includes/cp-global.php(249): call_user_func_array('tbxFeedRead', Array)
#6 /home/www/mydomain/admin/ajax.php(21): Execute('tbxFeedRead()', 'tbxFunctionMiss...')
#7 {main}
to fix it do the following.

open /classes/Zend/Gdata/YouTube/VideoEntry.php

and change

split('(, *)|,', $keywordsString)

to

explode('(, *)|,', $keywordsString)
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote