Cannot login cacti 1.2.11
Moderators: Developers, Moderators
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Cannot login cacti 1.2.11
Do both of you have a language other than English as your primary language once Cacti is up? Make the following change to lib/html.php
line: 2478
Change:
print get_md5_include_js('include/js/jquery.timepicker.js', true);
to this:
print get_md5_include_js('include/js/jquery.timepicker.js');
line: 2478
Change:
print get_md5_include_js('include/js/jquery.timepicker.js', true);
to this:
print get_md5_include_js('include/js/jquery.timepicker.js');
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: Cannot login cacti 1.2.11
I have mine set to english as default.
Still can't login
Here is the one I have on the file. I haven't change it.
2475 print get_md5_include_js('include/js/jquery.multiselect.js');
2476 print get_md5_include_js('include/js/jquery.multiselect.filter.js');
2477 print get_md5_include_js('include/js/jquery.timepicker.js');
2478 print get_md5_include_js('include/js/jquery.colorpicker.js');
2479 print get_md5_include_js('include/js/jquery.tablesorter.js');
Still can't login
Here is the one I have on the file. I haven't change it.
2475 print get_md5_include_js('include/js/jquery.multiselect.js');
2476 print get_md5_include_js('include/js/jquery.multiselect.filter.js');
2477 print get_md5_include_js('include/js/jquery.timepicker.js');
2478 print get_md5_include_js('include/js/jquery.colorpicker.js');
2479 print get_md5_include_js('include/js/jquery.tablesorter.js');
Last edited by mnl2048 on Tue Apr 07, 2020 10:57 am, edited 2 times in total.
Re: Cannot login cacti 1.2.11
If I change line 2478 the console error goes away. I still can't log in though, it jumps back to the login screen, it doesn't even matter if I use valid or invalid login credentials.
Login screen language is English, user interface after login was also English in 1.2.10.
By the way mine looks like this:
So I wonder why yours is different.
Login screen language is English, user interface after login was also English in 1.2.10.
By the way mine looks like this:
Code: Select all
print get_md5_include_js('include/js/jquery.multiselect.js');
print get_md5_include_js('include/js/jquery.multiselect.filter.js');
print get_md5_include_js('include/js/jquery.timepicker.js', true);
print get_md5_include_js('include/js/jquery.colorpicker.js', true);
print get_md5_include_js('include/js/jquery.tablesorter.js');
print get_md5_include_js('include/js/jquery.tablesorter.widgets.js', true);
Re: Cannot login cacti 1.2.11
Same issue for me, I had 1.2.8 and after the upgrade I could not login. At the same time i changed the cacti installation path so I was sure I did something wrong. So I installed a new Ubuntu 18.04 VM + apache + php7.2 + mariadb10.4 + cacti1.2.11, same problem, cannot login. I've used the same list of commands I always use.
In Ubuntu GUI I installed MySQL Workbench so I can see the database, the admin account has the correct default password "admin" (actually hash 21232f297a57a5a743894a0e4a801fc3, you can put "admin" through https://www.md5hashgenerator.com). After downloading cacti 1.2.10 on the fresh Ubuntu the login works.
LIST OF COMMANDS USED FOR 1.2.11
sudo apt-get -y install apache2
#replace /var/html/ ---> /opt/
sudo nano /etc/apache2/apache2.conf
<Directory /opt/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
sudo apt -y install mariadb-server mariadb-client
sudo apt-get -y install php php-mysql php-snmp php-gd php-gmp php-ldap php-mbstring php-xml
base_dir=/opt
touch $base_dir/cacti/log/cacti.log
chmod 777 -R $base_dir/cacti/scripts/
chmod 777 -R $base_dir/cacti/cache/
chmod 777 -R $base_dir/cacti/resource/
chmod 777 -R $base_dir/cacti/log/
chmod +x $base_dir/cacti/cli/*php
In Ubuntu GUI I installed MySQL Workbench so I can see the database, the admin account has the correct default password "admin" (actually hash 21232f297a57a5a743894a0e4a801fc3, you can put "admin" through https://www.md5hashgenerator.com). After downloading cacti 1.2.10 on the fresh Ubuntu the login works.
LIST OF COMMANDS USED FOR 1.2.11
sudo apt-get -y install apache2
#replace /var/html/ ---> /opt/
sudo nano /etc/apache2/apache2.conf
<Directory /opt/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
sudo apt -y install mariadb-server mariadb-client
sudo apt-get -y install php php-mysql php-snmp php-gd php-gmp php-ldap php-mbstring php-xml
base_dir=/opt
touch $base_dir/cacti/log/cacti.log
chmod 777 -R $base_dir/cacti/scripts/
chmod 777 -R $base_dir/cacti/cache/
chmod 777 -R $base_dir/cacti/resource/
chmod 777 -R $base_dir/cacti/log/
chmod +x $base_dir/cacti/cli/*php
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Cannot login cacti 1.2.11
Okay, at least one person has reported that you need to comment out of the config.php the $cacti_cookie_domain it was blocking loing.
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Re: Cannot login cacti 1.2.11
This works for me. I was able to login again. Thanks.TheWitness wrote: ↑Wed Apr 08, 2020 10:10 pm Okay, at least one person has reported that you need to comment out of the config.php the $cacti_cookie_domain it was blocking loing.
Re: Cannot login cacti 1.2.11
Worked for me too. Thanks!
Re: Cannot login cacti 1.2.11
Well, that's one way to announce a new feature. Glad it's working.
Before history, there was a paradise, now dust.
Re: Cannot login cacti 1.2.11
Login to cacti without issue first at first day.
Next day, unable to login again. Also even using wrong credentials doesn't show error on login page.
Any ideas why this is happening ? I already use Cacti 1.2.12.
Thanks,
Next day, unable to login again. Also even using wrong credentials doesn't show error on login page.
Any ideas why this is happening ? I already use Cacti 1.2.12.
Thanks,
Re: Cannot login cacti 1.2.11
Try the cacti domain comment. Works for me.
Re: Cannot login cacti 1.2.11
Who is online
Users browsing this forum: No registered users and 4 guests