VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: mike on November 25, 2015, 23:26:00 PM

Title: prev or next product from product page, page stays in loading (white diffuse)
Post by: mike on November 25, 2015, 23:26:00 PM
after upgrade vm from 3.0.11 - 12 i am experience problems when i click on the next or previous product in the product page
The screen stays diffuse - white, and i cannot click on anything anymore... page does not come out of the "loading state"
When i analyse the page i see in the body : "vmloading"

how can this be solved ?

site : http://www.passion4wood.be/en/cactus-detail.html

Title: Re: prev or next product from product page, page stays in loading (white diffuse)
Post by: Jumbo! on November 26, 2015, 08:21:38 AM
Your site is generating JavaScript errors. Disable JCH Optimize plugin and check again.

I also see some invalid JavaScript in your site like below:

$(window).scroll(function() {
if ($(this).scrollTop() > 3){ 
$('').addClass("");
}

});


You need to remove it from your site.
Title: Re: prev or next product from product page, page stays in loading (white diffuse)
Post by: Milbo on November 26, 2015, 23:16:50 PM
Please update to vm3.0.12, but this error is hard to avoid. Sql ordering stuff, not easy to explain. I tried to enhance it, but it is hard to make it perfect without too much perforamance problems.
Title: Re: prev or next product from product page, page stays in loading (white diffuse)
Post by: mike on November 27, 2015, 17:26:01 PM
@ Jumbo : Thanks for the advice, I've disabled parts of the JCH optimize. and it seems to work

Where can I find this code ?

@ Milbo : the problem started when i switched to 3.0.12, before that everything was fine.
Title: Re: prev or next product from product page, page stays in loading (white diffuse)
Post by: Jumbo! on November 29, 2015, 08:35:46 AM
Quote from: mike on November 27, 2015, 17:26:01 PM
Where can I find this code ?
Your template developer should be able to help you on this. I can never know where they added the codes.
Title: Re: prev or next product from product page, page stays in loading (white diffuse)
Post by: mike on November 29, 2015, 09:47:45 AM
ok thanks, I know where to look now.