VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: jk15060 on December 27, 2014, 23:37:21 PM

Title: Upgrade from VM 2.6.12 to VM 3.0.2 issues on Joomla 2.5.28
Post by: jk15060 on December 27, 2014, 23:37:21 PM
I just tried to upgrade Virtuemart from 2.6.12 to 3.0.2 and have a couple issues that I hope I can resolve without having to restore the site from a backup. 

First, the VM shop URL display is now blank.  I tried adding the complete URL in SHOP/Vendor area, but that didn't change anything.  I'm actually not quite sure how to resolve this blank screen.

Second, I also have a menu of VM Products which allows me to bypass the blank display page for the VM shop.  Once I get to the products, if I click on the image link, the product name, or the product description, I get this error:
Fatal error: Call to undefined method shopFunctionsF::PrintIcon() in /PATHTOWEBSITE/components/com_virtuemart/views/productdetails/tmpl/new.php on line 82

Everything in the shop seems to be displaying properly, except for the links, especially the product details.  I have looked for similar issues without any success and tried looking over every checkbox in the VM shop's backend interface, but cannot resolve the error.  On the up side, I was able to resolve an issue with a different plugin post-installation.

Can someone point me to an article or a setting that might help me resolve these seemingly minor issues?  If not, I'm going to have to restore the site from backup so that it functions again.

Thank you for any help that's out there.

Title: Re: Upgrade from VM 2.6.12 to VM 3.0.2 issues on Joomla 2.5.28
Post by: jenkinhill on December 27, 2014, 23:50:44 PM
For blank display see this:  http://forum.virtuemart.net/index.php?topic=117042.0

There is no components/com_virtuemart/views/productdetails/tmpl/new.php file in VM3 -  so have you got an old edited file used as an override, but not properly located in the template/html directory? Is that file specified as an override in VM configuration?
Title: Re: Upgrade from VM 2.6.12 to VM 3.0.2 issues on Joomla 2.5.28
Post by: jk15060 on December 28, 2014, 00:24:24 AM
I completely forgot that I used an extension called Art Zoom in by Artetics that enlarges the product when hovering over the item.   That might be part of the problem.  I believe I added the content I needed in the default.php, but did make a copy of the original (ORIGdefault.php), so I still might be able to save the VM site.   I'll have to go do some reading on the Artetics website about the updated version.

Are you referring to templates/adventure/html/com_virtuemart/category for that specific file?  I see a couple in there; namely default.php and defaultOLD.php.  Looks like my doing.  Perhaps I need to update that file from the VM installation?  Sound about right?

Thank you for the very speedy reply. 
Title: Re: Upgrade from VM 2.6.12 to VM 3.0.2 issues on Joomla 2.5.28
Post by: jenkinhill on December 28, 2014, 11:43:51 AM
Looks like you have added an override file in the wrong place and at least one in the wrong place! Suggest you make a local installation of VirtueMart3.0.2_Joomla_2.5.27-Stable-Full_Package.zip  (Joomla + VM, pre-configured) from http://dev.virtuemart.net/projects/virtuemart/files which has no overrides so you can see the correct template file structure.