Code: Select all
OK: Query duration=0.002294 seconds.|query_duration=0.002294s;50;60 ''=;1;2what is this setting in the php.ini on the new server?
Code: Select all
grep display_errors /etc/php/7.2/cli/php.iniCode: Select all
OK: Query duration=0.002294 seconds.|query_duration=0.002294s;50;60 ''=;1;2Code: Select all
grep display_errors /etc/php/7.2/cli/php.iniCode: Select all
if (datepart(day, getdate()) >= 2)
select (CASE count(*)
when 0 then 3
else 0
end) 'Total'
from dataitemtype
else
select (CASE count(*)
when 0 then 3
else 0
end) 'Total'
from dataitemtypeCode: Select all
select (CASE count(*)
when 0 then 3
else 0
end) 'Total'
from dataitemtypeUnfortunately we have been unsuccessful using any form of IF statement in PDO, at present I do not see any workaround.nelsonw wrote:Thanks for the update Scott.
Please let me know how the investigation in to a work-around is going
Thanks,
Nelson
Depending if 5 is supported on the OS it may work, but you would also need to revert the plugin to the one @cdienger posted herenelsonw wrote:Would uninstalling php7 on my server and reverting back to php5 work?