View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - [SOLVED] Error generating document with templateReport - ProjeQtOr

Prochaines sessions de formation

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)

Mardi 23 avril (10h30-12h)

Jeudi 16 mai (16h-17h30)

Jeudi 13 juin (10h30-12h)

 
 

Planifiez avec ProjeQtOr

3 et 4 avril (9h - 12h30)

 
 

Administrez avec ProjeQtOr

10 et 11 avril (9h - 12h30)

 

 

 
 

[SOLVED] Error generating document with templateReport

More
03 Mai 2021 10:03 #1 by BrunoF782
hello,

we are using the plug-in templateReport (v2.2) and just installed the last version of projeqtor (v9.1.3). When generating a document with the template report



nothing happened (everything was fine before) and the log is : 

2021-05-03 09:55:14.312 ***** ERROR ***** [V9.1.3] EXCEPTION *****
2021-05-03 09:55:14.312 ***** ERROR ***** [V9.1.3] on file '/var/www/projeqtor/view/print.php' at line (146)
2021-05-03 09:55:14.312 ***** ERROR ***** [V9.1.3] cause = Call to undefined method TemplateReport::getOutputFileName() 

Thanks for your help.
Attachments:

Please Connexion or Create an account to join the conversation.

More
03 Mai 2021 12:33 #2 by babynus
Hi,

Best is to migrate to new version of plugin.
This version is adapted to new V9.0 GUI.

Other solution is to change line 149 in view/print.php from
$tmpName=$tmp->getOutputFileName($obj);
to
$tmpName=(method_exists($tmp, getOutputFileName))?$tmp->getOutputFileName($obj):null;
This fix will be included in patch V9.1.4.

Babynus
Administrator of ProjeQtOr web site
The following user(s) said Thank You: BrunoF782

Please Connexion or Create an account to join the conversation.

More
05 Mai 2021 12:02 #3 by BrunoF782
Thanks it's working fine with the last version.

Please Connexion or Create an account to join the conversation.

More
09 Aoû 2021 09:20 - 09 Aoû 2021 09:42 #4 by BrunoF782
Hello,

we installed the last version of projeqtor : 

 

and have the issue previoulsy signaled :

2021-08-09 09:12:11.727 ***** ERROR ***** [V9.2.1] ERROR *****
2021-08-09 09:12:11.727 ***** ERROR ***** [V9.2.1] on file '/var/www/projeqtor/view/print.php' at line (146)
2021-08-09 09:12:11.727 ***** ERROR ***** [V9.2.1] cause = Use of undefined constant getOutputFileName - assumed 'getOutputFileName' (this will throw an Error in a future version of PHP)


It is written that the plug-in is deployed on the previous version, do we have to install again the report again to resolve the problem ? (i don't remember having to do that previously)

Thansk for your help.
 
Attachments:
Last edit: 09 Aoû 2021 09:42 by BrunoF782.

Please Connexion or Create an account to join the conversation.

More
09 Aoû 2021 13:27 #5 by babynus
Hi,

This seem to be a bug.
To fix it replace line 146 in projeqtor/view/print.php from
$tmpName=(method_exists($tmp, getOutputFileName))?$tmp->getOutputFileName($obj):null;
to 
$tmpName=(method_exists($tmp, 'getOutputFileName'))?$tmp->getOutputFileName($obj):null;

This fix will be included in V9.2.3

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
16 Aoû 2021 08:34 #6 by BrunoF782
Hello,

it's working, thanks for the answer.

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.059 seconds

Paramétrages de cookies

×

Cookies fonctionnels

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.