Tuesday 15 September 2015

php - $videoFeed = $yt->getUserUploads makes the script die -


I am using a yt-getuseruploads-script which is working for years, but this error message Without stopping it starts like this

  & lt ;? Php error_reporting (E_ERROR | E_WARNING | E_PARSE); Ignore_user_abort (true); Function anmelden_yt ($ name, $ passwort) {$ yt_source = 'known'; $ Yt_api_key = 'key'; $ Yt = null; $ Authentication URL = 'https://www.google.com/accounts/ClientLogin'; $ HttpClient = Zend_Gdata_ClientLogin :: getHttpClient ($ username = $ name, $ password = $ passwort, $ service = 'youtube', $ client = null, $ source = $ yt_source, // Identifying your app $ loginToken = null A short string, $ LoginCaptcha = null, $ authenticationURL); Abschnitt ("Login"); Return new Zend_Gdata_YouTube ($ httpClient, $ yt_source, NULL, $ yt_api_key); } Need_once ("Zend / Gdata / ClientLogin.php"); Need_once ("Zend / GData / HttpClient.php"); Need_once ("Zend / GData / YouTube.php"); Need_once ("Zend / GData / Apps / MediaFileSource.php"); Need_once ("Zend / GData / app / HttpException.php"); Require_once ('Zend / Uri / http.php'); Need_once 'Zend / Loader.php'; Zend_Loader :: loadClass ('Zend_Gdata_YouTube'); Zend_Loader :: loadClass ('Zend_Gdata_AuthSub'); Zend_Loader :: loadClass ('Zend_Gdata_ClientLogin'); Echo "1 
"; $ Yt = anmelden_yt ($ name, $ pass); Echo "2"; br> "; $ VideoFeed = $ yt- & gt; GetUserUploads ('Google'); Sleep (0.5); Echo "3
"; @ob_flush (); @flush (); ? & Gt;

The problem is, 3 is never being printed, output

  1 2   

Error_reporting (E_ERROR | E_WARNING | E_PARSE); I have not received any error messages, but nothing but outcomes mentioned. itemprop = "text">

Are you sure this is a deadline error? Try :

  ini_set ('display_errors', '1');   

First of all to see if errors are

No comments:

Post a Comment