HI again.
Now i´m starting to have some issues with the gantt view in projects
I have created a project directly, not from a template, and then just added some tasks.
If i try to go to the gantt view i just get a page with no content and some errors in the logs
My sistem is
Local system with Ubuntu 16.04
PHP 5.6.30-11
Mysql - Ver 14.14 Distrib 5.7.18, for Linux (x86_64) using EditLine wrapper
Suitecrmlog
Thu Jun 8 11:28:35 2017 [22669][8c71443d-da30-636c-68a9-58f8681bb69a][FATAL] Exception handling in /var/www/html/suitecrm/include/MVC/Controller/SugarController.php:367
Thu Jun 8 11:28:35 2017 [22669][8c71443d-da30-636c-68a9-58f8681bb69a][FATAL] Exception in Controller: Error al recuperar registro. Este registro puede haber sido eliminado o puede que no esté autorizado para verlo.
Thu Jun 8 11:28:35 2017 [22669][8c71443d-da30-636c-68a9-58f8681bb69a][FATAL] backtrace:
#0 /var/www/html/suitecrm/include/MVC/View/views/view.detail.php(101): sugar_die(‘Error al recupe…’)
#1 /var/www/html/suitecrm/modules/Project/views/view.ganttchart.php(78): ViewDetail->display()
#2 /var/www/html/suitecrm/include/MVC/View/SugarView.php(199): ProjectViewGanttChart->display()
#3 /var/www/html/suitecrm/include/MVC/Controller/SugarController.php(399): SugarView->process()
#4 /var/www/html/suitecrm/include/MVC/Controller/SugarController.php(336): SugarController->processView()
#5 /var/www/html/suitecrm/include/MVC/SugarApplication.php(105): SugarController->execute()
#6 /var/www/html/suitecrm/index.php(52): SugarApplication->execute()
#7 {main}
In the spanish part it says that the record could be delted or has no access to read it.
The Id shown is the ID of my user
error.log
[Thu Jun 08 11:32:48.885164 2017] [:error] [pid 22672] [client 192.168.1.30:55785] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/suitecrm/modules/Project/controller.php on line 283, referer: http://192.168.1.5/suitecrm/index.php?module=Project&action=view_GanttChart&project_id=6bc5dd3a-9c30-e7fe-7703-5937bac24118
[Thu Jun 08 11:32:48.885199 2017] [:error] [pid 22672] [client 192.168.1.30:55785] PHP Stack trace:, referer: http://192.168.1.5/suitecrm/index.php?module=Project&action=view_GanttChart&project_id=6bc5dd3a-9c30-e7fe-7703-5937bac24118
[Thu Jun 08 11:32:48.885211 2017] [:error] [pid 22672] [client 192.168.1.30:55785] PHP 1. {main}() /var/www/html/suitecrm/index.php:0, referer: http://192.168.1.5/suitecrm/index.php?module=Project&action=view_GanttChart&project_id=6bc5dd3a-9c30-e7fe-7703-5937bac24118
[Thu Jun 08 11:32:48.885221 2017] [:error] [pid 22672] [client 192.168.1.30:55785] PHP 2. SugarApplication->execute() /var/www/html/suitecrm/index.php:52, referer: http://192.168.1.5/suitecrm/index.php?module=Project&action=view_GanttChart&project_id=6bc5dd3a-9c30-e7fe-7703-5937bac24118
[Thu Jun 08 11:32:48.885229 2017] [:error] [pid 22672] [client 192.168.1.30:55785] PHP 3. SugarController->execute() /var/www/html/suitecrm/include/MVC/SugarApplication.php:105, referer: http://192.168.1.5/suitecrm/index.php?module=Project&action=view_GanttChart&project_id=6bc5dd3a-9c30-e7fe-7703-5937bac24118
[Thu Jun 08 11:32:48.885237 2017] [:error] [pid 22672] [client 192.168.1.30:55785] PHP 4. SugarController->process() /var/www/html/suitecrm/include/MVC/Controller/SugarController.php:333, referer: http://192.168.1.5/suitecrm/index.php?module=Project&action=view_GanttChart&project_id=6bc5dd3a-9c30-e7fe-7703-5937bac24118
[Thu Jun 08 11:32:48.885263 2017] [:error] [pid 22672] [client 192.168.1.30:55785] PHP 5. SugarController->handle_action() /var/www/html/suitecrm/include/MVC/Controller/SugarController.php:430, referer: http://192.168.1.5/suitecrm/index.php?module=Project&action=view_GanttChart&project_id=6bc5dd3a-9c30-e7fe-7703-5937bac24118
[Thu Jun 08 11:32:48.885271 2017] [:error] [pid 22672] [client 192.168.1.30:55785] PHP 6. SugarController->do_action() /var/www/html/suitecrm/include/MVC/Controller/SugarController.php:455, referer: http://192.168.1.5/suitecrm/index.php?module=Project&action=view_GanttChart&project_id=6bc5dd3a-9c30-e7fe-7703-5937bac24118
[Thu Jun 08 11:32:48.885279 2017] [:error] [pid 22672] [client 192.168.1.30:55785] PHP 7. ProjectController->action_get_predecessors() /var/www/html/suitecrm/include/MVC/Controller/SugarController.php:482, referer: http://192.168.1.5/suitecrm/index.php?module=Project&action=view_GanttChart&project_id=6bc5dd3a-9c30-e7fe-7703-5937bac24118
I have executed repair and rebuild and the vardefs are in sync.
Also hace setted the permissions again.
Any ide what could be happening?
Thanks for your help!