Restore Akeeba file with XAMPP
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.
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.
-
- Joomla! Apprentice
- Posts: 32
- Joined: Thu Aug 14, 2014 7:27 pm
Restore Akeeba file with XAMPP
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.
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.
- Webdongle
- Joomla! Master
- Posts: 44070
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Restore Akeeba file with XAMPP
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.
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
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 32
- Joined: Thu Aug 14, 2014 7:27 pm
Re: Restore Akeeba file with XAMPP
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.
- Webdongle
- Joomla! Master
- Posts: 44070
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Restore Akeeba file with XAMPP
.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
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 32
- Joined: Thu Aug 14, 2014 7:27 pm
Re: Restore Akeeba file with XAMPP
We use htaccess.txt not .htaccess (which is empty) and I've uncommented RewriteBase.
- Webdongle
- Joomla! Master
- Posts: 44070
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Restore Akeeba file with XAMPP
.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://docs.joomla.org/Enabling_Search_ ... EF%29_URLs
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 32
- Joined: Thu Aug 14, 2014 7:27 pm
Re: Restore Akeeba file with XAMPP
Thank you - I will take a look at that.
-
- Joomla! Apprentice
- Posts: 32
- Joined: Thu Aug 14, 2014 7:27 pm
Re: Restore Akeeba file with XAMPP
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?
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?
- Webdongle
- Joomla! Master
- Posts: 44070
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Restore Akeeba file with XAMPP
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.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.
...
Do you have the live site url defined(hard coded) anywhere ?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 32
- Joined: Thu Aug 14, 2014 7:27 pm
Re: Restore Akeeba file with XAMPP
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.
The URL for the live site is hard-coded into configuration.php.
- Webdongle
- Joomla! Master
- Posts: 44070
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Restore Akeeba file with XAMPP
Then that is the problem.ABSCC wrote:...
The URL for the live site is hard-coded into configuration.php.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 32
- Joined: Thu Aug 14, 2014 7:27 pm
Re: Restore Akeeba file with XAMPP
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.
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.
- Webdongle
- Joomla! Master
- Posts: 44070
- Joined: Sat Apr 05, 2008 9:58 pm
Re: Restore Akeeba file with XAMPP
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
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
- pioneer_1
- Joomla! Intern
- Posts: 52
- Joined: Tue Nov 11, 2014 6:29 am
- Location: Florida
- Contact:
Re: Restore Akeeba file with XAMPP
May I ask if you are using a Joomla SEO Component like SH404SEF?
-
- Joomla! Apprentice
- Posts: 12
- Joined: Wed Nov 26, 2014 11:29 am
Re: Restore Akeeba file with XAMPP
i think XAmp error, try install it againt