Notice: Undefined index: ldap_enabled
Moderators: Developers, Moderators
Notice: Undefined index: ldap_enabled
I get this message plastered across the top of the main page:
Notice: Undefined index: ldap_enabled in /home/httpd/htdocs/cacti2/include/functions.php on line 100
If I try to log in, the message is repeated once more, and whatever username / password I provide is rejected. This is really irritating me; do I need to include LDAP support somehow? (I can't find a reference to LDAP anywhere?)
Can someone help me along? This is driving me nuts.
Notice: Undefined index: ldap_enabled in /home/httpd/htdocs/cacti2/include/functions.php on line 100
If I try to log in, the message is repeated once more, and whatever username / password I provide is rejected. This is really irritating me; do I need to include LDAP support somehow? (I can't find a reference to LDAP anywhere?)
Can someone help me along? This is driving me nuts.
Exact same for me
I am seeing the exact same thing here.
Let me know if you manage to figure it out.
eta
Let me know if you manage to figure it out.
eta
Try running the following SQL on your Cacti database:
Just a side note, you should not receive this error in 0.8.4 whether you have this setting or not. This error was any oversight in my array checking code.
-Ian
Code: Select all
INSERT INTO `settings` VALUES ('ldap_enabled', '');
-Ian
rax
First off thanks for the help! Now, what am I doing wrong here?
Regards,
eta
First off thanks for the help! Now, what am I doing wrong here?
Code: Select all
mysql> use cacti
Database changed
mysql> INSERT INTO `settings` VALUES ('ldap_enabled', '');
ERROR 1136: Column count doesn't match value count at row 1
eta
Using a MySQL Gui tool, I managed to insert ldap_enabled into the VALUES colum of the settings table. That got rid of the error I was seeing at the login prompt, but not the fact that I can't login. Now any username/paswd combo I submit gets rejected as a bad username password.
Any suggestions are appreciated.
eta
Any suggestions are appreciated.
eta
Ugh. Initially installing the ancient Gentoo version, then trying to upgrade the web side to the latest one doesn't seem to work out so great.
I'm 'caught up' with eta now -- no more ldap errors, but I still can't log in, even if I try to cheat and manually add users.
(The SQL error was because the table you're inserting into actually has about half a dozen fields. MySQL apparently insists that you put '' for each of them, not leave them blank. Using phpmyadmin and doing it by hand works well )
I'm 'caught up' with eta now -- no more ldap errors, but I still can't log in, even if I try to cheat and manually add users.
(The SQL error was because the table you're inserting into actually has about half a dozen fields. MySQL apparently insists that you put '' for each of them, not leave them blank. Using phpmyadmin and doing it by hand works well )
What does Cacti do that doesn't allow you to login? Does it redirect you back to the login page or does it give you some sort of "access denied" message?
The "endless" login redirect problems used to be because the user had PHP's register_globals turned off. The newer 0.8.x versions of Cacti do not require this though. Just for reference, the Gentoo version would have this problem, so make sure you stay away from that.
-Ian
The "endless" login redirect problems used to be because the user had PHP's register_globals turned off. The newer 0.8.x versions of Cacti do not require this though. Just for reference, the Gentoo version would have this problem, so make sure you stay away from that.
-Ian
Who is online
Users browsing this forum: No registered users and 6 guests