Skip to content
Snippets Groups Projects
  1. Feb 07, 2020
  2. Oct 01, 2019
  3. Jan 29, 2019
  4. Jan 28, 2019
  5. Jan 17, 2019
  6. Jan 14, 2019
  7. Jan 11, 2019
  8. Jan 09, 2019
  9. Mar 31, 2017
  10. Nov 23, 2016
  11. Oct 06, 2016
  12. 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
  13. Jul 26, 2016
  14. Jul 21, 2016
  15. Jul 20, 2016
  16. Jun 10, 2016
  17. Oct 16, 2012
  18. Aug 26, 2012
  19. Aug 25, 2012
  20. May 07, 2012
Loading