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

Torrent download fails #11

Closed
rickfo97 opened this issue Dec 11, 2017 · 2 comments
Closed

Torrent download fails #11

rickfo97 opened this issue Dec 11, 2017 · 2 comments
Assignees

Comments

@rickfo97
Copy link

  • Laravel Version: 5.4.*
  • PHP Version: 7.0.22-0
  • Database Driver & Version: mysql 5.7.20-0

Description:

If "public/files/tmp/" doesn't exist the download fails with file not found.

Steps To Reproduce:

Have fresh install.
Upload torrent.
Try to download torrent from "[url]/download_check/slug.id"

Possible Fix:

Have "public/flies/tmp" from install or add:

if(!file_exists(getcwd() . '/files/tmp'))
            mkdir(getcwd() . '/files/tmp');

before the download.

@ghost ghost added the Bug label Dec 11, 2017
@HDVinnie
Copy link
Collaborator

/public/files

is indeed missing the img , temp and torrents directories

@cbj4074
Copy link
Contributor

cbj4074 commented Dec 11, 2017

Resolved via 21870c9 and f52af5f .

@cbj4074 cbj4074 closed this as completed Dec 11, 2017
@HDVinnie HDVinnie added the Fixed label Dec 11, 2017
HDVinnie pushed a commit that referenced this issue Feb 5, 2018
@gmunday2 gmunday2 mentioned this issue Jul 27, 2020
@K4Li K4Li mentioned this issue Nov 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants