Here is the error when i try to open up http:/localhost/cacti for the first time:
--------------------------------------------------------------------------------
Notice: Undefined variable: database_type in C:\Inetpub\wwwroot\cacti\include\config.php on line 151
ADONewConnection: Unable to load database driver ''
Fatal error: Call to a member function Connect() on a non-object in C:\Inetpub\wwwroot\cacti\lib\database.php on line 43
---------------------------------------------------------------------------------
This is the command on line 150 & 151 in the config.php:
/* include base modules */
include($config["library_path"] . "/adodb/adodb.inc.php");
include($config["library_path"] . "/database.php");
This the line 43 in the database.php file :
$cnn_id = NewADOConnection($db_type);
Any suggestions would be greatly appreciatted.
Thank you
Error opening up cacti for the first time
Moderators: Developers, Moderators
1) What version of everything are you using? Make sure to install the patches for cacti
2) read the guide in my signature
3) Did you make sure to enable php_mysql.dll in php.ini ?
2) read the guide in my signature
3) Did you make sure to enable php_mysql.dll in php.ini ?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 4 guests