linfo icon indicating copy to clipboard operation
linfo copied to clipboard

core table is empty but shows title

Open IAmEnchant opened this issue 7 years ago • 9 comments

all of the core contents are disabled but the title still shown.

IAmEnchant avatar Apr 23 '17 19:04 IAmEnchant

Can you post a screenshot and provide what you are running Linfo on?

Also you can enable error reporting in the config file to see what specifically is going wrong.

jrgp avatar Apr 23 '17 19:04 jrgp

here is my server http://soldat.tyg.me/ and conf

$settings['show']['kernel'] = false;
$settings['show']['ip'] = false;
$settings['show']['os'] = false;
$settings['show']['load'] = false;
$settings['show']['ram'] = false;
$settings['show']['hd'] = false;
$settings['show']['mounts'] = false;
$settings['show']['mounts_options'] = false; // Might be useless/confidential information; disabled by default.
$settings['show']['webservice'] = false; // Might be dangerous/confidential information; disabled by default.
$settings['show']['phpversion'] = false; // Might be dangerous/confidential information; disabled by default.
$settings['show']['network'] = false;
$settings['show']['uptime'] = false;
$settings['show']['cpu'] = false;
$settings['show']['process_stats'] = false;
$settings['show']['hostname'] = false;
$settings['show']['distro'] = false; # Attempt finding name and version of distribution on Linux systems
$settings['show']['devices'] = false; # Slow on old systems
$settings['show']['model'] = false; # Model of system. Supported on certain OS's. ex: Macbook Pro
$settings['show']['numLoggedIn'] = false; # Number of unqiue users with shells running (on Linux)
$settings['show']['virtualization'] = false; # whether this is a VPS/VM and what kind

IAmEnchant avatar Apr 24 '17 02:04 IAmEnchant

@IAmEnchant can you provide the OS and PHP version you use?

matriphe avatar Aug 04 '17 06:08 matriphe

I am using Ubuntu17 and PHP7.

IAmEnchant avatar Aug 04 '17 06:08 IAmEnchant

@IAmEnchant Do you use PHP 7.1? or PHP 7.0?

matriphe avatar Aug 04 '17 06:08 matriphe

It's 7.0.

IAmEnchant avatar Aug 04 '17 06:08 IAmEnchant

@IAmEnchant just realized that your config value were all set to false, so it showed nothing. Try to set one of them to true.

Try this config.

$settings['show']['kernel'] = true;
$settings['show']['ip'] = true;
$settings['show']['os'] = true;
$settings['show']['load'] = true;
$settings['show']['ram'] = true;
$settings['show']['hd'] = true;
$settings['show']['mounts'] = true;
$settings['show']['mounts_options'] = false; // Might be useless/confidential information; disabled by default.
$settings['show']['webservice'] = false; // Might be dangerous/confidential information; disabled by default.
$settings['show']['phpversion'] = false; // Might be dangerous/confidential information; disabled by default.
$settings['show']['network'] = true;
$settings['show']['uptime'] = true;
$settings['show']['cpu'] = true;
$settings['show']['process_stats'] = true; 
$settings['show']['hostname'] = true;
$settings['show']['distro'] = true; # Attempt finding name and version of distribution on Linux systems
$settings['show']['devices'] = true; # Slow on old systems
$settings['show']['model'] = true; # Model of system. Supported on certain OS's. ex: Macbook Pro
$settings['show']['numLoggedIn'] = true; # Number of unqiue users with shells running (on Linux)
$settings['show']['virtualization'] = true; # whether this is a VPS/VM and what kind

matriphe avatar Aug 04 '17 07:08 matriphe

I meant I just wanna hide the "Core" title if those configs set up to false at all.

IAmEnchant avatar Aug 04 '17 08:08 IAmEnchant

try this config, it will hide all values in the Core tab.

$settings['show']['kernel'] = false;
$settings['show']['ip'] = false;
$settings['show']['os'] = false;
$settings['show']['load'] = false;
$settings['show']['ram'] = true;
$settings['show']['hd'] = true;
$settings['show']['mounts'] = true;
$settings['show']['mounts_options'] = false; // Might be useless/confidential information; disabled by default.
$settings['show']['webservice'] = false; // Might be dangerous/confidential information; disabled by default.
$settings['show']['phpversion'] = false; // Might be dangerous/confidential information; disabled by default.
$settings['show']['network'] = true;
$settings['show']['uptime'] = false;
$settings['show']['cpu'] = false;
$settings['show']['process_stats'] = false; 
$settings['show']['hostname'] = false;
$settings['show']['distro'] = false; # Attempt finding name and version of distribution on Linux systems
$settings['show']['devices'] = true; # Slow on old systems
$settings['show']['model'] = false; # Model of system. Supported on certain OS's. ex: Macbook Pro
$settings['show']['numLoggedIn'] = true; # Number of unqiue users with shells running (on Linux)
$settings['show']['virtualization'] = false; # whether this is a VPS/VM and what kind

matriphe avatar Aug 04 '17 08:08 matriphe