-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
Database SSL setting lacks default value #4831
Comments
Cactid lacks a default for $database_ssl
how to set $database_ssl = true|false ? |
In your |
@TheWitness Apologies! As i am newbie on linux. Kindly tell me complete file path so that i can edit via vim editor. |
In a normal install it's |
@TheWitness ok, i have done with $database_ssl = 'false', is it in correct format? $database_default = 'cacti'; |
Still not working.... Still getting below error CMDPHP PHP ERROR NOTICE Backtrace: (/cactid.php[150]:db_check_reconnect(), /cactid.php[268]:CactiErrorHandler()) |
That's a real old format config.php. You need to use the config.php.dist from the upgrade/install and redo yours. |
@TheWitness Sorry unable to understand. Should i change config.php.dist? |
@TheWitness is it possible to install old version of cacti in ubuntu 20? |
@TheWitness I will appericiate and request you to take me on board via anydesk and help me to get rid of the issue. |
Read the documentation on how to install Cacti. It's not that complicated. |
ok. thanks alot for support. issue stands resolved. |
Changing the default to match `global.php`. This function should likely be moved to lib/database.php for others daemonizing Cacti binaries.
Describe the bug
If a user forget's to set $database_ssl = true|false, Cactid throws an error
Expected behavior
Less bugs
The text was updated successfully, but these errors were encountered: