VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: wirecreative on July 28, 2018, 01:23:23 AM

Title: HELP: Site redirecting to Virtuemart Migration?
Post by: wirecreative on July 28, 2018, 01:23:23 AM
Hi, I'm trying to help someone clean up an old Joomla website. They once had Virtuemart installed but it is no longer installed. After I cleaned the old Virtuemart tables out of the database, the entire public end of the site began redirecting to an administrator page for migrating/updating virtuemart, like:

http://www.domainname.com/administrator/index.php?option=com_virtuemart&view=updatesmigration&install=1

How do I stop it from doing this? Where is this redirect command coming from?

(I do have a recent backup I can restore, but I'd like to avoid this happening in the future, if possible.)

Thanks!
Title: Re: HELP: Site redirecting to Virtuemart Migration?
Post by: Jörgen on July 28, 2018, 02:53:54 AM
hrmmm, VM version, Joomla version,  etc

Is there something in the Joomla install directory ??

Jörgen @ Kreativ Fotografi
Title: Re: HELP: Site redirecting to Virtuemart Migration?
Post by: Milbo on July 28, 2018, 12:29:51 PM
That is the normal behaviour, when you call vm via menu item and there is nothing installed, it calls the installer then.
Title: Re: HELP: Site redirecting to Virtuemart Migration?
Post by: Jörgen on July 28, 2018, 19:13:43 PM
Didn't know that. Nice to learn something new.

Jörgen @ Kreativ Fotografi
Title: Re: HELP: Site redirecting to Virtuemart Migration?
Post by: wirecreative on July 28, 2018, 22:54:03 PM
Quote from: Milbo on July 28, 2018, 12:29:51 PM
That is the normal behaviour, when you call vm via menu item and there is nothing installed, it calls the installer then.

That's what I thought might have been involved, but the home page was not linked to a Virtuemart menu item. It was linked to the Article Manager's Featured Articles. In fact, Virtuemart **was not even installed** on this site. There was no Virtuemart in the Components menu, no VM modules and only two orphaned VM payment plugins. There were a few Virtuemart menu items, but these were unpublished with the note "component not installed."

This redirection error started happening after I deleted Virtuemart's (presumably) orphaned database tables and it happened regardless of which public page I tried to access.

Anyway, I'm going to be experimenting with a copy of this site on a test server today to see if I can recreate this and isolate why it's happening.

Quote
hrmmm, VM version, Joomla version,  etc

Is there something in the Joomla install directory ??

Jörgen @ Kreativ Fotografi

This is a poorly managed Joomla 2.5 site hosted at Godaddy. There's no known version of Virtuemart, for the reason statedabove. I'll check the installation folder, thanks!
Title: Re: HELP: Site redirecting to Virtuemart Migration?
Post by: jjk on August 02, 2018, 22:07:25 PM
Reminds me of an old tutorial I wrote long time ago. Perhaps some of the hints in that article are still helpful in your case, if you want to clear any VM leftovers.
https://docs.virtuemart.net/tutorials/installation-migration-upgrade/98-possible-virtuemart-installation-problems.html