I could use some help with the following problem on a brand new installation:
SugarCRM
-----------------------------------
Sugar Version 5.5.0 (Build 6653)
Sugar Community Edition
Client Environment
-----------------------------------
Operating System: XP Pro / Chrome
Hosting Environment
-----------------------------------
Apache: 1.3.41
MySQL 5.0.67
PHP: 5.2.3
Zend Optimizer: 3.3.3
Steps to reproduce
-----------------------------------
1. Go to [Employees] in the top right nav
2. Click on [Create Employee] or click on any employee to see detail view
3. Error appears
Error message
-----------------------------------
Fatal error: Call to undefined function getEmployeeStatusOptions() in /home/mproa/public_html/crm/include/EditView/EditView2.php on line 369
Can still see the tabs and the left nav but only the error message in the main area.
Code section in EditView2.php ("<<" indicates line 369)
-----------------------------------
PHP Code:if(!empty($this->fieldDefs[$name]['function']['returns']) && $this->fieldDefs[$name]['function']['returns'] == 'html'){
if(!empty($this->fieldDefs[$name]['function']['include'])){
require_once($this->fieldDefs[$name]['function']['include']);
}
$value = $function($this->focus, $name, $value, $this->view); // << LINE 369
$valueFormatted = true;
}else{
$this->fieldDefs[$name]['options'] = $function($this->focus, $name, $value, $this->view);
}


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks