VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: jlb4350 on August 14, 2016, 03:47:25 AM

Title: HTTP ERROR 500 after VM 3.0.16 update
Post by: jlb4350 on August 14, 2016, 03:47:25 AM
I just updated my Joomla 3.6.2 VM installation up to 3.0.16 from 3.0.14. Everything seems fine except for I'm now getting a HTTP Error 500 on the front end when I browse to a product sub-category. I can see the listing of the all the parent categories, but when I click on one to view the child category listing, I get the following error:

The abc.com page isn't working
abc.com is currently unable to handle this request.
HTTP ERROR 500

I can still use the search and get to the products, but I obviously need to be able to browse the categories as well. This wasn't a problem before the update. Also, I've turned SEO off and on in the Joomla config, but this had no effect.
Any suggestions are greatly appreciated.

:)
Title: Re: HTTP ERROR 500 after VM 3.0.16 update
Post by: jenkinhill on August 14, 2016, 11:04:12 AM
Check the source of the error. See http://forum.virtuemart.net/index.php?topic=117042
Title: Re: HTTP ERROR 500 after VM 3.0.16 update
Post by: jlb4350 on August 15, 2016, 04:43:48 AM
Thank you. It's showing


Fatal error: Class 'CurrencyDisplay' not found in /components/com_virtuemart/views/category/view.html.php on line 160

When i check that file, here is the code:

if ($this->products) {
               $this->currency = CurrencyDisplay::getInstance( ); <-- Line 160
               $display_stock = VmConfig::get('display_stock',1);
               $showCustoms = VmConfig::get('show_pcustoms',1);
               if($display_stock or $showCustoms){

Again, this just happened after the latest VM upgrade and it appears that the upgrade had something to do with a new payment system...however, I'm not using any payment system. I only running a catalog. I have all payment stuff turned off.

Any ideas how to fix or bypass this?
Title: Re: HTTP ERROR 500 after VM 3.0.16 update
Post by: jlb4350 on August 15, 2016, 06:03:31 AM
Got if fixed; found the answer in this thread:

https://forum.virtuemart.net/index.php?topic=133888.0

Thank you for your help  :)