View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - [SOLVED] Error: Undefined variable: regulTh - 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: Undefined variable: regulTh

More
05 Juil 2020 10:30 #1 by hbarel
When calculating the plan, I get: (from log)
***** ERROR ***** [V8.5.1] cause = Undefined variable: regulTh (in line 844 of PlannedWork.php)
Seems as $regulTh is defined in line 833 which is within a condition that ($delaiTh and $delaiTh>0).
The topic has been locked.
More
05 Juil 2020 12:09 #2 by avris
It appears due to $regulTh is only conditionally assigned if workDayDiffDates() returns non-zero (to avoid division by zero).

Does it make sense to set $regulTh equal to $ass->leftWork if workDayDiffDates() returns 0?

Another issue that may/may not be related - we see in the log the following error:

xxxx-xx-xx --:--:--.--- ***** ERROR ***** [V8.5.1] Exception-[42000] SQLSTATE[42000]: Syntax error or access violation: 1253 COLLATION 'utf8mb4_general_ci' is not valid for CHARACTER SET 'utf8'

(xxxx-xx-xx --:--:00.--- is timestamp) - message is followed by a stack trace

It happens several times and started last couple of days ago.
The topic has been locked.
More
06 Juil 2020 12:58 #3 by Gautier
Hello,

ticket #4762 created.
It will be resolved in next corrective patch.
The topic has been locked.
More
14 Juil 2020 11:03 #4 by avris
Thank you.

I see the following in the log:

Syntax error or access violation: 1253 COLLATION 'utf8mb4_general_ci' is not valid for CHARACTER SET 'utf8'

What is the reason, and could you please supply a workaround?

Thanks,
Avri
The topic has been locked.
More
15 Juil 2020 09:38 - 15 Juil 2020 09:39 #5 by babynus
Hi,

It is just that de collation could not be determinated correctly.
Add line in parameters.php :
$paramDbCollation='utf8';

Babynus
Administrator of ProjeQtOr web site
Last edit: 15 Juil 2020 09:39 by babynus.
The topic has been locked.
Moderators: babynusprotion
Time to create page: 0.039 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.