VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: marjolein on June 20, 2017, 20:21:16 PM

Title: Problem with article details (SOLVED)
Post by: marjolein on June 20, 2017, 20:21:16 PM
I'm having issues since I updated from vm 3.2.1 to 3.2.2. I was running on Joomla 3.7.0 but after downloading vm 3.2.2, I updated to Joomla 3.7.2 The problem arose directly after updating to vm 3.2.2.

As you can see in the attachments, in vm 3.2.1 the product details page loaded just fine. In vm 3.2.2 it's not looking like it should. Checking in developer mode, it says this "royal-canin-hond-anallergenic-3-kg-detail Failed to load resource: the server responded with a status of 500 (Internal Server Error)". This only happens with some articles, I believe it's some categories that don't work properly and not necessarily the products itself, but can't be sure.
I'm just an amateur and I have no idea where to look or what to do. Is there anyone that can help please?????
Title: Re: Problem with article details
Post by: GJC Web Design on June 21, 2017, 10:21:38 AM
the 1st step is to identify the server error.. there are multiple posts on here about how to do this

e.g.  http://forum.virtuemart.net/index.php?topic=117042.0
Title: Re: Problem with article details
Post by: marjolein on June 21, 2017, 14:43:51 PM
Found it....

Notice: Undefined property: stdClass::$images in /home/public/sites/www.xxx.nl/templates/vina_zonker/html/com_virtuemart/productdetails/default_showcategory.php on line 72

Fatal error: Call to a member function displayMediaThumb() on null in /home/public/sites/www.xxx.nl/templates/vina_zonker/html/com_virtuemart/productdetails/default_showcategory.php on line 72
Title: Re: Problem with article details
Post by: jenkinhill on June 21, 2017, 15:15:23 PM
OK, your template overrides need updating.
See http://forum.virtuemart.net/index.php?topic=137497
http://forum.virtuemart.net/index.php?topic=137497.msg481439#msg481439
http://forum.virtuemart.net/index.php?topic=137723.msg482456#msg482456
Title: Re: Problem with article details
Post by: marjolein on June 21, 2017, 15:45:16 PM
Thanks. The problem is in the template unfortunately and I don't think I'll get support, but I'll give it a try.