Support

Site Restoration

#11784 Cannot Access Administrator Backend

Posted in ‘Site restoration’
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

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by on Friday, 04 May 2012 18:00 CDT

eng
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? Yes:
https://www.akeebabackup.com/documentation/troubleshooter/prbasicts.html
https://www.akeebabackup.com/documentation/troubleshooter/prlinkmigration.html
Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes - can't remember
Joomla! version: 2.5.3
PHP version: 5.3.10
MySQL version: 5.5.20
Host: WAMP server on local PC
Akeeba Backup version which took the backup:
Akeeba Backup Professional 3.4.3 (2012-03-21)
Kickstart version used to extract the backup: 3.4.1

Description of my issue:

When I tried to view my restored site using WAMP on my local pc, it kept taking me to the orginial site. So I did the following
1. Enable MOD_REWRITE
2. Delete the redirections in .htacess file
3. Modified $cookie_domain and public $cookie_path

I was able to view the site's frontend, but I could not access the Administrator Backend.

I suspect that this may have something to do with the ssl certificate (or the plugin Yireo SSL Redirection), which I enabled in the backend, but I could be wrong.

What should I be doing.

nicholas
Akeeba Staff
Manager
If the live_site parameter in the configuration.php file is empty or points to the local site, then it's definitely a plugin performing the redirection. Possibly it's the SSL Redirection plugin. I've never used it, so I don't know if it takes a hardcoded URL or it calculates the SSL address on the fly, therefore I can't tell you if it's likely to cause the problem. It does sound like a good candidate, though.

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!

eng
The live_site parameter in the configuration.php file is empty.

So what should I do? Do I ask the developer what the exact URL is that the plugin produces so that I can enter it into the $live_site's URL? Is there a way to find out what the URL is in Joomla?

Or do I temporary disable the plugin's SSL, back it up again and try restoring it a second time?

nicholas
Akeeba Staff
Manager
You can temporarily deactivate the plugin on your restored site without taking a new backup. In order to do that, please go to your live site (not the restored one) and click on Extensions, Plugin Manager. Find the row listing the SSL redirection plugin and take a look at the Type and Element columns. Let's say that they read system and foobar respectively. Go to your restored site, inside the directory plugins/system (where system is what the Type column reads) and look for the foobar directory and/or foobar.php file (where foobar is what the Element column read). If there's a PHP file, rename its extension from .php to .php.bak. If there's a directory, rename it adding a .bak suffix, e.g. from foobar to foobar.bak. This will make it impossible for Joomla! to locate the plugin's files, therefore not loading it (and, of course, not running it since it's not loaded!) anymore.

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!

eng
Awesome, thank you very much for your detailed instruction. I am able to login to the backend.

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!

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!