Author Topic: some products detail pages wont display correctly  (Read 430 times)

kiasati

  • Jr. Member
  • **
  • Posts: 75
  • A beginner
some products detail pages wont display correctly
« 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:


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...

hellorain

  • Jr. Member
  • **
  • Posts: 69
    • Raincreatives - Virtuemart & Mobile Commerce Experts
  • Skype Name: support.raincreatives
Re: some products detail pages wont display correctly
« Reply #1 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.
Raincreatives - Virtuemart & Mobile Commerce Experts

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9372
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: some products detail pages wont display correctly
« Reply #2 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
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

kiasati

  • Jr. Member
  • **
  • Posts: 75
  • A beginner
Re: some products detail pages wont display correctly
« Reply #3 on: July 15, 2017, 16:20:33 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)

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26357
  • Always on vacation
    • Jenkin Hill Internet
Re: some products detail pages wont display correctly
« Reply #4 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
Kelvyn

Jenkin Hill Internet,
Keswick, Lake District

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM3.2.4 on Joomla 3.8.1 PHP 7.0.23

Testing VM3.2.5 on J!3.8.1