by Izertis

Create documents in docx, xlsx (MS Office Word and Excel), odt, ods (LibreOffice and OpenOffice) and pdf format without MS Office or others plugins installed from any module and subpanel using templates.

Includes a 30 day guarantee
Try it Now

#1666 - Templates default language cannot be saved in Mail Merge Reports Config interface.

Closed Bug? created by Specialvideo Verified Purchase 5 years ago

I have the latest LTS Suite CRM Version 7.8.23 and the latest Mail Merge version 2.5.14.

When I go to Mail Merge Reports Config interface in the Admin module:

1) I set "Templates default language" = italian and Save. It does not save: the value remains "bulgarian" that I see as default value.

2) If I had some Enabled module, when I try to change the "Templates default language" and Save, the Enabled modules disappear.

I checked my config_override.php and found out that the installation did not write the $sugar_config['DHA_templates_default_lang']

With reference to the provided README.txt, paragraph "Config Variables":

"""
// **************************************//
// Config Variables                      //
// **************************************//

The following config variables will be created in config_override.php after install (you can go to config interface in Administration module to modify them):

  - $sugar_config['DHA_templates_default_lang']
      Default language for templates. It will affect to dates, numbers and boolean fields format. See Languages section for available options
"""   

Please help. Best Regards

  1. dharma member avatar

    Izertis Provider

    5 years ago

    Hi,

    This must be a typical file permission error. Please check the permissions and owner of the config_override.php file, and check if the user the server is running with has enough permissions to write to it.

    As a test, change config_override.php permissions to give it full permissions, with the command

    chmod 777 config_override.php
    

    This consideration of permissions must also be done with the directory in which the generated document templates are stored, that is, the directory configured in $sugar_config['DHA_templates_dir']. You should also check the permissions of that directory.

    This type of permission errors are not the usual, and usually happen due to a bad configuration of the permissions in the installation of the crm. You must take into account which user the server is running with, and which permissions the files and directories of the crm will require.

    See also the section "Troubleshooting" in the README.txt. In this section we talk about how to solve permission problems.

    If you want to manually assign the values in config_override.php, an example could be the following:


    $sugar_config['DHA_templates_default_lang'] = 'it_IT'; $sugar_config['DHA_templates_dir'] = 'document_templates/'; $sugar_config['DHA_OpenOffice_exe'] = '/usr/lib/libreoffice/program/soffice'; $sugar_config['DHA_OpenOffice_cde'] = ''; $sugar_config['DHA_OpenOffice_HOME'] = '/tmp';

    Regards

This case is public. Please leave out any sensitive information such as URLs, passwords, etc.
Saving Comment Saving Comment...
Rating
  • "It has improved our processes so much! Admin cut in half! We send a webform to clients to sign up straight into CRM then generate and print their paperwork to sign."

    Read More Reviews