php errors after upgrade

reverso

New member
Joined
Apr 13, 2019
Messages
3
After the upgrade Directadmin 1.5.00 -> 1.5.63 in the php error.log began to constantly appear errors

Code:
[14-Apr-2019 09:20:56 Europe/Moscow] PHP Warning:  file_get_contents(grep -P '^processor' /proc/cpuinfo|wc -l): failed to open stream: No such file or directory in - on line 57
[14-Apr-2019 09:20:56 Europe/Moscow] PHP Notice:  Undefined variable: sysInfo in - on line 62
[14-Apr-2019 09:20:56 Europe/Moscow] PHP Notice:  Undefined variable: sysInfo in - on line 66
[14-Apr-2019 09:20:56 Europe/Moscow] PHP Notice:  Undefined variable: sysInfo in - on line 72
[14-Apr-2019 09:20:56 Europe/Moscow] PHP Notice:  Undefined variable: sysInfo in - on line 73
[14-Apr-2019 09:20:56 Europe/Moscow] PHP Notice:  Undefined variable: sysInfo in - on line 73
[14-Apr-2019 09:20:56 Europe/Moscow] PHP Notice:  Undefined variable: sysInfo in - on line 78
[14-Apr-2019 09:20:56 Europe/Moscow] PHP Notice:  Undefined variable: sysInfo in - on line 79
[14-Apr-2019 09:20:56 Europe/Moscow] PHP Notice:  Undefined variable: sysInfo in - on line 79
[14-Apr-2019 09:20:56 Europe/Moscow] PHP Notice:  Undefined variable: sysInfo in - on line 83
[14-Apr-2019 09:20:56 Europe/Moscow] PHP Notice:  Undefined variable: sysInfo in - on line 84
[14-Apr-2019 09:20:56 Europe/Moscow] PHP Notice:  Undefined variable: sysInfo in - on line 84
[14-Apr-2019 09:20:56 Europe/Moscow] PHP Notice:  Undefined variable: sysInfo in - on line 88
[14-Apr-2019 09:20:56 Europe/Moscow] PHP Notice:  Undefined variable: sysInfo in - on line 89
[14-Apr-2019 09:20:56 Europe/Moscow] PHP Notice:  Undefined variable: sysInfo in - on line 89
[14-Apr-2019 09:20:56 Europe/Moscow] PHP Notice:  Use of undefined constant SERVER_PORT - assumed 'SERVER_PORT' in - on line 20
[14-Apr-2019 09:20:56 Europe/Moscow] PHP Notice:  Use of undefined constant SESSION_ID - assumed 'SESSION_ID' in - on line 21
[14-Apr-2019 09:20:56 Europe/Moscow] PHP Notice:  Use of undefined constant SESSION_KEY - assumed 'SESSION_KEY' in - on line 21
 
Hello,

Upgrade of Directadmin binaries hardly could cause those errors. The errors are not caused by Directadmin upgrade.

I could assume previously the errors were completely muted in php.ini and now now they are logged. But directadmin does not overwrite php.ini unless you force it to update php.ini.

Anyway PHP warnings and Notices can be ignored.
 
Thanks for the answer, zEitEr!

I solved the problem, it was file stats.html from DA-Enhanced-Pro skin
 
Back
Top