Video youtube view

kirap68's Avatar

kirap68

28 Jul, 2017 09:05 AM

When a user wants to see another user's video

Could not search YouTube.

Google_Service_Exception Object ( [errors:protected] => Array ( [0] => Array ( [domain] => youtube.video [reason] => forbidden [message] => The request is not properly authorized to access video file or processing information. Note that the fileDetails, processingDetails, and suggestions parts are only available to that videos owner. [locationType] => parameter [location] => part ) ) [retryMap:Google_Service_Exception:private] => Array ( [500] => -1 [503] => -1 [rateLimitExceeded] => -1 [userRateLimitExceeded] => -1 ) [message:protected] => Error calling GET https://www.googleapis.com/youtube/v3/videos?part=id%2Csnippet%2Cstatus%2CcontentDetails%2CprocessingDetails%2Cstatistics&id=FttRRErLoNU: (403) The request is not properly authorized to access video file or processing information. Note that the fileDetails, processingDetails, and suggestions parts are only available to that videos owner. [string:Exception:private] => [code:protected] => 403 [file:protected] => /home/vbsijhke/public_html/myfamily/inc/thirdparty/google-api-php-client/src/Google/Http/REST.php [line:protected] => 110 [trace:Exception:private] => Array ( [0] => Array ( [file] => /home/vbsijhke/public_html/myfamily/inc/thirdparty/google-api-php-client/src/Google/Http/REST.php [line] => 62 [function] => decodeHttpResponse [class] => Google_Http_REST [type] => :: [args] => Array ( [0] => Google_Http_Request Object ( [batchHeaders:Google_Http_Request:private] => Array ( [Content-Type] => application/http [Content-Transfer-Encoding] => binary [MIME-Version] => 1.0 ) [queryParams:protected] => Array ( [part] => id,snippet,status,contentDetails,processingDetails,statistics [id] => FttRRErLoNU ) [requestMethod:protected] => GET [requestHeaders:protected] => Array ( [authorization] => Bearer ya29.Gl2VBHALm0c4OgubQ-FqSApM2TIp2UgBp5ZKTl1XrbKdgZ7M_Mo-XRVvBPc70-hWw9O3CJSh-6wzMJ_Xda1guzNx_aFClPNznIXZU8PCP-WTxW4OQTQG3fvS9MaGmf0 [accept-encoding] => gzip ) [baseComponent:protected] => https://www.googleapis.com [path:protected] => /youtube/v3/videos [postBody:protected] => [userAgent:protected] => google-api-php-client/1.1.5 (gzip) [canGzip:protected] => 1 [responseHttpCode:protected] => 403 [responseHeaders:protected] => Array ( [vary] => Origin X-Origin [content-type] => application/json; charset=UTF-8 [content-encoding] => gzip [date] => Fri, 28 Jul 2017 09:00:10 GMT [expires] => Fri, 28 Jul 2017 09:00:10 GMT [cache-control] => private, max-age=0 [x-content-type-options] => nosniff [x-frame-options] => SAMEORIGIN [x-xss-protection] => 1; mode=block [server] => GSE [alt-svc] => quic=":443"; ma=2592000; v="39,38,37,36,35" [transfer-encoding] => chunked ) [responseBody:protected] => { "error": { "errors": [ { "domain": "youtube.video", "reason": "forbidden", "message": "The request is not properly authorized to access video file or processing information. Note that the <code>fileDetails</code>, <code>processingDetails</code>, and <code>suggestions</code> parts are only available to that videos owner.", "locationType": "parameter", "location": "part" } ], "code": 403, "message": "The request is not properly authorized to access video file or processing information. Note that the <code>fileDetails</code>, <code>processingDetails</code>, and <code>suggestions</code> parts are only available to that videos owner." } } [expectedClass:protected] => Google_Service_YouTube_VideoListResponse [expectedRaw:protected] => [accessKey] => ) [1] => Google_Client Object ( [auth:Google_Client:private] => Google_Auth_OAuth2 Object ( [assertionCredentials:Google_Auth_OAuth2:private] => [state:Google_Auth_OAuth2:private] => [token:Google_Auth_OAuth2:private] => Array ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjVmNzkxZjZiMTdjYjlhZTcyMzA4MTJlNzFlZGJlNGExMGI3NGJmOGMifQ.eyJhenAiOiI5OTUxODc5NzAxNzktaHZuZHRlMmthZWVkc2ZtZG40aDNxODk2ajh0a3ZsbW0uYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJhdWQiOiI5OTUxODc5NzAxNzktaHZuZHRlMmthZWVkc2ZtZG40aDNxODk2ajh0a3ZsbW0uYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJzdWIiOiIxMDQ2NjIyNzkzMDk4NjE2ODQyMjEiLCJlbWFpbCI6ImFsaW5ha2xlbWFuQGdtYWlsLmNvbSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJhdF9oYXNoIjoiRk5UaDdPTlJUT1pNOTNTeXd3TVdJQSIsImlzcyI6ImFjY291bnRzLmdvb2dsZS5jb20iLCJpYXQiOjE1MDEyMzE4NDEsImV4cCI6MTUwMTIzNTQ0MX0.eBtvyhn6a9ktPWVsu90Qc2eaMzZfrAYRuzR8SmefI-o5oXO8MxiLd1qii9m5eTIZdZ6dc1Kl-aGd7wQfebbs0DxQulVF-H6gVSvlXLetstdXze9_DGYk4ukCG6x9O7CfCEMFWITFSThahYfvTYjTHUeL3-VdmFlWmfw1gS5CHNZ-cyJp1IV61PqyK2Z43kw6rXaOWyiTfmTjeGS5WvtF1euGkqdeCISL1pKJWCCRlXBrnYCOdGtgp9906v9rUgf5VMiOsq4IUZ8IUvBrQcJ7T6dSZfdCfyPM2ixKBRC1Aj2P6lQsrfOBAuqomB-OYFbwyVGddh3_pG2cmdy6aOrEJA [access_token] => ya29.Gl2VBHALm0c4OgubQ-FqSApM2TIp2UgBp5ZKTl1XrbKdgZ7M_Mo-XRVvBPc70-hWw9O3CJSh-6wzMJ_Xda1guzNx_aFClPNznIXZU8PCP-WTxW4OQTQG3fvS9MaGmf0 [expires_in] => 3600 [created] => 1501231841 ) [client:Google_Auth_OAuth2:private] => Google_Client Object *RECURSION* ) [io:Google_Client:private] => Google_IO_Curl Object ( [options:Google_IO_Curl:private] => Array ( [78] => 100 [13] => 100 ) [client:protected] => Google_Client Object *RECURSION* ) [cache:Google_Client:private] => [config:Google_Client:private] => Google_Config Object ( [configuration:protected] => Array ( [application_name] => [auth_class] => Google_Auth_OAuth2 [io_class] => Google_IO_Curl [cache_class] => Google_Cache_File [logger_class] => Google_Logger_Null [base_path] => https://www.googleapis.com [classes] => Array ( [Google_IO_Abstract] => Array ( [request_timeout_seconds] => 100 ) [Google_Logger_Abstract] => Array ( [level] => debug [log_format] => [%datetime%] %level%: %message% %context% [date_format] => d/M/Y:H:i:s O [allow_newlines] => 1 ) [Google_Logger_File] => Array ( [file] => php://stdout [mode] => 416 [lock] => ) [Google_Http_Request] => Array ( [disable_gzip] => [enable_gzip_for_uploads] => ) [Google_Auth_OAuth2] => Array ( [client_id] => 995187970179-hvndte2kaeedsfmdn4h3q896j8tkvlmm.apps.googleusercontent.com [client_secret] => dRHWb0X0wlWXPY9EM-jksQ9J [redirect_uri] => http://www.familyconnections.it/myfamily/settings.php?view=google&oauth2callback [developer_key] => [hd] => [prompt] => [openid.realm] => [include_granted_scopes] => [login_hint] => [request_visible_actions] => [access_type] => offline [approval_prompt] => auto [federated_signon_certs_url] => https://www.googleapis.com/oauth2/v1/certs ) [Google_Task_Runner] => Array ( [initial_delay] => 1 [max_delay] => 60 [factor] => 2 [jitter] => 0.5 [retries] => 0 ) [Google_Service_Exception] => Array ( [retry_map] => Array ( [500] => -1 [503] => -1 [rateLimitExceeded] => -1 [userRateLimitExceeded] => -1 ) ) [Google_IO_Exception] => Array ( [retry_map] => Array ( [6] => -1 [7] => -1 [28] => -1 [35] => -1 [52] => -1 ) ) [Google_Cache_File] => Array ( [directory] => /tmp/Google_Client ) ) ) ) [logger:Google_Client:private] => Google_Logger_Null Object ( [level:protected] => 100 [logFormat:protected] => [%datetime%] %level%: %message% %context% [dateFormat:protected] => d/M/Y:H:i:s O [allowNewLines:protected] => 1 ) [deferExecution:Google_Client:private] => [requestedScopes:protected] => Array ( [0] => https://www.googleapis.com/auth/youtube.force-ssl [1] => https://www.googleapis.com/auth/userinfo.email [2] => https://www.googleapis.com/auth/userinfo.profile [3] => https://picasaweb.google.com/data/ ) [services:protected] => Array ( ) [authenticated:Google_Client:private] => ) ) ) [1] => Array ( [function] => doExecute [class] => Google_Http_REST [type] => :: [args] => Array ( [0] => Google_Client Object ( [auth:Google_Client:private] => Google_Auth_OAuth2 Object ( [assertionCredentials:Google_Auth_OAuth2:private] => [state:Google_Auth_OAuth2:private] => [token:Google_Auth_OAuth2:private] => Array ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjVmNzkxZjZiMTdjYjlhZTcyMzA4MTJlNzFlZGJlNGExMGI3NGJmOGMifQ.eyJhenAiOiI5OTUxODc5NzAxNzktaHZuZHRlMmthZWVkc2ZtZG40aDNxODk2ajh0a3ZsbW0uYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJhdWQiOiI5OTUxODc5NzAxNzktaHZuZHRlMmthZWVkc2ZtZG40aDNxODk2ajh0a3ZsbW0uYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJzdWIiOiIxMDQ2NjIyNzkzMDk4NjE2ODQyMjEiLCJlbWFpbCI6ImFsaW5ha2xlbWFuQGdtYWlsLmNvbSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJhdF9oYXNoIjoiRk5UaDdPTlJUT1pNOTNTeXd3TVdJQSIsImlzcyI6ImFjY291bnRzLmdvb2dsZS5jb20iLCJpYXQiOjE1MDEyMzE4NDEsImV4cCI6MTUwMTIzNTQ0MX0.eBtvyhn6a9ktPWVsu90Qc2eaMzZfrAYRuzR8SmefI-o5oXO8MxiLd1qii9m5eTIZdZ6dc1Kl-aGd7wQfebbs0DxQulVF-H6gVSvlXLetstdXze9_DGYk4ukCG6x9O7CfCEMFWITFSThahYfvTYjTHUeL3-VdmFlWmfw1gS5CHNZ-cyJp1IV61PqyK2Z43kw6rXaOWyiTfmTjeGS5WvtF1euGkqdeCISL1pKJWCCRlXBrnYCOdGtgp9906v9rUgf5VMiOsq4IUZ8IUvBrQcJ7T6dSZfdCfyPM2ixKBRC1Aj2P6lQsrfOBAuqomB-OYFbwyVGddh3_pG2cmdy6aOrEJA [access_token] => ya29.Gl2VBHALm0c4OgubQ-FqSApM2TIp2UgBp5ZKTl1XrbKdgZ7M_Mo-XRVvBPc70-hWw9O3CJSh-6wzMJ_Xda1guzNx_aFClPNznIXZU8PCP-WTxW4OQTQG3fvS9MaGmf0 [expires_in] => 3600 [created] => 1501231841 ) [client:Google_Auth_OAuth2:private] => Google_Client Object *RECURSION* ) [io:Google_Client:private] => Google_IO_Curl Object ( [options:Google_IO_Curl:private] => Array ( [78] => 100 [13] => 100 ) [client:protected] => Google_Client Object *RECURSION* ) [cache:Google_Client:private] => [config:Google_Client:private] => Google_Config Object ( [configuration:protected] => Array ( [application_name] => [auth_class] => Google_Auth_OAuth2 [io_class] => Google_IO_Curl [cache_class] => Google_Cache_File [logger_class] => Google_Logger_Null [base_path] => https://www.googleapis.com [classes] => Array ( [Google_IO_Abstract] => Array ( [request_timeout_seconds] => 100 ) [Google_Logger_Abstract] => Array ( [level] => debug [log_format] => [%datetime%] %level%: %message% %context% [date_format] => d/M/Y:H:i:s O [allow_newlines] => 1 ) [Google_Logger_File] => Array ( [file] => php://stdout [mode] => 416 [lock] => ) [Google_Http_Request] => Array ( [disable_gzip] => [enable_gzip_for_uploads] => ) [Google_Auth_OAuth2] => Array ( [client_id] => 995187970179-hvndte2kaeedsfmdn4h3q896j8tkvlmm.apps.googleusercontent.com [client_secret] => dRHWb0X0wlWXPY9EM-jksQ9J [redirect_uri] => http://www.familyconnections.it/myfamily/settings.php?view=google&oauth2callback [developer_key] => [hd] => [prompt] => [openid.realm] => [include_granted_scopes] => [login_hint] => [request_visible_actions] => [access_type] => offline [approval_prompt] => auto [federated_signon_certs_url] => https://www.googleapis.com/oauth2/v1/certs ) [Google_Task_Runner] => Array ( [initial_delay] => 1 [max_delay] => 60 [factor] => 2 [jitter] => 0.5 [retries] => 0 ) [Google_Service_Exception] => Array ( [retry_map] => Array ( [500] => -1 [503] => -1 [rateLimitExceeded] => -1 [userRateLimitExceeded] => -1 ) ) [Google_IO_Exception] => Array ( [retry_map] => Array ( [6] => -1 [7] => -1 [28] => -1 [35] => -1 [52] => -1 ) ) [Google_Cache_File] => Array ( [directory] => /tmp/Google_Client ) ) ) ) [logger:Google_Client:private] => Google_Logger_Null Object ( [level:protected] => 100 [logFormat:protected] => [%datetime%] %level%: %message% %context% [dateFormat:protected] => d/M/Y:H:i:s O [allowNewLines:protected] => 1 ) [deferExecution:Google_Client:private] => [requestedScopes:protected] => Array ( [0] => https://www.googleapis.com/auth/youtube.force-ssl [1] => https://www.googleapis.com/auth/userinfo.email [2] => https://www.googleapis.com/auth/userinfo.profile [3] => https://picasaweb.google.com/data/ ) [services:protected] => Array ( ) [authenticated:Google_Client:private] => ) [1] => Google_Http_Request Object ( [batchHeaders:Google_Http_Request:private] => Array ( [Content-Type] => application/http [Content-Transfer-Encoding] => binary [MIME-Version] => 1.0 ) [queryParams:protected] => Array ( [part] => id,snippet,status,contentDetails,processingDetails,statistics [id] => FttRRErLoNU ) [requestMethod:protected] => GET [requestHeaders:protected] => Array ( [authorization] => Bearer ya29.Gl2VBHALm0c4OgubQ-FqSApM2TIp2UgBp5ZKTl1XrbKdgZ7M_Mo-XRVvBPc70-hWw9O3CJSh-6wzMJ_Xda1guzNx_aFClPNznIXZU8PCP-WTxW4OQTQG3fvS9MaGmf0 [accept-encoding] => gzip ) [baseComponent:protected] => https://www.googleapis.com [path:protected] => /youtube/v3/videos [postBody:protected] => [userAgent:protected] => google-api-php-client/1.1.5 (gzip) [canGzip:protected] => 1 [responseHttpCode:protected] => 403 [responseHeaders:protected] => Array ( [vary] => Origin X-Origin [content-type] => application/json; charset=UTF-8 [content-encoding] => gzip [date] => Fri, 28 Jul 2017 09:00:10 GMT [expires] => Fri, 28 Jul 2017 09:00:10 GMT [cache-control] => private, max-age=0 [x-content-type-options] => nosniff [x-frame-options] => SAMEORIGIN [x-xss-protection] => 1; mode=block [server] => GSE [alt-svc] => quic=":443"; ma=2592000; v="39,38,37,36,35" [transfer-encoding] => chunked ) [responseBody:protected] => { "error": { "errors": [ { "domain": "youtube.video", "reason": "forbidden", "message": "The request is not properly authorized to access video file or processing information. Note that the <code>fileDetails</code>, <code>processingDetails</code>, and <code>suggestions</code> parts are only available to that videos owner.", "locationType": "parameter", "location": "part" } ], "code": 403, "message": "The request is not properly authorized to access video file or processing information. Note that the <code>fileDetails</code>, <code>processingDetails</code>, and <code>suggestions</code> parts are only available to that videos owner." } } [expectedClass:protected] => Google_Service_YouTube_VideoListResponse [expectedRaw:protected] => [accessKey] => ) ) ) [2] => Array ( [file] => /home/vbsijhke/public_html/myfamily/inc/thirdparty/google-api-php-client/src/Google/Task/Runner.php [line] => 174 [function] => call_user_func_array [args] => Array ( [0] => Array ( [0] => Google_Http_REST [1] => doExecute ) [1] => Array ( [0] => Google_Client Object ( [auth:Google_Client:private] => Google_Auth_OAuth2 Object ( [assertionCredentials:Google_Auth_OAuth2:private] => [state:Google_Auth_OAuth2:private] => [token:Google_Auth_OAuth2:private] => Array ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjVmNzkxZjZiMTdjYjlhZTcyMzA4MTJlNzFlZGJlNGExMGI3NGJmOGMifQ.eyJhenAiOiI5OTUxODc5NzAxNzktaHZuZHRlMmthZWVkc2ZtZG40aDNxODk2ajh0a3ZsbW0uYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJhdWQiOiI5OTUxODc5NzAxNzktaHZuZHRlMmthZWVkc2ZtZG40aDNxODk2ajh0a3ZsbW0uYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJzdWIiOiIxMDQ2NjIyNzkzMDk4NjE2ODQyMjEiLCJlbWFpbCI6ImFsaW5ha2xlbWFuQGdtYWlsLmNvbSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJhdF9oYXNoIjoiRk5UaDdPTlJUT1pNOTNTeXd3TVdJQSIsImlzcyI6ImFjY291bnRzLmdvb2dsZS5jb20iLCJpYXQiOjE1MDEyMzE4NDEsImV4cCI6MTUwMTIzNTQ0MX0.eBtvyhn6a9ktPWVsu90Qc2eaMzZfrAYRuzR8SmefI-o5oXO8MxiLd1qii9m5eTIZdZ6dc1Kl-aGd7wQfebbs0DxQulVF-H6gVSvlXLetstdXze9_DGYk4ukCG6x9O7CfCEMFWITFSThahYfvTYjTHUeL3-VdmFlWmfw1gS5CHNZ-cyJp1IV61PqyK2Z43kw6rXaOWyiTfmTjeGS5WvtF1euGkqdeCISL1pKJWCCRlXBrnYCOdGtgp9906v9rUgf5VMiOsq4IUZ8IUvBrQcJ7T6dSZfdCfyPM2ixKBRC1Aj2P6lQsrfOBAuqomB-OYFbwyVGddh3_pG2cmdy6aOrEJA [access_token] => ya29.Gl2VBHALm0c4OgubQ-FqSApM2TIp2UgBp5ZKTl1XrbKdgZ7M_Mo-XRVvBPc70-hWw9O3CJSh-6wzMJ_Xda1guzNx_aFClPNznIXZU8PCP-WTxW4OQTQG3fvS9MaGmf0 [expires_in] => 3600 [created] => 1501231841 ) [client:Google_Auth_OAuth2:private] => Google_Client Object *RECURSION* ) [io:Google_Client:private] => Google_IO_Curl Object ( [options:Google_IO_Curl:private] => Array ( [78] => 100 [13] => 100 ) [client:protected] => Google_Client Object *RECURSION* ) [cache:Google_Client:private] => [config:Google_Client:private] => Google_Config Object ( [configuration:protected] => Array ( [application_name] => [auth_class] => Google_Auth_OAuth2 [io_class] => Google_IO_Curl [cache_class] => Google_Cache_File [logger_class] => Google_Logger_Null [base_path] => https://www.googleapis.com [classes] => Array ( [Google_IO_Abstract] => Array ( [request_timeout_seconds] => 100 ) [Google_Logger_Abstract] => Array ( [level] => debug [log_format] => [%datetime%] %level%: %message% %context% [date_format] => d/M/Y:H:i:s O [allow_newlines] => 1 ) [Google_Logger_File] => Array ( [file] => php://stdout [mode] => 416 [lock] => ) [Google_Http_Request] => Array ( [disable_gzip] => [enable_gzip_for_uploads] => ) [Google_Auth_OAuth2] => Array ( [client_id] => 995187970179-hvndte2kaeedsfmdn4h3q896j8tkvlmm.apps.googleusercontent.com [client_secret] => dRHWb0X0wlWXPY9EM-jksQ9J [redirect_uri] => http://www.familyconnections.it/myfamily/settings.php?view=google&oauth2callback [developer_key] => [hd] => [prompt] => [openid.realm] => [include_granted_scopes] => [login_hint] => [request_visible_actions] => [access_type] => offline [approval_prompt] => auto [federated_signon_certs_url] => https://www.googleapis.com/oauth2/v1/certs ) [Google_Task_Runner] => Array ( [initial_delay] => 1 [max_delay] => 60 [factor] => 2 [jitter] => 0.5 [retries] => 0 ) [Google_Service_Exception] => Array ( [retry_map] => Array ( [500] => -1 [503] => -1 [rateLimitExceeded] => -1 [userRateLimitExceeded] => -1 ) ) [Google_IO_Exception] => Array ( [retry_map] => Array ( [6] => -1 [7] => -1 [28] => -1 [35] => -1 [52] => -1 ) ) [Google_Cache_File] => Array ( [directory] => /tmp/Google_Client ) ) ) ) [logger:Google_Client:private] => Google_Logger_Null Object ( [level:protected] => 100 [logFormat:protected] => [%datetime%] %level%: %message% %context% [dateFormat:protected] => d/M/Y:H:i:s O [allowNewLines:protected] => 1 ) [deferExecution:Google_Client:private] => [requestedScopes:protected] => Array ( [0] => https://www.googleapis.com/auth/youtube.force-ssl [1] => https://www.googleapis.com/auth/userinfo.email [2] => https://www.googleapis.com/auth/userinfo.profile [3] => https://picasaweb.google.com/data/ ) [services:protected] => Array ( ) [authenticated:Google_Client:private] => ) [1] => Google_Http_Request Object ( [batchHeaders:Google_Http_Request:private] => Array ( [Content-Type] => application/http [Content-Transfer-Encoding] => binary [MIME-Version] => 1.0 ) [queryParams:protected] => Array ( [part] => id,snippet,status,contentDetails,processingDetails,statistics [id] => FttRRErLoNU ) [requestMethod:protected] => GET [requestHeaders:protected] => Array ( [authorization] => Bearer ya29.Gl2VBHALm0c4OgubQ-FqSApM2TIp2UgBp5ZKTl1XrbKdgZ7M_Mo-XRVvBPc70-hWw9O3CJSh-6wzMJ_Xda1guzNx_aFClPNznIXZU8PCP-WTxW4OQTQG3fvS9MaGmf0 [accept-encoding] => gzip ) [baseComponent:protected] => https://www.googleapis.com [path:protected] => /youtube/v3/videos [postBody:protected] => [userAgent:protected] => google-api-php-client/1.1.5 (gzip) [canGzip:protected] => 1 [responseHttpCode:protected] => 403 [responseHeaders:protected] => Array ( [vary] => Origin X-Origin [content-type] => application/json; charset=UTF-8 [content-encoding] => gzip [date] => Fri, 28 Jul 2017 09:00:10 GMT [expires] => Fri, 28 Jul 2017 09:00:10 GMT [cache-control] => private, max-age=0 [x-content-type-options] => nosniff [x-frame-options] => SAMEORIGIN [x-xss-protection] => 1; mode=block [server] => GSE [alt-svc] => quic=":443"; ma=2592000; v="39,38,37,36,35" [transfer-encoding] => chunked ) [responseBody:protected] => { "error": { "errors": [ { "domain": "youtube.video", "reason": "forbidden", "message": "The request is not properly authorized to access video file or processing information. Note that the <code>fileDetails</code>, <code>processingDetails</code>, and <code>suggestions</code> parts are only available to that videos owner.", "locationType": "parameter", "location": "part" } ], "code": 403, "message": "The request is not properly authorized to access video file or processing information. Note that the <code>fileDetails</code>, <code>processingDetails</code>, and <code>suggestions</code> parts are only available to that videos owner." } } [expectedClass:protected] => Google_Service_YouTube_VideoListResponse [expectedRaw:protected] => [accessKey] => ) ) ) ) [3] => Array ( [file] => /home/vbsijhke/public_html/myfamily/inc/thirdparty/google-api-php-client/src/Google/Http/REST.php [line] => 46 [function] => run [class] => Google_Task_Runner [type] => -> [args] => Array ( ) ) [4] => Array ( [file] => /home/vbsijhke/public_html/myfamily/inc/thirdparty/google-api-php-client/src/Google/Client.php [line] => 590 [function] => execute [class] => Google_Http_REST [type] => :: [args] => Array ( [0] => Google_Client Object ( [auth:Google_Client:private] => Google_Auth_OAuth2 Object ( [assertionCredentials:Google_Auth_OAuth2:private] => [state:Google_Auth_OAuth2:private] => [token:Google_Auth_OAuth2:private] => Array ( [id_token] => eyJhbGciOiJSUzI1NiIsImtpZCI6IjVmNzkxZjZiMTdjYjlhZTcyMzA4MTJlNzFlZGJlNGExMGI3NGJmOGMifQ.eyJhenAiOiI5OTUxODc5NzAxNzktaHZuZHRlMmthZWVkc2ZtZG40aDNxODk2ajh0a3ZsbW0uYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJhdWQiOiI5OTUxODc5NzAxNzktaHZuZHRlMmthZWVkc2ZtZG40aDNxODk2ajh0a3ZsbW0uYXBwcy5nb29nbGV1c2VyY29udGVudC5jb20iLCJzdWIiOiIxMDQ2NjIyNzkzMDk4NjE2ODQyMjEiLCJlbWFpbCI6ImFsaW5ha2xlbWFuQGdtYWlsLmNvbSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJhdF9oYXNoIjoiRk5UaDdPTlJUT1pNOTNTeXd3TVdJQSIsImlzcyI6ImFjY291bnRzLmdvb2dsZS5jb20iLCJpYXQiOjE1MDEyMzE4NDEsImV4cCI6MTUwMTIzNTQ0MX0.eBtvyhn6a9ktPWVsu90Qc2eaMzZfrAYRuzR8SmefI-o5oXO8MxiLd1qii9m5eTIZdZ6dc1Kl-aGd7wQfebbs0DxQulVF-H6gVSvlXLetstdXze9_DGYk4ukCG6x9O7CfCEMFWITFSThahYfvTYjTHUeL3-VdmFlWmfw1gS5CHNZ-cyJp1IV61PqyK2Z43kw6rXaOWyiTfmTjeGS5WvtF1euGkqdeCISL1pKJWCCRlXBrnYCOdGtgp9906v9rUgf5VMiOsq4IUZ8IUvBrQcJ7T6dSZfdCfyPM2ixKBRC1Aj2P6lQsrfOBAuqomB-OYFbwyVGddh3_pG2cmdy6aOrEJA [access_token] => ya29.Gl2VBHALm0c4OgubQ-FqSApM2TIp2UgBp5ZKTl1XrbKdgZ7M_Mo-XRVvBPc70-hWw9O3CJSh-6wzMJ_Xda1guzNx_aFClPNznIXZU8PCP-WTxW4OQTQG3fvS9MaGmf0 [expires_in] => 3600 [created] => 1501231841 ) [client:Google_Auth_OAuth2:private] => Google_Client Object *RECURSION* ) [io:Google_Client:private] => Google_IO_Curl Object ( [options:Google_IO_Curl:private] => Array ( [78] => 100 [13] => 100 ) [client:protected] => Google_Client Object *RECURSION* ) [cache:Google_Client:private] => [config:Google_Client:private] => Google_Config Object ( [configuration:protected] => Array ( [application_name] => [auth_class] => Google_Auth_OAuth2 [io_class] => Google_IO_Curl [cache_class] => Google_Cache_File [logger_class] => Google_Logger_Null [base_path] => https://www.googleapis.com [classes] => Array ( [Google_IO_Abstract] => Array ( [request_timeout_seconds] => 100 ) [Google_Logger_Abstract] => Array ( [level] => debug [log_format] => [%datetime%] %level%: %message% %context% [date_format] => d/M/Y:H:i:s O [allow_newlines] => 1 ) [Google_Logger_File] => Array ( [file] => php://stdout [mode] => 416 [lock] => ) [Google_Http_Request] => Array ( [disable_gzip] => [enable_gzip_for_uploads] => ) [Google_Auth_OAuth2] => Array ( [client_id] => 995187970179-hvndte2kaeedsfmdn4h3q896j8tkvlmm.apps.googleusercontent.com [client_secret] => dRHWb0X0wlWXPY9EM-jksQ9J [redirect_uri] => http://www.familyconnections.it/myfamily/settings.php?view=google&oauth2callback [developer_key] => [hd] => [prompt] => [openid.realm] => [include_granted_scopes] => [login_hint] => [request_visible_actions] => [access_type] => offline [approval_prompt] => auto [federated_signon_certs_url] => https://www.googleapis.com/oauth2/v1/certs ) [Google_Task_Runner] => Array ( [initial_delay] => 1 [max_delay] => 60 [factor] => 2 [jitter] => 0.5 [retries] => 0 ) [Google_Service_Exception] => Array ( [retry_map] => Array ( [500] => -1 [503] => -1 [rateLimitExceeded] => -1 [userRateLimitExceeded] => -1 ) ) [Google_IO_Exception] => Array ( [retry_map] => Array ( [6] => -1 [7] => -1 [28] => -1 [35] => -1 [52] => -1 ) ) [Google_Cache_File] => Array ( [directory] => /tmp/Google_Client ) ) ) ) [logger:Google_Client:private] => Google_Logger_Null Object ( [level:protected] => 100 [logFormat:protected] => [%datetime%] %level%: %message% %context% [dateFormat:protected] => d/M/Y:H:i:s O [allowNewLines:protected] => 1 ) [deferExecution:Google_Client:private] => [requestedScopes:protected] => Array ( [0] => https://www.googleapis.com/auth/youtube.force-ssl [1] => https://www.googleapis.com/auth/userinfo.email [2] => https://www.googleapis.com/auth/userinfo.profile [3] => https://picasaweb.google.com/data/ ) [services:protected] => Array ( ) [authenticated:Google_Client:private] => ) [1] => Google_Http_Request Object ( [batchHeaders:Google_Http_Request:private] => Array ( [Content-Type] => application/http [Content-Transfer-Encoding] => binary [MIME-Version] => 1.0 ) [queryParams:protected] => Array ( [part] => id,snippet,status,contentDetails,processingDetails,statistics [id] => FttRRErLoNU ) [requestMethod:protected] => GET [requestHeaders:protected] => Array ( [authorization] => Bearer ya29.Gl2VBHALm0c4OgubQ-FqSApM2TIp2UgBp5ZKTl1XrbKdgZ7M_Mo-XRVvBPc70-hWw9O3CJSh-6wzMJ_Xda1guzNx_aFClPNznIXZU8PCP-WTxW4OQTQG3fvS9MaGmf0 [accept-encoding] => gzip ) [baseComponent:protected] => https://www.googleapis.com [path:protected] => /youtube/v3/videos [postBody:protected] => [userAgent:protected] => google-api-php-client/1.1.5 (gzip) [canGzip:protected] => 1 [responseHttpCode:protected] => 403 [responseHeaders:protected] => Array ( [vary] => Origin X-Origin [content-type] => application/json; charset=UTF-8 [content-encoding] => gzip [date] => Fri, 28 Jul 2017 09:00:10 GMT [expires] => Fri, 28 Jul 2017 09:00:10 GMT [cache-control] => private, max-age=0 [x-content-type-options] => nosniff [x-frame-options] => SAMEORIGIN [x-xss-protection] => 1; mode=block [server] => GSE [alt-svc] => quic=":443"; ma=2592000; v="39,38,37,36,35" [transfer-encoding] => chunked ) [responseBody:protected] => { "error": { "errors": [ { "domain": "youtube.video", "reason": "forbidden", "message": "The request is not properly authorized to access video file or processing information. Note that the <code>fileDetails</code>, <code>processingDetails</code>, and <code>suggestions</code> parts are only available to that videos owner.", "locationType": "parameter", "location": "part" } ], "code": 403, "message": "The request is not properly authorized to access video file or processing information. Note that the <code>fileDetails</code>, <code>processingDetails</code>, and <code>suggestions</code> parts are only available to that videos owner." } } [expectedClass:protected] => Google_Service_YouTube_VideoListResponse [expectedRaw:protected] => [accessKey] => ) ) ) [5] => Array ( [file] => /home/vbsijhke/public_html/myfamily/inc/thirdparty/google-api-php-client/src/Google/Service/Resource.php [line] => 237 [function] => execute [class] => Google_Client [type] => -> [args] => Array ( [0] => Google_Http_Request Object ( [batchHeaders:Google_Http_Request:private] => Array ( [Content-Type] => application/http [Content-Transfer-Encoding] => binary [MIME-Version] => 1.0 ) [queryParams:protected] => Array ( [part] => id,snippet,status,contentDetails,processingDetails,statistics [id] => FttRRErLoNU ) [requestMethod:protected] => GET [requestHeaders:protected] => Array ( [authorization] => Bearer ya29.Gl2VBHALm0c4OgubQ-FqSApM2TIp2UgBp5ZKTl1XrbKdgZ7M_Mo-XRVvBPc70-hWw9O3CJSh-6wzMJ_Xda1guzNx_aFClPNznIXZU8PCP-WTxW4OQTQG3fvS9MaGmf0 [accept-encoding] => gzip ) [baseComponent:protected] => https://www.googleapis.com [path:protected] => /youtube/v3/videos [postBody:protected] => [userAgent:protected] => google-api-php-client/1.1.5 (gzip) [canGzip:protected] => 1 [responseHttpCode:protected] => 403 [responseHeaders:protected] => Array ( [vary] => Origin X-Origin [content-type] => application/json; charset=UTF-8 [content-encoding] => gzip [date] => Fri, 28 Jul 2017 09:00:10 GMT [expires] => Fri, 28 Jul 2017 09:00:10 GMT [cache-control] => private, max-age=0 [x-content-type-options] => nosniff [x-frame-options] => SAMEORIGIN [x-xss-protection] => 1; mode=block [server] => GSE [alt-svc] => quic=":443"; ma=2592000; v="39,38,37,36,35" [transfer-encoding] => chunked ) [responseBody:protected] => { "error": { "errors": [ { "domain": "youtube.video", "reason": "forbidden", "message": "The request is not properly authorized to access video file or processing information. Note that the <code>fileDetails</code>, <code>processingDetails</code>, and <code>suggestions</code> parts are only available to that videos owner.", "locationType": "parameter", "location": "part" } ], "code": 403, "message": "The request is not properly authorized to access video file or processing information. Note that the <code>fileDetails</code>, <code>processingDetails</code>, and <code>suggestions</code> parts are only available to that videos owner." } } [expectedClass:protected] => Google_Service_YouTube_VideoListResponse [expectedRaw:protected] => [accessKey] => ) ) ) [6] => Array ( [file] => /home/vbsijhke/public_html/myfamily/inc/thirdparty/google-api-php-client/src/Google/Service/YouTube.php [line] => 4230 [function] => call [class] => Google_Service_Resource [type] => -> [args] => Array ( [0] => list [1] => Array ( [0] => Array ( [part] => id,snippet,status,contentDetails,processingDetails,statistics [id] => FttRRErLoNU ) ) [2] => Google_Service_YouTube_VideoListResponse ) ) [7] => Array ( [file] => /home/vbsijhke/public_html/myfamily/video.php [line] => 654 [function] => listVideos [class] => Google_Service_YouTube_Videos_Resource [type] => -> [args] => Array ( [0] => id,snippet,status,contentDetails,processingDetails,statistics [1] => Array ( [id] => FttRRErLoNU ) ) ) [8] => Array ( [file] => /home/vbsijhke/public_html/myfamily/video.php [line] => 603 [function] => displayYouTubeVideoPage [class] => Page [type] => -> [args] => Array ( [0] => Array ( [id] => 15 [source_id] => FttRRErLoNU [title] => Matrimonio Vene-Pistillo [description] => Clip matrimonio [created] => 2012-06-19 18:11:27 [created_id] => 1 ) ) ) [9] => Array ( [file] => /home/vbsijhke/public_html/myfamily/video.php [line] => 113 [function] => displayVideoPage [class] => Page [type] => -> [args] => Array ( ) ) [10] => Array ( [file] => /home/vbsijhke/public_html/myfamily/video.php [line] => 48 [function] => control [class] => Page [type] => -> [args] => Array ( ) ) [11] => Array ( [file] => /home/vbsijhke/public_html/myfamily/video.php [line] => 26 [function] => __construct [class] => Page [type] => -> [args] => Array ( [0] => FCMS_Error Object ( [type:FCMS_Error:private] => [message:FCMS_Error:private] => [details:FCMS_Error:private] => [error:FCMS_Error:private] => [line:FCMS_Error:private] => [file:FCMS_Error:private] => [stack:FCMS_Error:private] => [sql:FCMS_Error:private] => ) [1] => Database Object ( [result:Database:private] => [sql:Database:private] => SELECT `google_session_token` FROM `fcms_user_settings` WHERE `user` = ? LIMIT 1 [dbh:Database:private] => PDO Object ( ) [host:Database:private] => localhost [db:Database:private] => vbsijhke_family [user:Database:private] => vbsijhke_kirap [pass:Database:private] => .TS)a5.Z;!i= [port:Database:private] => [error:Database:private] => FCMS_Error Object ( [type:FCMS_Error:private] => [message:FCMS_Error:private] => [details:FCMS_Error:private] => [error:FCMS_Error:private] => [line:FCMS_Error:private] => [file:FCMS_Error:private] => [stack:FCMS_Error:private] => [sql:FCMS_Error:private] => ) [fetchType:Database:private] => 2 [rowCount:Database:private] => 0 ) [2] => User Object ( [id] => 5 [tzOffset] => +1 hours [displayName] => Alina Klemantovich [email] => [email blocked] [error:User:private] => FCMS_Error Object ( [type:FCMS_Error:private] => [message:FCMS_Error:private] => [details:FCMS_Error:private] => [error:FCMS_Error:private] => [line:FCMS_Error:private] => [file:FCMS_Error:private] => [stack:FCMS_Error:private] => [sql:FCMS_Error:private] => ) [db:User:private] => Database Object ( [result:Database:private] => [sql:Database:private] => SELECT `google_session_token` FROM `fcms_user_settings` WHERE `user` = ? LIMIT 1 [dbh:Database:private] => PDO Object ( ) [host:Database:private] => localhost [db:Database:private] => vbsijhke_family [user:Database:private] => vbsijhke_kirap [pass:Database:private] => .TS)a5.Z;!i= [port:Database:private] => [error:Database:private] => FCMS_Error Object ( [type:FCMS_Error:private] => [message:FCMS_Error:private] => [details:FCMS_Error:private] => [error:FCMS_Error:private] => [line:FCMS_Error:private] => [file:FCMS_Error:private] => [stack:FCMS_Error:private] => [sql:FCMS_Error:private] => ) [fetchType:Database:private] => 2 [rowCount:Database:private] => 0 ) [access] => 3 ) ) ) ) [previous:Exception:private] => )

File: /home/vbsijhke/public_html/myfamily/video.php

Line: 663

Stack:
#0 __construct called at [/home/vbsijhke/public_html/myfamily/video.php:26]
#1 control called at [/home/vbsijhke/public_html/myfamily/video.php:48]
#2 displayVideoPage called at [/home/vbsijhke/public_html/myfamily/video.php:113]
#3 displayYouTubeVideoPage called at [/home/vbsijhke/public_html/myfamily/video.php:603]
#4 add called at [/home/vbsijhke/public_html/myfamily/video.php:664]

PHP: 5.6.31 (Linux)

  1. Support Staff 1 Posted by Ryan Haudenschi... on 03 Aug, 2017 12:16 PM

    Ryan Haudenschilt's Avatar

    Seems like a bug.

    The video gallery needs rewritten to store the videos locally. Then we wouldn't have so many youtube problems like this.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

14 Dec, 2018 09:31 PM
07 Dec, 2018 09:37 PM
07 Dec, 2018 04:55 PM
26 Nov, 2018 05:38 PM
26 Nov, 2018 05:37 PM