Skip to content
Snippets Groups Projects
  1. Apr 29, 2020
  2. Apr 09, 2020
  3. Dec 05, 2019
  4. Apr 12, 2018
  5. 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
  6. Jul 26, 2016
  7. Jul 21, 2016
  8. Jul 20, 2016
  9. Jun 10, 2016
  10. Oct 16, 2012
  11. Aug 26, 2012
  12. Aug 25, 2012
  13. May 07, 2012
Loading