Hi! i´m using sugarCRM 5.0.0f CE and got this error:
Fatal error: Cannot redeclare class MyTasksDashlet in /opt/sugarcrm-5.0.0f/htdocs/sugarcrm/modules/Tasks/Dashlets/MyTasksDashlet/MyTasksDashlet.php on line 58
in MyTasksDashlet/MyTasksDashlet.php:
Code:require_once('include/Dashlets/DashletGeneric.php'); require_once('modules/Tasks/Task.php'); class MyTasksDashlet extends DashletGeneric { function MyTasksDashlet($id, $def = null) { global $current_user, $app_strings; require('modules/Tasks/Dashlets/MyTasksDashlet/MyTasksDashlet.data.php'); parent::DashletGeneric($id, $def); if(empty($def['title'])) $this->title = translate('LBL_LIST_MY_TASKS', 'Tasks'); $this->searchFields = $dashletData['MyTasksDashlet']['searchFields']; $this->columns = $dashletData['MyTasksDashlet']['columns']; $this->seedBean = new Task(); } } --->>>> line 58 ?>


LinkBack URL
About LinkBacks




Reply With Quote
Bookmarks