
Originally Posted by
gisse
Hi,
I'm a newbie here and am having trouble with Flex Relate.
I recently added a flex relate field in a custom module search page but it doesn't work when I try to use it to search other custom modules that are related to it. The relationships are there and the field works fine with standard modules; such as contacts and accounts, but not the custom modules.
To get the custom modules to appear in the flex relate list I added their names to the following dropdown lists:
- parent_type_display
- record_type_display
- record_type_display_notes
This is the error that appears in the display results when i try to search:
Warning: require_once(/usr/local/apache2/htdocs) [function.require-once]: failed to open stream: No such file or directory in /usr/local/apache2/htdocs/data/SugarBean.php on line 3210
Fatal error: require_once() [function.require]: Failed opening required '' (include_path='/usr/local/apache2/htdocs:/usr/local/apache2/htdocs/include/..:.:../PEAR-1.1') in /usr/local/apache2/htdocs/data/SugarBean.php on line 3210
here is the code at line 3210 of SugarBean.php:
global $beanFiles, $beanList, $module;
require_once($beanFiles[$beanList[$joinModule]]);
$rel_mod = new $beanList[$joinModule]();
$nameField = "$joinTableAlias.name";
if (isset($rel_mod->field_defs['name']))
Does anyone have any idea what I'm missing?
Thanks in advance for your help.
Bookmarks