Support

Akeeba Backup for Joomla!

#8358 Restoring to a different domain with different database name

Posted in ‘Akeeba Backup for Joomla!’
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
Akeeba Backup version
n/a

user8542
I have had this problem since Sat 27th February 2010.
Somehow when I am trying to go into global configuration or when saving any changes within global configuration I get prompted for details of logging into the source site even though I am on the restore site.

I have checked the configuration.php and .htaccess and it appears the correct parameters are there.
is there another file I should check where its pointing to the source site.

I don't know if this would make a difference but both the source and restore site are directory protected.

Any help would be appreciated !

dlb
Those are the two files that are usually guilty. Some SEF components will do strange redirection things, but that would be unusual for the back end. Do you have any security related extensions that would change the back end address, for example?


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

nicholas
Akeeba Staff
Manager
Also check for system plug-ins. There have been some reports of canonical link plug-ins with hard-coded site absolute URLs which could cause the same issue on restored sites. Generally, if an extension (component, module, plug-in or template) stores absolute URLs in the form of http://www.example.com/something they have to be manually edited on the restored site. Akeeba Backup can't possibly know how to handle all extensions doing this. In fact, no extension should do this; it's against the Joomla! 1.5 philosophy and best practices, but that's another sad story :)

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!

user8542
Thank you very much to you both. it was indeed as you suggested, it was an extension. In this case it was a component ie Docman, because after I uninstalled it the problem disappeared. As I don't need this extension on this site I have not installed it again. I am just satisfied a 7 day problem is gone.

Again thanks - much appreciated. !!

dlb
DOCman stores a fixed path in the configuration file. If I remember correctly, this should be an absolute path, I don't recall it as a url. I don't understand why it would affect the Global Configuration at all. There may be something in the new version that wasn't in the old version.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

nicholas
Akeeba Staff
Manager
Dale, DocMan 1.5 doesn't have this issue. I know because, well, DocMan powers our download section :D This problem was indeed happening with DocMan 1.4 (the Joomla! 1.0 version which ran on J! 1.5 with Legacy Mode).

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!

user8542
Hi,
I can confirm I had DOCman version 1.4 installed and with Lagacy Mode enabled to run it.

nicholas
Akeeba Staff
Manager
There you go. DOCman 1.4 comes from the J! 1.0.x era when there was no easy way to retrieve the absolute path to the site's root at runtime. Therefore it did store the absolute path in its configuration, making moving a site a bit more difficult.

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: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

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!

Summer vacations: Our support will be closed for replies and new tickets from August 6th to August 21st, 2022 due to summer vacations.