Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

core table is empty but shows title #52

Open
IAmEnchant opened this issue Apr 23, 2017 · 9 comments
Open

core table is empty but shows title #52

IAmEnchant opened this issue Apr 23, 2017 · 9 comments

Comments

@IAmEnchant
Copy link

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

@jrgp
Copy link
Owner

jrgp commented Apr 23, 2017

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.

@IAmEnchant
Copy link
Author

IAmEnchant commented Apr 24, 2017

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

@matriphe
Copy link
Contributor

matriphe commented Aug 4, 2017

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

@IAmEnchant
Copy link
Author

I am using Ubuntu17 and PHP7.

@matriphe
Copy link
Contributor

matriphe commented Aug 4, 2017

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

@IAmEnchant
Copy link
Author

It's 7.0.

@matriphe
Copy link
Contributor

matriphe commented Aug 4, 2017

@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

@IAmEnchant
Copy link
Author

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

@matriphe
Copy link
Contributor

matriphe commented Aug 4, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants