VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: kiasati on July 09, 2017, 18:34:05 PM

Title: some products detail pages wont display correctly
Post by: kiasati on July 09, 2017, 18:34:05 PM
Hi

i'm using joomla 3.7.3 and virtuemart 3.2.3

some products detail pages won't display right.. see the pic below:
(https://image.ibb.co/c0wVXv/Capture.jpg) (https://imgbb.com/)

for example assume the product is in cameracategory/subcategory1
if i go to "subcategory1 category view" and then click on the product in order to see its detail page, the product detail page displays correct.

but if i try to open the product detail page from "cameracategory view", it displays like the pic above :/

what is the problem?

please help...
Title: Re: some products detail pages wont display correctly
Post by: hellorain on July 11, 2017, 07:04:47 AM
Hello,

I suppose its issue of css broken.

Can you provide us your website url so check different products?

Best Regards,
hellorain.
Title: Re: some products detail pages wont display correctly
Post by: Milbo on July 12, 2017, 15:44:47 PM
You disabled the php errors on your page.

Enable it in vm config. Then you see the fatal error which is responsible for
Title: Re: some products detail pages wont display correctly
Post by: kiasati on July 15, 2017, 16:20:33 PM
Quote from: Milbo on July 12, 2017, 15:44:47 PM
You disabled the php errors on your page.

Enable it in vm config. Then you see the fatal error which is responsible for

Notice: Undefined property: stdClass::$images in /public_html/components/com_virtuemart/views/productdetails/tmpl/default_showcategory.php on line 72

Fatal error: Call to a member function displayMediaThumb() on null in /public_html/components/com_virtuemart/views/productdetails/tmpl/default_showcategory.php on line 72


ERRORS IN CONSOLE:

1.
Uncaught ReferenceError: jQuery is not defined
    at دوربين-مداربسته-هايک-ويژن-مدل-ds-2ce16d0t-it1-detail:10
دوربين-مداربسته-هايک-ويژن-مدل-ds-2ce16d0t-it1-detail:14

2.
Uncaught ReferenceError: jQuery is not defined
    at دوربين-مداربسته-هايک-ويژن-مدل-ds-2ce16d0t-it1-detail:14
دوربين-مداربسته-هايک-ويژن-مدل-ds-2ce16d0t-it1-detail:22

4.
Uncaught ReferenceError: jQuery is not defined
    at دوربين-مداربسته-هايک-ويژن-مدل-ds-2ce16d0t-it1-detail:22
cloud-zoom.1.0.3.js:418

5.
Uncaught ReferenceError: jQuery is not defined
    at cloud-zoom.1.0.3.js:418
jquery.flexslider-min.js:5

6.
Uncaught ReferenceError: jQuery is not defined
    at jquery.flexslider-min.js:5
دوربين-مداربسته-هايک-ويژن-مدل-ds-2ce16d0t-it1-detail:50

7.
Uncaught ReferenceError: jQuery is not defined
    at دوربين-مداربسته-هايک-ويژن-مدل-ds-2ce16d0t-it1-detail:50
%D8%AF%D9%88%D8%B1%D8%A8%D9%8A%D9%86-%D9%85%D8%AF%D8%A7%D8%B1%D8%A8%D8%B3%D...A%DA%A9-%D9%88%D9%8A%DA%98%D9%86-%D9%85%D8%AF%D9%84-ds-2ce16d0t-it1-detail

8.
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Title: Re: some products detail pages wont display correctly
Post by: jenkinhill on July 15, 2017, 17:39:31 PM
So you can now see the fatal error - Call to a member function displayMediaThumb() on null

So searching the forum with that you will find, amongst others:

http://forum.virtuemart.net/index.php?topic=137142.msg482451#msg482451
http://forum.virtuemart.net/index.php?topic=137723
http://forum.virtuemart.net/index.php?topic=136152
http://forum.virtuemart.net/index.php?topic=137497

You should update your template. You don't say which VM3.2.3 release you are using, but the most stable is VM3.2.3.9587  -  http://forum.virtuemart.net/index.php?topic=137816.0