• Resolved vont

    (@vont)


    Hi!

    I’m getting a “Failed to load resource: the server responded with a status of 403 (Forbidden)”

    for the “wp-content/plugins/woocommerce/assets/js/prettyPhoto/jquery.prettyPhoto.init.min.js?ver=2.1.12”

    Which means that my lightbox for the woo commerce products isn’t working, if I click a product image it opens the image file but I leave my actual site.

    I’ve tried to give file permissions to the folder but with no success and I’ve toggled the settings on an off for lightbox in woo commerce.

    Anyone else with this problem?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Theme Author Silkalns

    (@silkalns)

    Do you use some JavaScript minify plugin, Cache plugin or even some security plugin? Make sure to disable all plugin and see if that works. This is not FTP file permission related issue as files are accessed directly and are printed in website source which means that it will be still visible no matter what permission you have.

    I think it might be some cache or Javascript minify.

    Thread Starter vont

    (@vont)

    No, I’m just in the beginning of developing this site and I haven’t used many plugins so far. I disabled the ones I had except for woocommerce and still couldn’t get it to work.

    Theme Author Silkalns

    (@silkalns)

    Is your website live or you are developing it locally? If locally it might be some XAMPP/MAMP etc related issues that should go away once you push it to live website.

    If your website is live, please post your website URL and I will look into it.

    Thread Starter vont

    (@vont)

    It’s live, with maintenance mode on.

    http://naturalgoods.se/dev/

    login: test
    pw: test

    Theme Author Silkalns

    (@silkalns)

    Try to disable all plugins, I see that you are using plugin to disable admin dashboard which actually get rids of JavaScript and CSS files. There are easier way to disable it via your WordPress user profile.

    If there are some other plugins enabled other than WooCommerce, just disable it for sake of testing.

    Thread Starter vont

    (@vont)

    Thanks for helping!

    Sorry, no luck here, I tried it earlier and then again just now. Same thing, 403 forbidden.

    Theme Author Silkalns

    (@silkalns)

    I am really confused why a single file shows 403 forbidden error while PrettyPhoto library file works without any problem and is loaded from the same folder. It got me puzzled.

    Any custom configuration inside .htaccess file, probably generated by some plugin?

    Since it didn’t work on Twentyfourteen theme either it is not theme related issue but something more is up but I am not sure what.

    Thread Starter vont

    (@vont)

    I think I’ll try another image plugin for now. Thank you for helping and good to hear that it wasn’t just me who had trouble fixing it.

    Thread Starter vont

    (@vont)

    I solved this by downloading another Responsive Lightbox and changing the selector according to this:

    http://gasolicious.com/use-different-lightbox-woocommerce/

    Thankful for the help!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Woocommerce lightbox not working’ is closed to new replies.