I had a SuiteCRM installation that our volunteer group uses that has been perfectly functional for about a month or so.
Today, I edited config_override.php to add this line: $sugar_config[ârequire_accountsâ] = false;
I did this as per: https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_7.9/User_Interface/Views/Removing_the_Account_Requirement_on_Opportunities/
After doing that, all pages of the CRM started showing this error in the browser:
No valid themes are found on this instance
Suite CRM Log:
Sat Mar 23 18:01:16 2019 [44][-none-][FATAL] availableThemes() is returning an empty array! Check disabled_themes in config.php and config_override.php
Apache Error Log:
[Sat Mar 23 18:01:16.601039 2019] [php7:notice] [pid 44] [client 207.107.125.202:52452] PHP Fatal error: Uncaught Exception: No valid themes are found on this instance in /home/admin/web/ww-crm.mysite.com/public_html/include/utils.php:1777\nStack trace:\n#0 /home/admin/web/ww-crm.mysite.com/public_html/include/SugarTheme/SugarThemeRegistry.php(268): sugar_die('No valid themes...')\n#1 /home/admin/web/ww-crm.mysite.com/public_html/include/SugarTheme/SugarThemeRegistry.php(151): SugarThemeRegistry::buildRegistry()\n#2 /home/admin/web/ww-crm.mysite.com/public_html/include/language/en_us.lang.php(1180): SugarThemeRegistry::current()\n#3 /home/admin/web/ww-crm.mysite.com/public_html/include/utils.php(1085): include('/home/admin/web...')\n#4 /home/admin/web/ww-crm.mysite.com/public_html/include/MVC/SugarApplication.php(355): return_application_language('en_us')\n#5 /home/admin/web/ww-crm.mysite.com/public_html/include/entryPoint.php(173): SugarApplication::preLoadLanguages()\n#6 /home/admin/web/ww-crm.mysite.com/public_html/index.php(47): require_once('/h in /home/admin/web/ww-crm.mysite.com/public_html/include/utils.php on line 1777
To debug I have:
- Confirmed none of the disabled theme lines are present in the necessary config files
- Restarted the entire server (DigitalOcean VPS)
- Copied a fresh copy of the âutilâ file to the server that the one error mentions
- Copied a fresh copy of the SuiteP theme directory to the server
- Completely reverted my change in config_override.php - didnât fix it either
Iâm not overly savvy on the developer front, and unfortunately am in over my head with what to do next at this point! In the meantime, our CRM remains down.