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

#1750 - Strange behavior when setting enabled modules

Closed Bug? created by Business Fundamentals 5 years ago

SuiteCRM 7.10.11 LAMP stack PHP 7.0.33

Hi I've recently installed and configured your module for a client and am having some problems when enabling modules that the component should be accessible in. It appears to be NOT using the settings configured and in fact is enabled in ALL modules. It also appears to be overriding other custom menu entries that are configured in custom/modules/~/detailviewdefs.php files, though I haven't yet done an indepth troubleshooting investigation into that problem.

I have checked the config and config_override files and they are mirroring the settings I have implemented via your Admin interface, however, as mentioned the Generate Document Action is available in ALL modules, images below. I have also noticed that at times I will go back to your Admin config menu and find that the Enabled Modules side of the interface is EMPTY. I'll re-enable Leads, Contacts and Accounts, save the config. Go back into it and it is empty, however the config and config_override files still appear to have the correct entries -

I have checked my log files and ensured that all permissions are set correctly as per https://suitecrm.com/suitecrm/forum/installation-upgrade-help/159-default-permissions-for-suitecrm - there are a large number of entries in my logs, albeit only warnings, some of them are listed here. Any assistance greatly appreciated

LOG FILES Got error 'PHP message: PHP Warning: Declaration of DHA_PlantillasDocumentos::populateFromRow(array $row, $convert = false) should be compatible with SugarBean::populateFromRow($row) in /public_html/modules/DHA_PlantillasDocumentos/DHA_PlantillasDocumentos.php on line 6\n', referer: https://mysite/index.php?action=ajaxui

[Thu Feb 07 18:31:20.166899 2019] [proxy_fcgi:error] [pid 30325:tid 140627412997888] [client 115.69.171.154:34238] AH01071: Got error 'PHP message: PHP Warning: Declaration of DHA_PlantillasDocumentos::populateFromRow(array $row, $convert = false) should be compatible with SugarBean::populateFromRow($row) in /public_html/modules/DHA_PlantillasDocumentos/DHA_PlantillasDocumentos.php on line 6\nPHP message: PHP Warning: Declaration of SugarWidgetSubPanelEditRoleButton::displayList($layout_def) should be compatible with SugarWidgetField::displayList(&$layout_def) in /public_html/include/generic/SugarWidgets/SugarWidgetSubPanelEditRoleButton.php on line 0\n', referer: https://mysite/index.php?action=ajaxui

[Fri Feb 08 09:03:59.086048 2019] [proxy_fcgi:error] [pid 30325:tid 140627471746816] [client 115.69.171.154:40890] AH01071: Got error 'PHP message: PHP Warning: Declaration of DHA_PlantillasDocumentos::populateFromRow(array $row, $convert = false) should be compatible with SugarBean::populateFromRow($row) in /public_html/modules/DHA_PlantillasDocumentos/DHA_PlantillasDocumentos.php on line 6\n', referer: https://mysite/index.php?action=Login&module=Users&login_module=ProspectLists&login_action=index

below is your section from my config.php file and some images of menu contents

'DHA_templates_historical_enabled_modules' => array ( 'DHA_PlantillasDocumentos' => false, 'Accounts' => true, 'Bugs' => false, 'Calls' => false, 'Campaigns' => false, 'Cases' => false, 'Contacts' => true, 'AOS_Contracts' => false, 'Documents' => false, 'EmailTemplates' => false, 'Employees' => false, 'FP_events' => false, 'AOS_Invoices' => false, 'AOK_Knowledge_Base_Categories' => false, 'AOK_KnowledgeBase' => false, 'Leads' => true, 'AOS_Products_Quotes' => false, 'FP_Event_Locations' => false, 'jjwg_Maps' => false, 'jjwg_Address_Cache' => false, 'jjwg_Areas' => false, 'jjwg_Markers' => false, 'Meetings' => false, 'Notes' => false, 'Opportunities' => false, 'OutboundEmailAccounts' => false, 'AOS_PDF_Templates' => false, 'AOS_Products' => false, 'AOS_Product_Categories' => false, 'Project' => false, 'AM_ProjectTemplates' => false, 'ProjectTask' => false, 'AM_TaskTemplates' => false, 'AOS_Quotes' => false, 'AOR_Reports' => false, 'AOR_Scheduled_Reports' => false, 'SecurityGroups' => false, 'Spots' => false, 'SurveyQuestionOptions' => false, 'SurveyQuestionResponses' => false, 'SurveyQuestions' => false, 'SurveyResponses' => false, 'Surveys' => false, 'Prospects' => false, 'ProspectLists' => false, 'Tasks' => false, 'Users' => false, ),

PRODUCTS MODULE gen_document1.jpg

ENABLED MODULES gen_document2.jpg

  1. MartyP member avatar

    Business Fundamentals

    5 years ago

    Downloaded/installed your latest version and it appears to have fixed the problem, Generate Document is now only available on modules that are defined in your Admin config section and the other, custom menu entries are now visible - consider closed

  2. dharma member avatar

    Izertis Provider

    5 years ago

    Hi,

    Yes, this problem was solved in v2.5.14. Please, check this issue https://store.suitecrm.com/support/mail-merge-reports/1651. However, 'DHA_templates_historical_enabled_modules' param is used only when the component is reinstalled. Check also this issue for more explanation : https://store.suitecrm.com/support/mail-merge-reports/1704

    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