VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: Dick Siemer on October 02, 2015, 18:01:22 PM

Title: Update issues from 2.0.24 to 3.0.10
Post by: Dick Siemer on October 02, 2015, 18:01:22 PM
Hi all!

I'm trying to update a website we did not build (oh joyous day) and I'm running into several issues that are quite difficult for me to fix, as I've never worked with Joomla before :-\  I'm running a dev site on a subdomain.
These are the main issues I am currently trying to fix:
Any help will be greatly appreciated!
Title: Re: Update issues from 2.0.24 to 3.0.10
Post by: GJC Web Design on October 02, 2015, 18:07:16 PM
First try your new site on the standard Protostar template

I doubt highly an "over written" Yag template from 2.0.x will ever work on VM3

custom fields depends what they are

if they used the plugin stockable I think your buggered.. although there is a branch of that I think for VM3

otherwise use the "Tools" section to try and update the custom fields
Title: Re: Update issues from 2.0.24 to 3.0.10
Post by: Dick Siemer on October 07, 2015, 17:36:57 PM
Thank you for your answer, it did help me in the right direction! Both plugins were stockable and they don't work anymore. But since this option was being dropped from the site anyway that's not really a problem. I managed to get many other things working again, but somewhere along something big broke...

The pages 'My account', 'My orders' and 'Cart' don't work anymore. The last one only outputs a blank page, the first two just generate a little bit of code, like this:

<div id="yagVmOverWrap">
<div id="yagEcWrapOrdersList">
<div class="vm-wrap">
<div class="vm-orders-list">
<h1>Overview orders VirtueMart</h1>

<div id="yagEcWrapUserLogin">
<!-- Login Form -->


Any clue why this is happening or what I can do to find out what is wrong?
It appears I don't have the Protostar template, I will try to manually add this later.
Title: Re: Update issues from 2.0.24 to 3.0.10
Post by: jenkinhill on October 07, 2015, 18:08:33 PM
Quote
It appears I don't have the Protostar template,

Are you still using Joomla 2.5? If so you wont have Protostar, which is a J3 template. In that case test with Beez20

For blank page resolution see http://forum.virtuemart.net/index.php?topic=121692.0
Title: Re: Update issues from 2.0.24 to 3.0.10
Post by: Dick Siemer on October 08, 2015, 13:45:07 PM
Thank you for your help so far, I get a little closer to understanding what is going on every day :)
There was nothing in the servers error log, but I set Error Reporting to maximum and this gave me the following error:

Fatal error: Call to undefined method shopFunctionsF::getComUserOption() in /***/components/com_yagendooproductmanager/themes/yag_blueberry_etheme/assets/yagIncludes/com_virtuemart/user/login.php on line 20

I solved this by renaming the specified login file to _login.php, which makes Virtuemart use the default file instead. What confuses me is that I cannot find this default file anywhere, even though I searched through all the sites files for id's from the code generated by this particular file  :-\

But that's only one of the dozens of errors that popped up after I enabled Error Reporting, so yeah... We're going to do some more tests to see if the shop itself at least works and then talk to the client about what we are going to do next. Trying to make a Vm2 theme work with Vm3 without any real Joomla skills is a bit of a challenge ;)
Title: Re: Update issues from 2.0.24 to 3.0.10
Post by: jenkinhill on October 08, 2015, 14:10:52 PM
You may get better results by just discarding Yag's VM overrides, but unlike other template developers, they do not make it easy.
Title: Re: Update issues from 2.0.24 to 3.0.10
Post by: GJC Web Design on October 08, 2015, 21:21:15 PM
Agree with Jenks .. either dump it or shell out for their VM3 version (to lock u into their product again..  ;)  )

IMHO a huge amount of what they over ride is totally un-necessary -- often the same or extremely similar code  with renamed func names etc

esp as VM3 is vastly more capable than VM2 so many of their knobs and bells aren't needed