Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file_put_contents(): Write of 211 bytes failed with errno=13 Permission denied #93

Open
electronic-club opened this issue Apr 25, 2022 · 2 comments

Comments

@electronic-club
Copy link

I am trying to upload a video on Vimeo using Laravel.
by upload I get the error
file_put_contents(): Write of 211 bytes failed with errno=13 Permission denied

a file of 0 mb is getting uploaded at vimeo panel.
I am on localhost, XAMPP, Windows, but I try also on online server larafel forge etc
and is the same error

@cpelegrin
Copy link

cpelegrin commented Jun 12, 2022

Here is with the same problem without solution

I tried with various codes, but nothing is working.

this is my controller:

`
namespace App\Http\Controllers;

use Illuminate\Http\Request;
use Vimeo\Laravel\Facades\Vimeo;

class TesteTcc extends Controller
{
function testeVimeDO(Request $request)
{

$uri = Vimeo::upload($request->video->path(), array(
  "name" => $request->tituloVideo,
  "description" => "The description goes here."
));

echo "Your video URI is: " . $uri;
dd($uri);

}
}`

@alejandrofloresm
Copy link

This error is related to the directory where TusPhp\Cache\FileStore.php is pointing to.

I have not found a way to change the value.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants