Forum

ticket reports prob...
 
Notifications
Retirer tout

ticket reports problem

12 Posts
3 Utilisateurs
0 Reactions
10.9 {numéro}K Vu
Evgueni Kolossov
(@ekolossov)
Posts: 566
Contributor
Début du sujet
 
[#547]

I am getting errors for year reports:
Fatal error: Call to undefined function imageftbbox() in /var/www/localhost/htdocs/projectorria/external/pChart/pChart.class on line 556
Fatal error: Call to undefined function imageftbbox() in /var/www/localhost/htdocs/projectorria/external/pChart/pChart.class on line 1044
Regards,
Evgueni


 
Posté : 8 Juin PM 15:066
(@babynus)
Posts: 14952
Membre Admin
 

What is the exact name of reports generating the anomaly ?


 
Posté : 8 Juin PM 16:066
(@babynus)
Posts: 14952
Membre Admin
 

Could you check this and report whether GD is installed on your server and in what version?


 
Posté : 8 Juin PM 16:066
Evgueni Kolossov
(@ekolossov)
Posts: 566
Contributor
Début du sujet
 

error 1: tickets->yearly report for tickets
error 2: tickets->report for opened tickets - yearly


 
Posté : 8 Juin PM 16:066
Evgueni Kolossov
(@ekolossov)
Posts: 566
Contributor
Début du sujet
 

We have done complete GD install (2.460.0) and it still the same


 
Posté : 8 Juin PM 16:066
(@babynus)
Posts: 14952
Membre Admin
 

Ok, this confirms that it concernes reports with graphs.
This must also be produced on the same "monthly" reports.

Two ways to fix :
1) Check you GD librairy, version installed and status of installation.
Graph generation uses pChart, and pChart requires the GD and FreeType PHP extensions to be installed on your web server. This is an important prerequiste that can't be overrided.

2) update /report/header.php, from line 32, from :

$graphEnabled=true;
if (! function_exists('ImagePng')) {
  $graphEnabled=false;
  errorLog("GD Library not enabled - impossible to draw charts");
}

to

$graphEnabled=true;
if (! function_exists('ImagePng')) {
  $graphEnabled=false;
  errorLog("GD Library not enabled - impossible to draw charts");
}
if (! function_exists('imageftbbox')) {
  $graphEnabled=false;
  errorLog("GD Library version incorrect or not correctly installed - impossible to draw charts");
}

 
Posté : 8 Juin PM 16:066
Evgueni Kolossov
(@ekolossov)
Posts: 566
Contributor
Début du sujet
 

Thanks - problem been with FreeType PHP extensions. Now it works!


 
Posté : 8 Juin PM 17:066
(@benoit)
Posts: 13
Active Member
 

Hello EveryBody,

Sorry I'm not sure my question is in the best TOPIC, but i don't find a topic about this question :

I just tested V2.2.3, and now impossible to see a complet planning with all project, is it normal, please ?

Thank you for your help

Best regards


 
Posté : 14 Juin PM 13:066
(@babynus)
Posts: 14952
Membre Admin
 

Sorry I'm not sure my question is in the best TOPIC, but i don't find a topic about this question

You're right ! 🙂
it's not the good topic. :angry:

I just tested V2.2.3, and now impossible to see a complet planning with all project, is it normal, please ?

The answer to your question is : 42.
but maybe you did not understand the question 😛
(I didn't) 🙁 .

I cannot analysis issues of kind : it seems it does not work.
Please detail your uses case.


 
Posté : 14 Juin PM 14:066
(@benoit)
Posts: 13
Active Member
 

Sorry, I don't understand :

The answer to your question is : 42.

I try to explain my question :

In version V2.1.1, when you go in "Planning" sheet , you can see all projects
Now in version V2.2.3, when you go in "Planning" sheet, you recieved an alert : "Please choose a project".

Is it possible to have the same as V2.1.1 in this sheet, please ?

(Sorry for my english, I'm french :()

Best regards,


 
Posté : 14 Juin PM 15:066
Evgueni Kolossov
(@ekolossov)
Posts: 566
Contributor
Début du sujet
 

No, no, no - we are not going to wait forever until Gantt chart loaded. If you want all the projects, you can make them subprojects of the one and in this case you will see all the subprojects on the same Gantt chart...


 
Posté : 14 Juin PM 15:066
(@babynus)
Posts: 14952
Membre Admin
 

Sorry, I don't understand :

The answer to your question is : 42.

Read Douglas Adams !
(sorry, private joke) 😆

In version V2.1.1, when you go in "Planning" sheet , you can see all projects
Now in version V2.2.3, when you go in "Planning" sheet, you recieved an alert : "Please choose a project".

this is a performance improvement since V2.2.
If you have visibility to all projects (admin profile) and there are more than "maxProjectsToDisplay" projects in your database, then the blocking you get appears.
It just invites you to select a project in the project selector, to limit visibility.
This way, you will avoid trying to display thouthands of items, and crach your server.
You can also increase the maxProjectsToDisplay in the parameter table to avoid this blocking...

Sorry for my english, I'm french

So am I. Cannot be healed. Sorry. 😛


 
Posté : 14 Juin PM 15:066
Share:
Retour en haut