Support

Admin Tools

#11163 cannot login to back-end after upgrading to 2.2.0 (stable)

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 nicholas on Sunday, 19 February 2012 15:52 CST

user44967
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? yes
Joomla! version: (1.5.23)
PHP version: (unknown)
MySQL version: (unknown)
Host: (CentOS, but it helps us help you)
Admin Tools version: (2.2.0 stable)

Description of my issue:
I was using 2.2.a, and trying to upgrade to 2.2.0 stable by using the live update.
I got the following error after the upgrade.
"JFolder::create: Could not create directory". I think this maybe some folder's privilege issue. In the meantime, it also displayed the components installed successfully which is a bit confusing. Then I click "back" button. I realised that I was block-out of my back-end, and also front-end even. Then I did the followings:

1. I followed the troubleshoot instruction by rename main.php to main-disable.php.
Then I can see my front-end page is back. The back-end login page also shows up. But after I input my user name and password of the back-end, I saw 500 internal error.
2. Again, I followed instruction to rename .htaccess and .htaccess.admintools to something else, but the problem remains.

I think this relates to the unsuccessful installation, but no idea how to solve this issue. I also tried to restore the backup from my server back-end, I can see the contents roll back, but admintool seems quite "robust" which doesn't change.

Please help!

Simon

nicholas
Akeeba Staff
Manager
Hello Simon,

There are two more plugins and a module which might have gotten installed and activated on your site. Let's try disabling them:
- Rename plugins/system/akeebaupdatecheck.php to .php-bak
- Rename plugins/system/akeebajupdatecheck.php to .php-bak
- Rename administrator/modules/mod_atjupgrade (that's a directory) to mod_atjupgrade.bak
After doing each rename, please check if your site loads and tell me which one was the one blocking your access. I suspect that it's the administrator/modules/mod_atjupgrade module causing your back-end login issue.

After regaining access to your back-end, please retry installing Admin Tools.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user44967
Thank you for your quick reply.

I just realised another problem before I proceed your suggestions. Though the front page loaded, but all the links on that page doesn't work, I guess it's related to .htaccess since I renamed it.

"- Rename plugins/system/akeebaupdatecheck.php to .php-bak"
Doesn't help.
"- Rename plugins/system/akeebajupdatecheck.php to .php-bak"
I don't have this file
"- Rename administrator/modules/mod_atjupgrade (that's a directory) to mod_atjupgrade.bak"
Helps!
I can access to back-end. And tried to reinstall admintools pro. But the same error happens as when I upgrade. I noticed there is one error which I forgot to mention.
"Framework on Framework (FOF) ---- not installed"

After reinstall, all the errors come back. I lost access to front page and back-end.

nicholas
Akeeba Staff
Manager
OK, we found your problem. The installation script can not install the necessary framework into the libraries/fof directory of your site. Let's do that manually. Unzip Admin Tools' ZIP file. There is a directory named "fof". Upload it into your site's "libraries" directory. You should now have a directory libraries/fof with a few PHP files in there. Try reloading your site without renaming any file. Does that work now?

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user44967
You're superb! That solved problem.
After I restore .htaccess and .htaccess.admintools, all the dead links on front page also come back.

And I found my libraries directory and all the sub-directories belong to root:root, should I change to apache:apache? or leave it for security purpose?

nicholas
Akeeba Staff
Manager
No file/folder of your site should be owned by root. Being owned by the apache user is usually not a good idea either (unless you're on a dedicated server hosting only one site). In any other case (which is equivalent to a shared hosting environment), all of your files should be owned by a different user per site.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user44967
You're right. That's a dedicated server only for me, even it hosts several sites, but all mine.
Because I need to upgrade admintools on other sites on this server, in order to avoid the same problem. For example, due to privilege issue, fof didn't get installed. Apart from root and apache, which group should I choose for a successful admintools upgrading? And also for avoiding potential errors of other software. Thanks

nicholas
Akeeba Staff
Manager
It all depends on server setup, really. Ideally, you should have one user per site. Each user should have his FTP home pointed to either the website's root, or the home directory of the user (if the web root is inside the home directory - but this doesn't seem to be the case). Moreover, you should either use Joomla's FTP layer or, better yet, suPHP to overcome permissions issues. Unfortunately, that's as far as I can go. I am not an expert in server configuration. I know my way around Linux, but it's best to ask an expert server administrator about how to implement those things on your server.

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

user44967
thanks you very much

nicholas
Akeeba Staff
Manager
You're welcome!

Nicholas K. Dionysopoulos

Lead Developer and Director

πŸ‡¬πŸ‡·Greek: native πŸ‡¬πŸ‡§English: excellent πŸ‡«πŸ‡·French: basic β€’ πŸ• My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

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!