Restore Akeeba file with XAMPP

Joomla versions 2.5, 1.7 and 1.6 are all end-of-life since December 31st 2014 and are no longer supported. Please use Joomla 3.x instead.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
ABSCC
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Thu Aug 14, 2014 7:27 pm

Restore Akeeba file with XAMPP

Post by ABSCC » Wed Nov 05, 2014 12:15 pm

I have restored our live site (Joomla 2.5.27, PHP 5.3.26, Apache 2.2.5, MySQL 5.1.73-cll) to my localhost using an Akeeba backup file and Kickstart. No problems occurred.

My local set up is XAMPP on Win8.1 using port 8080 for Apache, PHP 5.5.11,
Apache 2.4.9 (Win32), MySQL 5.6.16.

When I try to run the home page using http://localhost:8080/ABSTest/ I get the navigation content displayed and the following errors:

An error has occurred.
The requested page cannot be found.


and

#404 Article not found

But there is nothing in the error logs.

I have no idea what might be wrong and any ideas would be much appreciated.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 36130
Joined: Sat Apr 05, 2008 9:58 pm

Re: Restore Akeeba file with XAMPP

Post by Webdongle » Wed Nov 05, 2014 12:42 pm

Why not http://localhost/yourjoomlafolder
Where yourjoomlafolder is the name of the folder in c:\xampp\htdocs where you run kickstart.php on the jpa file.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

ABSCC
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Thu Aug 14, 2014 7:27 pm

Re: Restore Akeeba file with XAMPP

Post by ABSCC » Wed Nov 05, 2014 1:31 pm

Port 80 is already in use by IIS so I have to use a different port. 8080 works fine - I had a Joomla 2.5.24 installation running without problems but I deleted it to install the current copy of the site.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 36130
Joined: Sat Apr 05, 2008 9:58 pm

Re: Restore Akeeba file with XAMPP

Post by Webdongle » Thu Nov 06, 2014 12:19 am

.htaccess active with 'Rewrite on' but '# RewriteBase /' not uncommented and not with path edited ?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

ABSCC
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Thu Aug 14, 2014 7:27 pm

Re: Restore Akeeba file with XAMPP

Post by ABSCC » Wed Nov 12, 2014 12:17 pm

We use htaccess.txt not .htaccess (which is empty) and I've uncommented RewriteBase.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 36130
Joined: Sat Apr 05, 2008 9:58 pm

Re: Restore Akeeba file with XAMPP

Post by Webdongle » Wed Nov 12, 2014 3:58 pm

.htaccess is read therefore being empty it does not contain rules ... txt.htaccess has no effect. Please see
http://docs.joomla.org/Enabling_Search_ ... EF%29_URLs
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

ABSCC
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Thu Aug 14, 2014 7:27 pm

Re: Restore Akeeba file with XAMPP

Post by ABSCC » Wed Nov 12, 2014 6:08 pm

Thank you - I will take a look at that.

ABSCC
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Thu Aug 14, 2014 7:27 pm

Re: Restore Akeeba file with XAMPP

Post by ABSCC » Wed Nov 12, 2014 10:10 pm

I have tried everything in the documents you referenced and still no luck.

I have checked the live site again and Search Engine Friendly URLs is set to Yes and Use URL rewriting is set to No. I seem to recall that if SEF was set to No then all the CSS was ignored which is why it is set to Yes (but my memory may be at fault).

The .htaccess file on the live site is empty. As Use URL rewriting is set to No there was no need to rename the text version.

Have you any further suggestions or should I just delete my local installation and start again?

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 36130
Joined: Sat Apr 05, 2008 9:58 pm

Re: Restore Akeeba file with XAMPP

Post by Webdongle » Wed Nov 12, 2014 11:33 pm

ABSCC wrote:...
The .htaccess file on the live site is empty. As Use URL rewriting is set to No there was no need to rename the text version.
...
But it's localhost that you are having problems with not the live site. Therefore the live site rewrite settings are not relevant. Your localhost server settings may need rewrite setup correctly. Until you have ruled that out it is difficult to know where your mistake is.

Do you have the live site url defined(hard coded) anywhere ?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

ABSCC
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Thu Aug 14, 2014 7:27 pm

Re: Restore Akeeba file with XAMPP

Post by ABSCC » Wed Nov 19, 2014 10:44 am

Sorry about the dealy in replying - I had to put this on hold for a while.

The URL for the live site is hard-coded into configuration.php.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 36130
Joined: Sat Apr 05, 2008 9:58 pm

Re: Restore Akeeba file with XAMPP

Post by Webdongle » Wed Nov 19, 2014 12:07 pm

ABSCC wrote:...

The URL for the live site is hard-coded into configuration.php.
Then that is the problem.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

ABSCC
Joomla! Apprentice
Joomla! Apprentice
Posts: 26
Joined: Thu Aug 14, 2014 7:27 pm

Re: Restore Akeeba file with XAMPP

Post by ABSCC » Wed Nov 19, 2014 12:40 pm

Success! I set everything up to handle rewrites in httpd.conf, copied htaccess.txt into .htaccess and uncommented RewriteBase then, finally, set $live_site to have no value. After changing $live_site I now have a working copy of the website on localhost.

The next job is to write myself a document detailing all the steps I have to take following a restore using Kickstart so I don't have to go through this all over again!

Many thanks to everyone who has tried to help, especially to Webdongle who pointed me in the right direction.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 36130
Joined: Sat Apr 05, 2008 9:58 pm

Re: Restore Akeeba file with XAMPP

Post by Webdongle » Wed Nov 19, 2014 3:22 pm

If you don't give a value to $live_site then it will avoid the problem in the first place. That value is rarely needed to be defined.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"The definition of insanity is doing the same thing over and over again, but expecting different results": Albert Einstein

User avatar
pioneer_1
Joomla! Intern
Joomla! Intern
Posts: 52
Joined: Tue Nov 11, 2014 6:29 am
Location: Florida
Contact:

Re: Restore Akeeba file with XAMPP

Post by pioneer_1 » Thu Nov 20, 2014 2:57 am

May I ask if you are using a Joomla SEO Component like SH404SEF?

peterparker
Joomla! Apprentice
Joomla! Apprentice
Posts: 12
Joined: Wed Nov 26, 2014 11:29 am

Re: Restore Akeeba file with XAMPP

Post by peterparker » Wed Nov 26, 2014 4:55 pm

i think XAmp error, try install it againt :D


Locked

Return to “Installation Joomla! 2.5”