• Resolved umni

    (@umni)


    Suddenly the plugin stopped working and started saying Loading WEBGL 3D.
    Looking in the console I can see this error
    Failed to load resource: the server responded with a status of 404 ()
    but if I look at the plugin folder I can see the missing files (turn2.mp3 and three.min.js) in the folders in
    wp-content/plugins/3d-flipbook-dflip-lite/assets/

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author DearHive

    (@dearhive)

    Hi,

    The location variable is not registered in the page, because, the JavaScript that does that is missing.

    May be due to autooptimize plugin. Can you try by disabling the cache plugin.
    If it works let us know, we will look for a solution.

    Best Regards,
    DearHive

    Thread Starter umni

    (@umni)

    Yes, that was it.
    Disabling Autoptimize plugin, fixed the issue.
    Thanks a lot!

    Would be interesting to know what the exact problem is, if you are too (interested), then first and foremost try to identify what is breaking things by just disabling CSS or JS or HTML or Image optimization (incl. lazyload). Based on that we can see what the next steps need to be πŸ™‚

    frank

    Plugin Author DearHive

    (@dearhive)

    Hi @optimizingmatters ,

    Thanks for your interest.

    If you have a look at an example page: https://dearflip.com/realistic-3d-flipbook-wordpress-plugin/

    DearFlip adds the following script to the page to register Location variable and other default settings.

    <script data-cfasync="false"> 
    var dFlipLocation = "https://dearflip.com/wp-content/plugins/dflip/assets/"; 
    .....
    </script>

    But the script is missing when the user added your plugin. You can test using the lite plugin.

    Best regards,
    DearHive

    • This reply was modified 4 years, 1 month ago by DearHive.

    Did a quick test and couldn’t get the combination to break, which makes sense as as per the hardcoded exclusions AO _should_ never aggregate JavaScript that has data-cfasync set.

    @umni were you using an older version of Autoptimize maybe?

    Thread Starter umni

    (@umni)

    @optimizingmatters, the version I am using is Version 2.9.5.1

    • This reply was modified 4 years, 1 month ago by umni.
    minhchanh6

    (@minhchanh6)

    Hello, I have the same issue, GET http://127.0.0.1:5500/Branding/js/libs/three.min.js?ver=1.7.3.5 net::ERR_ABORTED 404 (Not Found). I’m working on HTML & CSS & Javascript. How to fix that? I don’t know how to register the location variable.

    I’m try var dFlipLocation = "http://127.0.0.1:5500/Branding/js/libs/three.min.js?ver=1.7.3.5" but don't work.

    Thank your help

    Plugin Author DearHive

    (@dearhive)

    Hi @minhchanh6 ,

    dFlipLocation is added by the WordPress plugin, you won’t need to add it again.

    Also, it is autodetected if it’s not set.

    Please contact on
    https://github.com/dearhive/dearflip-jquery-flipbook/issues

    for jQuery related issues.

    minhchanh6

    (@minhchanh6)

    Oh sorry, i’m not working on WordPress, I’m working on Vanilla Js project. When I’m added the script and got an issue. I don’t know how to fix that. You know what I’m saying. Sorry for my english

    Thanks

    Plugin Author DearHive

    (@dearhive)

    @minhchanh6 it’s fine, no problem. We will get it sorted.

    Please send us an issue and a a repo (fork) for us to view.
    https://github.com/dearhive/dearflip-jquery-flipbook/issues

    So far we can just deduce that the dFlipLocation should be http://127.0.0.1:5500/Branding

    Best regards,
    Deepak

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

The topic ‘Loading WEBGL 3D’ is closed to new replies.