Skip to content

Issue #3226901 by chmez: Log-file location

Problem

Try to create a log file in the read-only file system on some hostings.

Solution

Use directory for tokens file.

Issue tracker

How to test

  • Deploy site on the Platform.sh hosting.
  • When you fill in fields on the "Zoho CRM Integration Settings" page and press "Save configuration" then you should see the following error:

Warning: fopen(/app/ZCRMClientLibrary.log): failed to open stream: Read-only file system in zcrmsdk\crm\utility\Logger::writeToFile() (line 19 of /app/vendor/zohocrm/php-sdk-archive/src/crm/utility/Logger.php).

Edited by Oleksandr Horbatiuk

Merge request reports