jQuery.fancybox error with system cache

Discussion regarding Joomla! 3.x Performance issues.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Mon Aug 13, 2012 3:58 pm

jQuery.fancybox error with system cache

Post by Tempe_S » Tue May 11, 2021 1:36 pm

Hi there,
I have an error with jQuery when system cache is enabled in Joomla Global Config, does anyone know if I can fix this so I can utilise the cache option please?
When 'add to cart' is clicked on an item in the virtuemart product module the following error appears (firebug console) and the product does not add to the cart. This only happens in the index page modules, virtuemart itself seems to be ok as products will add without issue in the store pages themselves.

Error output:
Uncaught TypeError: jQuery.fancybox.showActivity is not a function
cartEffect mysite.com/components/com_virtuemart/assets/js/vmprices.js?vmver=661d8de0:95
addtocart mysite.com/components/com_virtuemart/assets/js/vmprices.js?vmver=661d8de0:223
jQuery 9
product mysite.com/components/com_virtuemart/assets/js/vmprices.js?vmver=661d8de0:296
jQuery 2
product mysite.com/components/com_virtuemart/assets/js/vmprices.js?vmver=661d8de0:239
<anonymous> mysite.com/en/:880
jQuery 8

Joomla version: 3.9.26
Virtuemart version: 3.8.8


User avatar
Joomla! Master
Joomla! Master
Posts: 20314
Joined: Mon Aug 29, 2005 10:17 am
Location: Netherlands/ UK/ S'pore/Jakarta/ North America

Re: jQuery.fancybox error with system cache

Post by leolam » Sun May 30, 2021 3:29 pm

I suggest you post this in the VM forums since this is not a Joomla issue

Leo 8)
Joomla's #1 Professional Services Provider:
#Joomla Professional Support: https://gws-desk.com -
#Joomla Specialized Hosting Solutions: https://gws-host.com -
#Joomla Webmaster Services: gws-webmaster.services

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 27822
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: jQuery.fancybox error with system cache

Post by Per Yngve Berg » Sun May 30, 2021 6:40 pm

Check that the System Page Cache Plugin is not enabled. This plugin is only usable on a static site.

Post Reply

Return to “Performance - Joomla! 3.x”