Le 14/02/2006 18:11, sean finney écrivait :

could you try using the "upstream" tarball, applying all the patches
listed at http://cacti.net/download_patches.php, and seeing if the
problem reappears?

Hi again Sean,


I had time to try it now, and it's maybe a good news ...

I applied all the official patches from cacti.net, and I had no problem using these files.

Since all the files coming from the .deb are still here, I tried at the same time two URLs : myserver/cacti/ and myserver/cacti-debian/ using two browsers, and using the same database.

And, guess what, I only have problem with the Debian version ... :(


I'm not a developper, but I tried the diff tool against the .php files ... and there are little differences ... but maybe a lead ?

Here they are :

(First file is the one from Debian, the second is the original)

I skip differences in : lib/auth.php & lib/import.php.

include/config.php
29c29,44
< require('/etc/cacti/debian.php');
---
> #$database_default = "cacti";
> #$database_hostname = "localhost";
> #$database_username = "cactiuser";
> #$database_password = "cactiuser";
> #$database_port = "3306";
>
>
> $database_username='cacti';
> $database_password='password';
> $database_default='cacti';
> $database_hostname='localhost';
> $dbport='';
> $dbtype='mysql';
>
>
>
145c160
< include("/usr/share/php/adodb/adodb.inc.php");
---
> include($config["library_path"] . "/adodb/adodb.inc.php");


My guess is the last one could be the cause ... the "upstream" Cacti comes with it's own adodb.inc.php in cacti-0.8.6h/lib/adodb/ ...

I didn't see that until I wrote this mail, so doing "bug reports" helps to sort things out, maybe ...

What do you think ? Should I try to play with adodb.inc.php files to be sure or do you have another idea ?

Thanks for your answers !
Regards,
--
Antoine Barrillon


Reply via email to