• Resolved arrandir

    (@arrandir)


    Hi,

    I am trying to get the plugin to work on a fresh WordPress installation.
    I created a product and added some layers and content. When I hit the Configure button, nothing happens and an JS error is beeing thrown.

    Any ideas?

    product_configurator.js?ver=1.0.10:45 we had an error: TypeError: Cannot read property ‘open’ of undefined
    at Object.PC.fe.open (product_configurator.js?ver=1.0.10:101)
    at HTMLButtonElement.<anonymous> (product_configurator.js?ver=1.0.10:43)
    at HTMLButtonElement.dispatch (jquery.js?ver=1.12.4-wp:3)
    at HTMLButtonElement.r.handle (jquery.js?ver=1.12.4-wp:3)

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marc Lacroix

    (@marcusig)

    Hi there,

    It seems like you have a server-side protection preventing fetching of javascript files in the uploads directory:

    Failed to load resource: the server responded with a status of 403 () product_configuration_34.js:1

    So either you can fix the permission for the folder https://eigenweijsje.365vision.nl/wp-content/uploads/mkl_product_configurations/

    or you can change the cache folder by using a filter:

    add_filter( 'mkl_pc_cache_dir', array(
    	'path' => '/full/path/to/somewhere_else',
    	'url' => 'https://eigenweijsje.365vision.nl/wp-content/somewhere_else'
    ));

    Marc.

    Thread Starter arrandir

    (@arrandir)

    Ah, found it. Apperantly all JS was blocked by a .htaccess file. Thanks for pointing me in the right direction.

    Works as a charm now ?? Wife will be happy

    Plugin Contributor Marc Lacroix

    (@marcusig)

    Great! “Happy wife, happy life!” as they say ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Configure button throws JS error’ is closed to new replies.