kucerar
30-06-05, 06:59 AM
Info on getting Gantt chart to work:
The only thing right now that appears consistently broken is when there is no projects or tasks for a subcategory in the overall Gantt tab, and you view the “Show All” chart, you get a broken image. That’s a bug in dotproject, it should show an empty table like it does for the “Show Month” view.
Technical notes
Reinstalled with PHP4 doing both the install and running it, and made similar locale hacks (to PHP source) as before.
Intermittent broken charts indicated page memory limit problems. Made new memory_limit hacks in PHP source (it was setting the page limit to 8meg, the forums say go in and change php.ini to 64meg page limit, even if you did change php.ini (which I did), this page goes and sets it back to 8meg for you. Rewrote line to ini_set(‘memory_limit’, 64*1024*1024);
Since the demo on DP site worked, took a mostly “see if it works somewhere else” approach, doing a MySQL dump and loading the site on PC windows box on a fresh install—it worked. Got rid of broken linux install and did fresh install with PHP4 enabled and doing the install. Just left existing data in place.
The out-of-the-box reinstall fixed the overall Gantt, but broke the task-level gantt. The hacks addressed the task-level gantts.
All hacks saved separately for future reuse: tasks/gantt.php, tasks/viewgantt.php, projects/viewgantt.php
Had to re-add “Project Worker” role to all users to get them to appear active again. The re-install still must have gone in and reset some data, even though I told it not to.
HTH
The only thing right now that appears consistently broken is when there is no projects or tasks for a subcategory in the overall Gantt tab, and you view the “Show All” chart, you get a broken image. That’s a bug in dotproject, it should show an empty table like it does for the “Show Month” view.
Technical notes
Reinstalled with PHP4 doing both the install and running it, and made similar locale hacks (to PHP source) as before.
Intermittent broken charts indicated page memory limit problems. Made new memory_limit hacks in PHP source (it was setting the page limit to 8meg, the forums say go in and change php.ini to 64meg page limit, even if you did change php.ini (which I did), this page goes and sets it back to 8meg for you. Rewrote line to ini_set(‘memory_limit’, 64*1024*1024);
Since the demo on DP site worked, took a mostly “see if it works somewhere else” approach, doing a MySQL dump and loading the site on PC windows box on a fresh install—it worked. Got rid of broken linux install and did fresh install with PHP4 enabled and doing the install. Just left existing data in place.
The out-of-the-box reinstall fixed the overall Gantt, but broke the task-level gantt. The hacks addressed the task-level gantts.
All hacks saved separately for future reuse: tasks/gantt.php, tasks/viewgantt.php, projects/viewgantt.php
Had to re-add “Project Worker” role to all users to get them to appear active again. The re-install still must have gone in and reset some data, even though I told it not to.
HTH