• Resolved vickyboo

    (@vickyboo)


    Hi,

    I’ve followed the setup instructions but I’m having trouble with a few things, can you help? Firstly there is a line of code in the js file that firefox does not like, this causes the page to hang. It displays the following message:
    Warning: Unresponsive script
    wp-content/uploads/edge_suite/edge_includes/edge.3.0.0.min.js:76

    Also if I use the following code snippet the composition does not display at all.

    <?php
    if(function_exists(‘edge_suite_view’)){
    echo edge_suite_view();
    }
    ?>

    But if I use this –

    <?php
    if(function_exists(‘edge_suite_comp_view_inline’)){
    echo edge_suite_comp_view_inline(2);
    }
    ?>

    it displays fine. I’m not a php expert, but I’m guessing the second method hard codes the composition into the page. Is there a way to get the dynamic method to work?

    Many thanks,

    Vicky

    https://wordpress.org/plugins/edge-suite/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter vickyboo

    (@vickyboo)

    After reading several forums it was suggested it might be a problem with the .htaccess file. I have added the following line of code –

    AddType application/javascript .js

    However the problem is still there. I’ve noticed it’s only a problem in Firefox on the mac, pc version runs fine with no warning message. I have also contacted my hosting company who confirm it’s a problem in the javascript file.

    Any help would be most appreciated.

    Thanks,

    Vicky

    I am having the same problem since upgrading to 3.9. Only in Firefox and only on the Mac. It does it with two different plugins activated. Both scripts I believe.

    Plugin Author ti2m

    (@ti2m)

    Can you post a link to the site, then I can take a look. Do you have the same problem with a really simple composition? Are you able to test it on a different server?

    Thread Starter vickyboo

    (@vickyboo)

    Interesting, I couldn’t test the composition on a different server but I checked an earlier test version (of the composition of it’s own) in Firefox and that has the same warning message. So the Firefox issue is not down to WordPress or the Plugin it seems it’s a problem when exporting from Edge. I will contact them. Surely other people are having the same issue.

    If you have any ideas about the separate code snippet not working I’d be grateful.
    Composition in situ – http://csense.boxallandwilson.co.uk/approach/information/
    Composition – http://www.boxallandwilson.co.uk/animation_test/ani1.html
    (appears on all pages and is at the bottom of the page above the footer where it says ‘financial services’)

    It would be great to get the following code working:
    <?php
    if(function_exists(‘edge_suite_view’)){
    echo edge_suite_view();
    }
    ?>

    Vicky

    Thread Starter vickyboo

    (@vickyboo)

    I figured it out. My template was missing the following 2 hooks:
    <?php wp_head(); ?>
    <?php wp_footer(); ?>

    The problem with Firefox was a stray piece of code on the timeline.

    Working perfectly now.

    Vicky

    Plugin Author ti2m

    (@ti2m)

    Great that you got it solved. Thanks for the feedback so others can benefit.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Firefox and PHP snippet problem’ is closed to new replies.