Support

Admin Tools

#24015 after upgrade to Admin Tools v3.6.7 I can not login in as Super User both backend or frontend

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by on Friday, 22 January 2016 17:20 CST

baijianpeng
 hi, yestoday I moved my website to a new hosting server, everything (seems) works fine. Of course I had not login in frontend yet since I am busy on something else. Other people can not visit my website because I had not told them the new domain name.

Last night, I login in the backend , yes, I can login in at that time, though I had Admin Tools installed a long time ago.

Then I noticed that Admin Tools has new updates. Ok, I installed the updates and upgraded to Admin Tools Pro v3.6.7.

Next, I made whole website backup with Akeeba Backup (also upgraded to the latest version last night).

Next , I went to bed since it was too late.

Today, I read news that Joomla 3.4.7 was released. So I decided to update my Joomla core ASAP. But, now the problem comes:

I can see the backend login page when I visit the secure login URL like:

https://www.mydomain.com/administrator/?mysecretcode


I input the username and password, yes, my Super User account, as usual.

Then after I click "login" button, the login page just refreshed and I am still out of my website backend!

Well, I thought I was blocked by Admin Tools. So I use FTP to changed the filename of Admin Tools plugin from main.php to main-disable.php, just like the doc said.

Then I tried again. Nothing changed.

I went to website frontend, tried to login as Super User, the same thing happened: after I click the "login" button, the page just refreshed, I can not login in!

I am sure I did not forgot my suername or password, because last night I can login in, I even had upgraded my Admin Tools!

I tried to manually edit the /configuration.php, set error reporting as:

	public $error_reporting = 'maximum';


Then I tried again both backend and frontend login, nothing reported as error or warning. Just the page refreshed!

This is too wierd , so I have to ask for help from you. Hope you will help me to solve this.

Thank you!

baijianpeng
Some updates:

I asked a registered user on my website to test it:

When he tried to login from the frontpage login form (by mod_bt_login), the page refreshed after he click "login" button, he can not login in.

Then he went to the forum page (com_kunena), input account data to the login form of Kunena forum component, then he clicked "login" button, the result is:

Error 404 can not find component


The URL of that page was:

https://www.joomlagate.com/index.php?option=com_kunena&view=home&defaultmenu=155&Itemid=154


Please notice that in the URL, all amp symbols were converted to HTML entity - oh no, your forum converted them again, so please look at the attached screenshot.



I think this problem is very weird , because I WAS able to login in the backend last night, though I did not test the frontend yestoday.

Hope you will find the cause. Thank you.

baijianpeng
screenshot is here:

I can not add image attachment when I tried to edit my former post.

baijianpeng
Ok, I recall that there is one more thing I did after I upgrade Admin Tools: I changed the SSL certificate for my domain.

Yestoday I was using the self-signed SSL certificate generated by my VestaCP panel itself. It can work but always show warning like "invalid certificate". So this morning I applied for a free SSL certificate then used it.

Maybe my server (built by myself with VestaCP) was not correctly configured to use the new certificate.

If you have sme experience on this , please give me some hints.

Thank you.

tampe125
Akeeba Staff
Hello,

please take a look at your configuration file, the values of the cookie_domain and cookie_path should be blank.
Do they have any value? Could you please try to blank them?

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

baijianpeng
I just checked with FTP that both cookie_domain and cookie_path in the configuration.php are empty.

Then I login in to my VestaCP panel, and changed the SSL certificate to use the one generated by my VestaCP (openssl) . Then I close Chrome browser and restart it to clear browser cache, then I re-open my backend login page (of course Chrome warned me about the certificate and I choose to open it anyway), tried again, still can not login in, without any error displaying, just a "plain and peaceful loop".

This is very weird. I can not though about any reason and any solution to it!

tampe125
Akeeba Staff
There's another test you can do: can you please try to use your browser in icognito mode?
I suspect there's something weird in the session and/or cookie handling.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

baijianpeng
hi, my friend, you are right!

Your "session" word reminded me. I have forgotten to tell you about this: since this is a new VPS, I installed VestaCP to manage it myself. I am also nearly a newbie of server configuration.

Yes today I installed "memcache" for this server, then I followed some tutorial on internet to set the Joomla configuration.php from:

	public $session_handler = 'database';


to

	public $session_handler = 'memcache';


This changed prevented me to login in.

Now I changed that value to "database" again, I can login in now!

Thank you.

It seems that I still know nothing about memcache. I need study more. If you have some experience about session handling with memcache, please do not hesitate to teach me.

Thank you again!

tampe125
Akeeba Staff
You're welcome!

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!