Results 1 to 3 of 3

Thread: php errors after upgrade

  1. #1
    Join Date
    Apr 2019
    Posts
    3

    php errors after upgrade

    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

  2. #2
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    12,937
    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.
    Regards, Alex G.

    - You can hire me on www.poralix.com to work on your server
    - Follow and like @Poralix on Facebook

  3. #3
    Join Date
    Apr 2019
    Posts
    3
    Thanks for the answer, zEitEr!

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •