Closed matze1708 closed 2 years ago
Sounds like an issue with the SftpAdapter and not this package
Thanks for your answer.
The sftpadapter was my first idea.
i tried it, without laravel excel an dd the content, it works on production server.
but with code above, o became this error.
That was the reason why I suspected laravel-excel, or the handling with the local filesystem.
We don't do anything special, we just call readStream
on the file we expect to exist.
Ok thanks,
I have additional thought. It creates the temp file in the storage folder but does not write any content to it.
Thanks
Edit: and one additional thought, too... The export to the same direction (sftp) works well.
This bug report has been automatically closed because it has not had recent activity. If this is still an active bug, please comment to reopen. Thank you for your contributions.
Is the bug applicable and reproducable to the latest version of the package and hasn't it been reported before?
What version of Laravel Excel are you using?
3.1.40
What version of Laravel are you using?
8.83.7
What version of PHP are you using?
7.4
Describe your issue
Hi i use a Windows Server 2019 with IIS 10 Larvale it selve works fine. But my Import from Disk Laravel gave me this error:
rewind() expects parameter 1 to be resource, bool given
i figure out it is a permission failure. I tried to change the permission on storage folder to Full Access on IIS user. But i got still the same issue. I tried to change a fastcgi setting in php.ini, but still the same error.On my Dev System, it works fine. But on the Production Server i got this error.
Code:
My laravel log:
How can the issue be reproduced?
.
What should be the expected behaviour?
.