Skip to content
Snippets Groups Projects
  1. Aug 24, 2018
  2. Jul 02, 2018
  3. Apr 10, 2017
  4. Nov 24, 2016
  5. Nov 08, 2016
  6. Nov 01, 2016
  7. 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
  8. Jul 26, 2016
  9. Jul 21, 2016
  10. Jul 20, 2016
  11. Jun 10, 2016
  12. Oct 16, 2012
  13. Aug 26, 2012
  14. Aug 25, 2012
  15. May 07, 2012
Loading