Important

Okay
  Public Ticket #1230106
Fancybox breaking in production mode
Closed

Comments

  • Samuel started the conversation

    Hello,

    When our Magento 2 site is in developer mode, this extension works as expected. When we switch the site to production mode, the fancybox functionality does not work. The error "Uncaught TypeError: Cannot read property 'helpers' of undefined" is produced in the developer console.

    The expected functionality is: clicking on an image brings up that image in a lightbox. Instead, clicking on an image sends you to that image's page directly.

    Our site is currently in production mode, so you should be able to experience the issue.

  •  1,319
    Land of replied

    Hello Mate,

    Can you give me ssh (ftp) , backend url and account 

    Regards

  •   Samuel replied privately
  •  1,319
    Land of replied

    Hello Mate 

    Please check your ssh, 

    Error: Connection timed out after 20 seconds of inactivity
    Error: Could not connect to server

    I can't connect your ssh

    Can you run command line : 

    php bin/magento setup:upgrade

    php bin/magento setup:static-content:deploy

    php bin/magento cache:flush

    chmod -R 777 pub var

    Regards