2013-07-05 2 views
0

저는 몇 시간 동안이 문제로 어려움을 겪었으나 여전히 문제를 해결할 수 없습니다.eden php 및 laravel 4로 youtube에 업로드 하시겠습니까?

Undefined variable: ___file

ErrorException …/­public/­eden.php54

: 나는 다음과 같은 오류가 계속하지만

include('eden.php'); 

    //Requests::register_autoloader(); 
    $t = 'token_here'; 
    $key = 'api_key_here'; 

    $upload = eden('google')->youtube($t, $key)->upload(); 

    $title = 'Awesome video test'; 
    $description = 'as mentioned this is a test'; 
    $category = 'People'; 
    $keyword = 'testing'; 
    return $upload->getUploadToken($title, $description, $category, $keyword, 'youtube_username'); 

: 나는 에덴 PHP와 laravel 단순히 다음 코드를 사용하여 업로드 토큰에 대한 요청을 제출하려고 4.

을 사용하고 있습니다

그러나 다른 API 요청은 완벽하게 작동합니다 ... 내 문제 (대부분 어리 석음 때문에)를 해결할 수 있도록 도와 주시면 영원히 재밌을 것입니다.

미리 감사드립니다.

답변