There was a problem loading the comments.

WebDRM preview fails

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

Original Question

or Issue:

I shared a file via the secure web viewer link but it doesn't show up when the recipient opens the file.

Environment:

  • Product - FileCloud server
  • Version - 23.241
  • Platform - Windows
Steps to Reproduce:

Sharing a pdf, MS word or an image using the option "Allow anyone with secure Web Link".

Error or Log Message:

Failed to decode token.

Defect or

Enhancement Number:

CL-15986
Cause:

The location of PHP used for token verification was hard-coded to C:\xampp\php

Resolution or

Workaround:

Beginning with FileCloud release 23.242 the PHP path is configurable, now it can easily be changed to match customers environment:

  • Connect to the FileCloud web nodes and locate the drive where xampp directory is installed.
  • xampp was found under E drive, so navigate to folder E:\xampp\webdrm
  • Create a file named .env under the above directory.
  • Edit the file and add the line: FCWD_PHP_EXECUTABLE=E:/xampp/php/php.exe
  • Restart the WebDRM service from the FileCloud Control Panel.
Notes:   

Share via

Related Articles


Self-Hosted Help Desk Software by SupportPal
© FileCloud