file_exists(/proc/net/dev)

Help
Greg
2013-06-11
2013-06-12
  • Greg
    Greg
    2013-06-11

    Hello

    Everything seems working fine except a warning in header with following in popup:

    file_exists(/proc/net/dev)
    the file does not exist on your machine
    ./xml.php on line 54
    ./includes/output/class.WebpageXML.inc.php on line 138 in function run()
    ./includes/xml/class.XML.inc.php on line 513 in function getXml()
    ./includes/xml/class.XML.inc.php on line 492 in function _buildXml()
    ./includes/os/class.OS.inc.php on line 81 in function getSys()
    ./includes/os/class.Linux.inc.php on line 819 in function build()
    ./includes/os/class.Linux.inc.php on line 477 in function _network()
    ./includes/class.CommonFunctions.inc.php on line 260 in function rfts( "/proc/net/dev", NULL )

    Any help would be appreciated

    Greg

     
  • To disable warning change line 477 in file includes\os\class.Linux.inc.php
    from:
    if (CommonFunctions::rfts('/proc/net/dev', $bufr)) {
    to:
    if (CommonFunctions::rfts('/proc/net/dev', $bufr, 0, 4096, false)) {