-
Notifications
You must be signed in to change notification settings - Fork 29
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
PHP Warning: fclose(): xx is not a valid stream resource #7
Comments
@harikt Hi, this is something I know. The rackspace sdk closes the resource internally. Which is a unexpected side-effect. One should always first check if the resource is still valid before closing. |
Thank you. Just wanted to mention it. Hari K T You can ring me : +91 9388 75 8821 http://harikt.com , https://github.com/harikt , Skype : kthari85 On Fri, May 15, 2015 at 11:59 AM, Frank de Jonge notifications@github.com
|
If I'm correct Amazon S3 SDK does the same. So I think there should be mentioned that about it:
|
I do agree it will be nice to mention it. |
I was making use of the Rackspace adapter via flysytsem .
The code is as below .
I noticed when trying to close it says not a resource.
PHP Warning: fclose(): xx is not a valid stream resource in ...
Wonder whether flysystem at some point is automatically closing the same ?
Good thing is it is sending the data to the Cloud. So the file is already present on both local and server :) .
The text was updated successfully, but these errors were encountered: