Using cacti with mysqli extension

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
dka
Posts: 1
Joined: Thu Jan 20, 2005 2:02 pm

Using cacti with mysqli extension

Post by dka »

Hello everybody,

as i see that cacti uses adodb, i think it should be possible to use it with the new php5 mysqli extension. I tried to configure it this way and always get the following error message:

Code: Select all

Notice: Undefined offset: 0 in /var/www/localhost/htdocs/cacti/lib/database.php on line 89
As far as i can see from the mysql query log, a connection is established successfully. The above error message seems to happen straight after the Query "select cacti from version". I looked a little bit through the code and couldn't find the real problem - it seems that an ADODB-function get's an associative array from mysql server and not an enumerated one.

Has anybody else running cacti successfully with mysqli?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests