Support

Site Restoration

#22466 After restoration on XAMPP internet address not found

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 dlb on Thursday, 16 April 2015 10:34 CDT

user72906
 Hi,
I wanted to restore mysite files from the live to a local server (xampp). After succesful backup and download on my local pc I have restored it accuratly without any error messages.
But I cannot call the local site with localhost/mysite. I get always a message that the internetr address is unknown.
The xampp server is on, mysql too. Xampp worked accuratly apart from that.

I have done a second possibilty. I have copied all files from live server 1:1 on my local htdocs | mysite folder (without configuration.php). No change. I have the suspicion that the htaccess can be the reason. I have it renamed and so deactivated - but no change.

That is the 2nd not worked website restoration!

Can you help me.
Best regards
geolino

dlb
You realize that Joomla! 1.5.x has a privilege escalation bug that allows anyone who can do a Google search to log in as a super administrator? There is a reason that version is retired.

.htaccess was a good guess but if you renamed it, then it is not the problem.

I have a guess. You have your XAMPP server installed on a Windows computer? If so, your site's root folder must be able to be accessed by the group Everyone. I think what it is telling you is "can't find" but the real problem is "can't execute".


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)

user72906
Thanks Dale. I know the issues with J!1.5. But I hope my AdminTools webfirewall can help me to protect my site until I can migrate it to J!3

The root folder (xampp - htdocs - mysite) is accessible for everyone. But it is write-protected.

I wanted to attache my configuration file, but this didn't work.
I have successfully restored backups in the past several times. But now, it doesn't work

Maybe, you have still an idea, what I can do.

geolino

user72906
Now, I see that I had tried to send the file as php. But this is not allowed. Therefor as zip file. Please, have a look on it. Maybe, I have mistakes in it.
thanks geo

dlb
Your sendmail path in configuration.php is almost certainly wrong, but that is not part of the current problem.

How are you calling the local site, localhost/autohaus ? If so, please try localhost/autohaus/index.php.


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)

dlb
When you get the error, what exactly do you see in your browser's address bar?

What do you get when you try http://localhost/xampp?


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)

user72906
Yes I write localhost/autohaus. I have also checked with index.php. The calling localhost/xampp works correctly. On my address line I see the address of my provider t-online.

dlb
I think we may be on to something there. Please copy the address that you see and post it here. Nicholas asked that question, but I don't think that is the answer he was looking for.

Is your .htaccess file still renamed on the local machine? If not, please rename it.


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)

user72906
The address after localhost/autohaus is

http://navigationshilfe1.t-online.de/dnserror?url=http://www.localhost/

Then is to read:
Die von Ihnen eingegebene Internetadresse

www.localhost konnte nicht gefunden werden.

translated:
The web address you entered

www.localhost could not be found.


It's a little strange, to write "www.localhost". I have a local "domain" with the official Joomla 3.3 site. The call localhost/joomla33 works fine.

The .htaccess is still deactivated.

geo

dlb
That is what Nicholas was looking for. Something is redirecting you from localhost to www.localhost. www.localhost doesn't exist, so you are getting the 404 error.

Normally that redirection to www is located in the .htaccess file. Is there an .htaccess file in C:/xampp/htdocs? If so, it would be inherited by /autohaus.


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)

user72906
No, no .htacces in htdocs folder

dlb
The reasons for such a redirect are:

1. .htaccess

2. $live_site

3. Third party plugin (SEF, SEO, ...)
We have eliminated 1 and 2. Do you have any kind of SEO plugin in that site?


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)

user72906
yes, SEO in Joomla is activated (see attachment)

user72906
Dear Dale,
the day is soon over. I think, you don't need to work so late. Tomorrow we can continue.
Have a nice evening
Bye
Juergen (geolino)

dlb
Morning will come to you quite a bit before me. The Joomla! SEO didn't do too much in the 1.5 days. I was looking for a third party extension, something like sh404SEF. There were others back then, but sh404SEF was one of the most popular. Something is doing that redirect, that is the root of the problem.


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)

user72906
Good morning,
when you are in Britain then we have the morning 1 hour earlier than you, I think.

I have checked the autohaus live site to find 3rd party plugins. Nil return! The only sef plugin is sef.php and I think, this is the Joomla plugin.

user72906
What I can do:
  • sef/seo deactivate on live server
,
  • new backup

  • new restoration on local server


Is it reasonable?

nicholas
Akeeba Staff
Manager
Dale is in the US. The flag indicates the language, not the location.

The thing is that what you describe can't happen. The only things which can cause a redirection from non-www to www are:
  • .htaccess
  • $live_site in configuration.php
  • A third party plugin


There's nothing else which could cause this kind of redirection. According to what you said none of these is true, therefore your issue can't be happening. It stands to reason that you have missed .htaccess, $live_site or a plugin on your site. Unfortunately this isn't an issue related to our software (our software creates an 1:1 clone of your site, which it successfully did) but an issue related to your site setup. If the issue occurred on a live site we could take a look. Since this is on a local server which we can't offer any support besides reiterate what can possibly cause the problem on your site.

Please do check your site again. You have missed something. If you are perfectly sure that there is no .htaccess and you have triple checked that your $live_site variable is empty we're left with a plugin. Try renaming one-by-one all of the .php files under the plugins/system folder to .php.bak. After renaming each file check if your site's front-page loads. If it doesn't, rename it back to .php. You'll find which plugin causes the problem.

If this doesn't help then I'm pretty sure that someone (you?) has directly modified the Joomla! core files by hand. In this case we can't possibly help you. We can't know which modifications you made, where you made them and what impact they have. In an equation will all variables unknown there's no solution – therefore we've explicitly stated in our Terms of Service that in this case you're ineligible for support.

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!

user72906
ok, Nicholas, I will attempt to do this. Thank you for your and Dale's help.

dlb
You do not need to backup/restore to turn off Joomla!'s SEF on your local install. Just edit the configuration.php file and change:
 var $sef = '1';
var $sef_rewrite = '1';
to
 var $sef = '0';
var $sef_rewrite = '0';
I am pretty sure that is not the problem.


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)

user72906
Hi Dale and Nicholas,
after all discussion and changings the local version of the site had to be ok. Now, it is ok!!!

I had checked the localhost/autohaus with all my browsers without safari. And see: it worked under safari. Now, I had deleted the browsers caches of firefox, Google, IE , Opera . And now I can see the local version of my website.

Thank you for your help. The ticket can be closed.

Jürgen Donath
alias geolino

dlb
You are welcome! I'm glad you got it working!


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)

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!