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

Unable to create archive #3042

Closed
ghost opened this issue Nov 28, 2019 · 6 comments
Closed

Unable to create archive #3042

ghost opened this issue Nov 28, 2019 · 6 comments
Labels

Comments

@ghost
Copy link

ghost commented Nov 28, 2019

Screenshot from 2019-11-28 10-48-40

Elfinder 2.1.50
Codeigniter with CSRF true. upload and put working fine.

@nao-pon
Copy link
Member

nao-pon commented Dec 3, 2019

@SaiVul Requires a PHP Zip extension or zip command on the server side.

@ghost
Copy link
Author

ghost commented Dec 4, 2019

zip is already running well in my codeigniter application

@TechCatOther
Copy link

It can be solved by changing tmp directory in connector. Problem is hardlinks on zipdl function. This function create hardlink in php folder and absoulite path of file in files folder. If you have file on other devices and elFinder not on same device this error will be show.

Anyway it is not good solution to creating hardlink in php/.tmp folder. We need to move it to files directory to resolve issuse.

@nao-pon
Copy link
Member

nao-pon commented Dec 20, 2019

@SaiVul , @TechCatOther First, try the link function. If it fails, the file pointer is used to copy the contents. Certainly the error is reported only once, but the process should be fine.

There may be bugs that I don't know about. Let me know if you find anything.

@TechCatOther
Copy link

Yep, I fix a bug localy with symlinks archive this. When different device using for files folder and elfinder self link was broken and in archive symlink was copy of files, not symlink self.

I don't know. May be this is not a bug for windows users, but in *nix systems backuping was broken.

@nao-pon
Copy link
Member

nao-pon commented Dec 29, 2019

OK, I've made a fix to make the copying of the file more strict and close it. If you still have the same problem, reopen it or create a new issue.

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

No branches or pull requests

2 participants