I installed the v0.3,but when I go to charts,it's show the error message like the att.picture
Sombody can tell why?
Sombody can tell why?
I try to install it,and when i went to charts tabs,Now I got one new error message
''
Fatal error: Call to a member function getProjectPermission() on a non-object in D:\WWWROOT\activecollab\application\modules\milestones\models\Milestones.class.php on line 48
''
Somebody can help me?
''
Fatal error: Call to a member function getProjectPermission() on a non-object in D:\WWWROOT\activecollab\application\modules\milestones\models\Milestones.class.php on line 48
''
Somebody can help me?
tblakemore
on Jul 30. 2008. 6:33 pm
I'm getting a similar error but and would be interested in seeing an update to this module as well, I've done some preliminary digging in the code, but I don't' have the experience with AC to know how things are put together yet.
Thanks in advance.
-Todd
Thanks in advance.
-Todd
Fatal error: Call to a member function getProjectPermission() on a non-object in /var/www/vhosts/demo/subdomains/projects/httpdocs/activecollab/application/modules/milestones/models/Milestones.class.php on line 48
Adam Michel
on Aug 10. 2008. 12:17 am
Is this module still under development? My management would love to see Gantt chart functionality.
Adam Michel
Unix Systems Programmer
University of Arizona
Unix Systems Programmer
University of Arizona
I already find the problem point
please compare the follow lines in file on_project_tab.php :
General or Other Version:
Changed:
So You can see the function charts_handle_on_project_tabs's pramaters difference,the working pramaters includes three "$tabs,$logged_user,$project"
Enjoy it!
please compare the follow lines in file on_project_tab.php :
General or Other Version:
function charts_handle_on_project_tabs(&$tabs, &$project) {
$tabs->add('charts', array(
'text' => lang('Charts'),
'url' => charts_module_url($project),
));
} // files_handle_on_project_tabsChanged:
function charts_handle_on_project_tabs(&$tabs,&$logged_user,&$project) {
if($logged_user->getProjectPermission('charts',$project) >= PROJECT_PERMISSION_ACCESS) {
$tabs->add('charts', array(
'text' => lang('GanttCharts'),
'url' => charts_module_url($project),
));
}
} // files_handle_on_project_tabsSo You can see the function charts_handle_on_project_tabs's pramaters difference,the working pramaters includes three "$tabs,$logged_user,$project"
Enjoy it!



