Support

Site Restoration

#13822 Can't load Virtuemart Pages after KickStart restore

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

user63901
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? yes
Have I searched the tickets before posting? yes
Have I read the documentation before posting (which pages?)? yes
Joomla! version: 2.5.7
PHP version: 5.3.3
MySQL version: 5.1.61
Host: GoDaddy
Akeeba Backup version which took the backup: Akeeba Backup Professional 3.6.5 (2012-09-14)
Kickstart version used to extract the backup: 3.5.1

Description of my issue:
I had an error uninstalling some software, I restored the site using Kickstart to a previously working site. The home page loads and I can view Articles but I have a problem accessing pages in Virtuemart 2.0.8. I get a 404 error, if I disable JoomSEF version 4.2.8, most of the errors go away. I'm thinking there is a problem with restoring JoomSEF but could not find anything in my searches.

-Mike

nicholas
Akeeba Staff
Manager
I believe you found the root issue yourself :) JoomSEF has most likely cached the URLs of the old site, causing the 404 errors. Like all SEF components it should have a function to purge (empty) the URL cache. Do that and your site will work again.

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!

user63901
I think I have fixed it. I read someplace about checking the .htaccess and found that I had RewriteBase commented out. After turning it on, everything cleared up.
I doubt that it was anything to do with an URL/SEF issue, as nothing changed with the restore. I restored everything back to the root where it came from.
I just find it odd that the backup was from a working site (one day eariler) and once it was restored, all of the sudden, to get it working, it needed the .htaccess activated.

Thanks for the quick help!!
-Mike

nicholas
Akeeba Staff
Manager
If the backup was taken from a different site you have to take into account the differences in server configuration between the two hosts. If the backup was taken from the same site maybe you just got "lucky" and the host did a server configuration modification just the day before.

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!

user63901
I manage my own VM server at Godaddy, I don't believe that anything changed. In fact I have a test site that has been having the same issue for months and I contributed it to the fact that the registration for JoomSEF was not valid on our offline site and just delt with it. I just added the .htaccess file to the test site and JoomSEF is now working.

I crashed my live site this evening by turning off a PLUGIN and it locked me out of the bakcend and most of the frontend went down as well. The backup came from the same site it was restored to, fortunatly it was only one day old :)

Thanks again!

-Mike

nicholas
Akeeba Staff
Manager
Knowing GoDaddy's servers I am surprised that you could run your site without using the RewriteBase line until now. AFAIK you need that if you want to enable SEF URLs on GoDaddy.

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!

user63901
I thought I had it setup, but after the restore there was no .htaccess file, just a htaccess.txt that had the RewriteBase off.
What is the possibility that Akeeba does not detect the .htaccess without the prefix and not include it in the backup? I know some programs don't see it.

-Mike

nicholas
Akeeba Staff
Manager
Akeeba Backup always backs up and restores your .htaccess file when it is present. When using Kickstart the file is extracted as htaccess.bak to prevent its settings from screwing up the extraction. After you finish the restoration and click on Kickstart's "Clean up" button this file is renamed back to .htaccess. If you do not have a .htaccess it may be that:
a. you didn't have a .htaccess file
b. you had a .htaccess file which wasn't readable by PHP, therefore Akeeba Backup couldn't read it
c. you removed it after the restoration
d. your FTP programme / file manager do not show it to you (all dot files are hidden)
e. you didn't follow our restoration instructions, e.g. you didn't use the Clean Up button

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.