VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: losiuhoi on August 18, 2016, 09:43:18 AM

Title: How to upgrade from VM2.0.18a TO VM 3
Post by: losiuhoi on August 18, 2016, 09:43:18 AM
I had failed to upgrade my VM on a copy of my live site.

If there any Complete Guide for upgrade from VM2.0 to VM3
or any extension make me easier to upgrade my VM

Current Version:
Joomla 2.5.9
VM 2.0.18

Target Version: VM 3
Title: Re: How to upgrade from VM2.0.18a TO VM 3
Post by: GJC Web Design on August 18, 2016, 09:47:15 AM
you just install VM3 over the top of VM2 -- if it fails u need to find out why..

what happened when you say
QuoteI had failed to upgrade my VM on a copy of my live site.

You of course need VM3 compatible VM templates .. as a test replace any templates/YOUR_TEMPLATE/html/com_virtuemart/

with the standard ones from the install or just rename that folder so the over rides aren't included
Title: Re: How to upgrade from VM2.0.18a TO VM 3
Post by: jenkinhill on August 18, 2016, 12:20:56 PM
I seem to recall that later VM3 versions will not work on old J2.5 versions, and in any case, J2.5.9 is insecure.  I would suggest updating Joomla to 2.5.27 with the Dec 2015 security patch (https://docs.joomla.org/Security_hotfixes_for_Joomla_EOL_versions) applied.

Then update VM to the latest version.

Of course this should be tested on a backup/copy of the live site.
Title: Re: How to upgrade from VM2.0.18a TO VM 3
Post by: losiuhoi on August 22, 2016, 09:58:16 AM
I have been upgraded but I got some error message in the website.
May I know what the problem is?
Title: Re: How to upgrade from VM2.0.18a TO VM 3
Post by: GJC Web Design on August 22, 2016, 10:26:10 AM
You need to set up your safe path correctly then see if the not found error is gone

http://docs.virtuemart.net/faqs/110-how-to-set-the-safe-path.html
Title: Re: How to upgrade from VM2.0.18a TO VM 3
Post by: losiuhoi on August 22, 2016, 11:31:00 AM
Safe path problem fixed.

I still got this error message
Title: Re: How to upgrade from VM2.0.18a TO VM 3
Post by: GJC Web Design on August 22, 2016, 15:26:55 PM
No idea-- I don't find that lang constant in VM3.0.16  :-\
Title: Re: How to upgrade from VM2.0.18a TO VM 3
Post by: jenkinhill on August 22, 2016, 15:52:56 PM
COM_VIRTUEMART_FILE_NOT_FOUND is used in mediahandler.php - the ini entry is COM_VIRTUEMART_FILE_NOT_FOUND="File not found %1$s"

But I've never seen it appear
Title: Re: How to upgrade from VM2.0.18a TO VM 3
Post by: GJC Web Design on August 22, 2016, 16:04:51 PM
missing images after your upgrade?
Title: Re: How to upgrade from VM2.0.18a TO VM 3
Post by: losiuhoi on August 23, 2016, 03:49:02 AM
After checking, some images does not existing in live site and my test platform.
But the error message does not display in the live site.

So, how can I disable this error report?
Title: Re: How to upgrade from VM2.0.18a TO VM 3
Post by: GJC Web Design on August 23, 2016, 09:29:48 AM
repair the missing images or try media->
   Synchronize media to VirtueMart