Restoring a site

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
AustinBike
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Wed Oct 17, 2012 12:37 am

Restoring a site

Post by AustinBike » Fri Dec 04, 2015 4:58 am

Long story, but I have a Joomla 2.5.7 site that is running fine and stable. I have been backing up with Akeeba regularly.

I had not tested a backup in ages, not since I ran Windows (almost 2 years ago).

Today I tried to install Joomla on my NAS (installed with no problem, but only supports 3.0. When I installed kickstart and loaded the backup, it went fine. I can see the site and everything looks beautiful. Until you click on any link. Everything beyond the top page is a 404.

Thought it might be the NAS so I installed Joomla on a Mac server that I also have. Again it was 3.0. Unfortunately I see the exact same problem. The main page renders fine. At the bottom the links to more pages (featured articles) works, but when you click on any of the navigation or other content, it is a 404.

Is this most likely a 2.5.7 vs. 3.0 issue or is this most likely a broken database?

What is the best way to troubleshoot this issue?

I am a relative novice on Joomla and my site has been so rock solid I haven't bothered to learn a lot about the underpinnings because it was mostly a "set and forget" environment.

The actual live site is http://www.[removed]
Last edited by mandville on Fri Dec 04, 2015 5:01 pm, edited 1 time in total.
Reason: broke link for security reasons

harperlala
Joomla! Guru
Joomla! Guru
Posts: 697
Joined: Mon Aug 24, 2015 5:55 pm

Re: Restoring a site

Post by harperlala » Fri Dec 04, 2015 5:49 am

that site is joomla 2x and all links are ok. which bug do you talk?

AustinBike
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Wed Oct 17, 2012 12:37 am

Re: Restoring a site

Post by AustinBike » Fri Dec 04, 2015 1:44 pm

That site is fine.

The problem is on the site that I am trying to restore locally in order to test my backup.

The front page works fine, but any content beyond that returns a 404 error.

I think this may be a result of the .htaccess file but I am not sure how to troubleshoot the problem.

harperlala
Joomla! Guru
Joomla! Guru
Posts: 697
Joined: Mon Aug 24, 2015 5:55 pm

Re: Restoring a site

Post by harperlala » Fri Dec 04, 2015 1:56 pm

you can download .htaccess from your server and copy in your local:
https://docs.joomla.org/Preconfigured_htaccess

AustinBike
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Wed Oct 17, 2012 12:37 am

Re: Restoring a site

Post by AustinBike » Fri Dec 04, 2015 5:32 pm

When I do that I get the following error:

mark('afterLoad') : null; // Instantiate the application. $app = JFactory::getApplication('site'); // Execute the application. $app->execute();

AustinBike
Joomla! Apprentice
Joomla! Apprentice
Posts: 22
Joined: Wed Oct 17, 2012 12:37 am

Re: Restoring a site

Post by AustinBike » Fri Dec 04, 2015 5:39 pm

And when I remove the .htaccess the "base" site (a test php index) works again.

ultimately the .htaccess has the following:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^austinbike\.com$ [NC]
RewriteRule ^(.*)$ http://www.austinbike.com/$1 [R=301,L]

Is this the proper context for this statement:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^austinbike\.com$ [NC]
RewriteRule ^(.*)$ http://localhost/$1 [R=301,L]

If so, what should the second line be? Can't seem to get the right context.


Locked

Return to “Installation Joomla! 2.5”