Skip to content
Snippets Groups Projects
  1. May 16, 2020
  2. Dec 23, 2019
  3. Dec 20, 2019
  4. Dec 07, 2019
  5. Sep 09, 2019
  6. Feb 14, 2019
  7. Oct 06, 2016
  8. Sep 09, 2016
    • Morris Jobke's avatar
      Opening the trashbin causes errors in log for files without preview · f56ae37e
      Morris Jobke authored
      * put a file without a generated preview in the trashbin
        (e.g. a *.docx file)
      * open the trashbin
      * following errors will show up in the nextcloud.log:
      	- filesize(): stat failed for ...
      	- fopen(...): failed to open stream: No such file or directory at ...
      	- fread() expects parameter 1 to be resource, boolean given at ...
      	- fclose() expects parameter 1 to be resource, boolean given at ...
      	- imagecreatefromstring(): Empty string or invalid image at ...
      
      This is because the preview code tries to load an SVG image, which
      is obviously only text.
      
      The fix simply handles this before the loading happens and the web UI
      keeps showing the default mimetype icon.
      f56ae37e
  9. Jul 26, 2016
  10. Jul 21, 2016
  11. Jul 20, 2016
  12. Jun 10, 2016
  13. Oct 16, 2012
  14. Aug 26, 2012
  15. Aug 25, 2012
  16. May 07, 2012
Loading