VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: mjweb on June 26, 2018, 15:29:45 PM

Title: shopping cart not fully working after upgrade
Post by: mjweb on June 26, 2018, 15:29:45 PM
since our website designer left, have been super hesitant to upgrade, but finally did today with latest joomla first then latest virtuemart.. But now when we Add to Cart, it does seems to as you can click on the cart on that upper page and see the items listed there, however, if you click Show Cart , then it just goes to nothing.
the joomla is 3.8.8 and the virtuemart says 3.2.14 .. it does say there are extension updates (5) but when i click on them there are error messages...  Although i don't know what each is for,  the extension updates avail showing are All Videos, French CA, JCE Editor Pro, Simple Image Gallery and VM payment offline credit card if that helps..  thank you for any help.
Title: Re: shopping cart not fully working after upgrade
Post by: Jörgen on June 26, 2018, 15:41:34 PM
From what vm version did you upgrade?
I guess you need to adjust the template. There are instructions on vm website about the product container change i believe. If it is very old more adjustments may be neccessary.
Jörgen @ Kreativ Fotografi
Title: Re: shopping cart not fully working after upgrade
Post by: mjweb on June 26, 2018, 15:45:52 PM
he set it up for us about 2-3 yrs ago, i will go look at the template page, thank you
Title: Re: shopping cart not fully working after upgrade
Post by: mjweb on June 26, 2018, 15:52:22 PM
so what do you think i should change under template? i just looked quickly and tried checking/unchecking a few things, but no change.. So to confirm, when i click add to cart, it does add to cart, however, if i want to checkout or show cart, it just goes to a blank page (  *.com/index.php/cart )  nothing there.   
Title: Re: shopping cart not fully working after upgrade
Post by: GJC Web Design on June 26, 2018, 17:46:54 PM
you need to have full error reporting and debug on ..

but a white screen is a php fatal error

If your template is old it may well need some code adjustments... but no one can tell you what without having a look at the site and debugging it.. 

If u don't have this skill set then u will need to employ someone.

You can always try as a test loading the standard Beez template and see if it works or renaming (disabling) your current template over rides
Title: Re: shopping cart not fully working after upgrade
Post by: mjweb on June 26, 2018, 18:51:39 PM
thank you, the guy who set it up bailed, and i've called around but no business is familiar with it so have been figuring things out myself over the last couple of years, not fun... ok i will try to figure out what you have written there  :)  thank you
Title: Re: shopping cart not fully working after upgrade
Post by: mjweb on June 26, 2018, 18:54:26 PM
at least i got an error msg this time although it looks bad :)  Fatal error: Access level to VirtueMartViewCart::$useSSL must be public (as in class VmView) in /data../htdocs/plugins/system/vponepagecheckout/cart/cartview.html.php on line 20
Title: Re: shopping cart not fully working after upgrade
Post by: GJC Web Design on June 26, 2018, 19:42:40 PM
this is too much guess work .. u have to supply far more info if u want help

your using a 3rd party checkout out VP and that is an access error

perhaps your menu to cart is only for registered?

have u a ssl cert?

Title: Re: shopping cart not fully working after upgrade
Post by: mjweb on June 26, 2018, 19:46:00 PM
i actually just found it and figured it out!  going to post it here in case anyone else gets stuck with it:

/plugins/system/vponepagecheckout/cart/cartview.html.php

change this:

protected $useSSL;

to

public $useSSL;

  and for some unknown reason to me, it worked.. thanks for your ideas above, without the debugging turned on to see the error msg i would never have found it..