ProjeQtOr free project management software - Administrator Account Not able to create an Activity in Project - ProjeQtOr
 

Administrator Account Not able to create an Activity in Project

More
11 Mai 2020 01:35 #1 by iconic
I am using my administrator account to create an acivity and each time I try I receive the following error message.

ERROR : stristr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior
in projeqtor.php
at line 2060


It then says there is a detailed log. I have attached that log for you.
Attachments:

Please Connexion or Create an account to join the conversation.

More
11 Mai 2020 16:01 #2 by babynus
Try and replace line 2060 in tool/projeqtor.php from
if(stristr($to,$curUser->email)){
to
if($curUser->email and stristr($to,$curUser->email)){

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
12 Mai 2020 07:11 #3 by iconic
It did not fix the problem. It produced this error

ERROR : stristr(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior
in projeqtor.php
at line 2060

Please Connexion or Create an account to join the conversation.

More
12 Mai 2020 09:09 #4 by babynus
Hi,

To help analyse, please add new line before previous one (before 2060)
debugLog($curUser->email);
Then change log level in parameters.php
logLovel=3;
Test and poste error lof here.

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
14 Mai 2020 04:45 #5 by iconic
Done as asked. The log is attached.
Attachments:

Please Connexion or Create an account to join the conversation.

More
18 Mai 2020 18:09 #6 by babynus
Hi,

Debug not displayed.
I guess you did not change the correct file.
The log file still shows issue on line 2060.
If you had correctly added line before line 2060, error should now be at line 2061

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.041 seconds