CRON abnormally stopped
is not really an error. Don't care about it.
You Apache log is the access log, not the error log.
You should not change the code as you did. Check unit for work in global parameters.
Hi,
All my apache error are empty.
My unit of work is 7 hours by day.
And I try to find where is my problem, and I modify the code in a development environement.
Thinks,
Hi,
Could you please try and reproduce the issue on Demo ( https://demo.projeqtor.org) ?
Do you reproduce on demo or not ?
I don't reproduce it. It's not the same unit work on your demo environement.
I have localised my problem. On you code, when I do this request :
insert into work ( inputUser , inputDateTime , manual , idResource , idProject , refType , refId , idAssignment , work , workDate , day , week , month , year , dailyCost ) values ('7', '2021-08-17 10:22:32', '0', '7', '419', 'Activity', '876', '5188', '0,14286', '2021-08-16', '20210816', '202133', '202108', '2021', '0.00');
=> I can show that the value of work is 0,14286 but my query has a warning when I execute it. If I replace the value of work by 0.14286 I doesn't have the problem.
(I do the request on my mysql server directly)
For information, the update query is : update work set inputDateTime='2021-08-17 10:39:39' , work='0.14286' , cost='0' where id=78554
=> Value of work is good. I don't know why
Do you know where I can search it ? Is it my mysql server ? My version of MYSQL is : 5.7.21
In more, in the method updateSqlElement, I have this code to convert data ',' => '.' with decimal value.
if ($dataType == 'decimal') {
$col_new_value = str_replace ( ',', '.', $col_new_value );
}
But, I don't have the same code in insertSqlElement. Why it's not the same ?
Hi,
Will add a fix to add the convertion in insertSqlElement.
It is strange you retrieve decimal with comma, but we already faced this issue (and so added the fix in updateSqlElement) and will extend the fix to insert.
Hi,
When this issus will be available ?
Thanks,
When we have time