Skip to content
English
  • There are no suggestions because the search field is empty.

Shared Office files unavailable for preview despite granted view-only access.

Original Question or Issue:

Shared Office files unavailable for preview despite granted view-only access. 


Environment:

  • Product - FileCloud Server
  • Version - Any
  • Platform - Any

Steps to Reproduce:

 


Error or Log Message:

Preview Failed: The share configuration does not allow preview-download permission is not enabled 

 


Defect or Enhancement Number:

 


Cause:

The preview service cannot process the Office file because it exceeds the maximum supported file size. 


Resolution or Workaround:

Update cloudconfig.php at the following locations:

  • Windows: XAMPP_DIRECTORY/htdocs/config/cloudconfig.php
  • Linux: /var/www/config/cloudconfig.php

Add the following line:

define("TONIDOCLOUD_DOCPREVIEW_SIZELIMIT", "20485760"); // 20MB

Increase the configured value as needed based on file size requirements.


Notes: