Announcement

Collapse
No announcement yet.

Template Compiler error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Template Compiler error

    Hello.

    I'm having an issue with email reminders. I don't get them. My SMTP credentials are correct and I've tested no issues. But when I place a task in the calendar and set it to email notification reminder within a set time, I don't receive the emails.

    I checked the error log and this is what it says, but I don't know if it is related to my issue.

    [2024-06-13 03:30:03] WARNING: E_WARNING: file_put_contents(/tmp/lci_kZPrEi): Failed to open stream: Operation not permitted {"code":2,"message":"file_put_contents(/tmp/lci_kZPrEi): Failed to open stream: Operation not permitted","file":"/home/xxxx/crm.xxxx.com/vendor/zordius/lightncandy/src/LightnCandy.php","line":152}
    [2024-06-13 03:30:03] ERROR: Email reminder '666a4db22fdd1b95a': Template compile error.

    Please help to resolve my email reminder issue.

    Thank you.​

  • #2
    You can check and modify the permissions using the following commands

    ls -ld /tmp sudo chmod 1777 /tmp

    Comment


    • goldstrikn
      goldstrikn commented
      Editing a comment
      Thanks. I tried that, but it didn't work. I went to my VPS provider and said that for security reasons you cannot write to the /tmp directory. Their advice is to modify the script so that it generates it in a temporary directory of user. Can you help with this?

  • #3
    What is the version of EspoCRM being used?​

    Comment


    • goldstrikn
      goldstrikn commented
      Editing a comment
      EspoCRM 8.2.5

  • #4
    Do you use a workflow or a bpm to receive emails?

    Comment


    • goldstrikn
      goldstrikn commented
      Editing a comment
      No workflow at the moment. I'm just trying out the software and making sure that things work. What solution can it be done? I appreciate your help.

  • #5
    Is there a solution to get the email reminder to work on my server? I greatly appreciate advice to get it to work.

    Comment


    • #6
      Can the lightncandy/src/LightnCandy.php file be modified to direct it to path to a temp folder that is not root?

      Comment

      Working...
      X