AnsweredAssumed Answered

Custom Module Popup Picker fails

Question asked by Jon Sheppard on May 1, 2019
Latest reply on May 1, 2019 by Jon Sheppard

Hello everyone,


I'm hoping someone has run into this issue and can help us get on the right track. I've got a custom module that is working great (Module A). I am trying to add a secondary custom module that is related to the first (Module B). It is very lightweight and is only going to be viewed from a report when selecting filters. Everything on the relationship side looks great, however, when trying to run a report from Module A that filters on Module A > Module B > name, I get a blank popup box where I am expecting a search and select popup. 


No errors are displayed in the SugarCRM logs, but I have found this php error: 


PHP Fatal error:  require_once(): Failed opening required 'modules/ModuleB/.php' (include_path='/var/www/html/900a:/var/www/html/900a/vendor:.:/usr/share/pear7:/usr/share/php7') in /var/www/html/900a/include/Popups/Popup_picker.php on line 42, referer: https://path_to_sugar/index.php?action=ReportCriteriaResults&module=Reports&page=report&id=sc-sample-report-contacts123456


Any advice or thoughts on what is needed to tell Sugar how to make the popup box work for search and select on this field? It's probably good to note also that there is a relate field setup on Module A that allows the user to search and select the correct Module B record which works just fine. 


Any help is appreciated.