Hi @ll,
ive installed cacti on follow mashine:
x86-32
Debian sarge
cacti Version 0.8.5a-4 from Debian Tree
php4 in Version 4.3.4-4 from Debian Tree too
apache2 in Version 2.0.49-1 likewise from Debian
Ok, i changed the Apache.conf which i've get in package cacti and removed the first line with an Alias.
#Alias /cacti /usr/share/cacti
Now i added a Vhost for apache and add all content from cactis apache.conf to this vhost-file.
--snip--
#Alias /cacti /usr/share/cacti
<DirectoryMatch /usr/share/cacti/>
Options +FollowSymLinks
AllowOverride None
order allow,deny
allow from all
<IfModule mod_php4.c>
AddType application/x-httpd-php .php
php_flag magic_quotes_gpc Off
php_flag short_open_tag On
php_flag register_globals On
php_flag register_argc_argv On
php_flag track_vars On
php_value include_path .
DirectoryIndex index.php
</IfModule>
</DirectoryMatch>
<VirtualHost myipaddress>
ServerAdmin webmaster@mydomnain.de
ServerName cacti.mydomain.de
ServerAlias cacti.mydomain.de
DocumentRoot /usr/share/cacti/
ErrorLog /usr/share/cacti/log/cacti-error.log
CustomLog /usr/share/cacti/log/cacti-access.log combined
</VirtualHost>
--snip--
No i tryed to login into cacti with user admin pass admin, and expect a site to change my password. But it doesn't open a new site, i still keep on the index.php....
ok i've look into the directory from cacti an saw a dir called "install". So i type it in my browser "cacti.mydomain.de/install" and there open a site with follow content:
--snip--
upgrades, this installation is already up-to-date. Click here to use cacti.
--snip--
I can see a Hyperlink on the word "here" which will pass me on http://cacti.mydomain.de/index.php?csid ... 2ac27d27a1
There i can type in "admin/admin"" and logon to a site where i can change my password. This site had an error on top called
"Notice: Undefined index: sess_user_id in /usr/share/cacti/auth_changepassword.php on line 29" but i ignored it. Now i had typed a new password and want to continue. The next site will given the last error
--snip--
Notice: Undefined index: sess_user_id in /usr/share/cacti/auth_changepassword.php on line 29
Notice: Undefined index: sess_user_id in /usr/share/cacti/auth_changepassword.php on line 41"
--snip--
and stopped some actions. I show in my SQL-Database to verify the changed password, but nothing is happend.
I hope someone can help me here because google can't.
Best regards
Henrik
Problems with sess_user_id
Moderators: Developers, Moderators
Re: Problems with sess_user_id
sorry for reviving hte Zombie, but I have the same issue, did you finally solved your issue?
Thanks!
Thanks!
Who is online
Users browsing this forum: No registered users and 1 guest