I’ve been evaluating Sugar & Suite CRMs. I managed to create custom modules and deploy them in Sugar but when I attempt to do the same in Suite the deploy process just hangs with the circle going round and around. When I try to install the same module via the Module Loader it gets to 23% and then hangs.
There was nothing in the sugarcrm.log but in the /opt/bitnami/apache2/logs/error_log I found this:
[Fri Feb 13 12:45:28.361536 2015] [proxy_fcgi:error] [pid 4371:tid 140148561843968] [client 81.130.202.20:46494] AH01071: Got error ‘PHP message: PHP Fatal error: Call to undefined method UserPreference::updateAllUserPrefs() in /opt/bitnami/apps/suitecrm/htdocs/ModuleInstall/ModuleInstaller.php on line 221\n\x10\x7f>\xe1v\x7f’, referer: http://ec2-54-17-18-41.eu-west-1.compute.amazonaws.com/index.php?module=ModuleBuilder&action=index&type=mb
Its odd because since I last posted I deployed a new bitnami Suitcrm image and tested the module deploy and it worked. I’ve restored my old db and made some other changes in studio to existing modules and now my new module won’t deploy again.
Well in the end I read a post where someone said that the language pack should not overwrite certain folders, one of them containing the UserPreference.php file.
So in the end I just replaced this file with the original version from the installation zip and everything is working again.
Might be a good idea to warn Suite users not to install Sugar language packs as they do cause issues.