I had a hell of time narrowing it down to this module, but I'm having an issue with IE7/8/9. I get a pop from IE asking me to stop running this script because it is causing Internet Explorer to run slowly.

I thought it might have something to do with this:
http://drupal.org/node/1361722

But the solution provided did not work. I'm now using metatag-7.x-1.0-alpha6 which contains that fix. But the issue is still not solved.

It may have something to do with the vertical tabs, but I'm not sure.

This is unfortunate. I have a major site live and this module is the culprit. I wish I was smart enough to fix it. If I turn off the module then everything is fine. So I do know the problem rests with this module in some way.

If anyone has a similar issue or any advice to offer, that would be great. Right now I have the option of telling my client that no one in the office can use IE (which isn't really an option, unfortunately) or turn off metatag completely and consider another option.

CommentFileSizeAuthor
#4 Modules.jpg60.46 KBxpersona
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

Are you using Entity Tokens?

xpersonas’s picture

Yes I am. Should I not be?

DamienMcKenna’s picture

Can you try disabling Entity Tokens and see if the problem persists?

xpersona’s picture

FileSize
60.46 KB

I would, but I don't think I can. It's required by tons of modules on my site. It would take forever to get to that point, and by then my site would be a shell of what it was. If I get some free time next week I may try, but right now I have too much to get done. Unfortunately, I prefer your module over Metatags Quick, but I had to go that route for now.

chandradeep’s picture

Hi All,

I have the issue when we installed meta tag module in drupal 7 it have an issue in IE browser. In IE browser the page script load slowly and if there is any upload field for image/video when we uplaod image/video a pop up open with message 'Stop running the script' .

I have checked the meta tag module js file but i think there is no issue in js file, the main issue in module, when meta tag form is rendering in content page. It make the slowness of page in IE browser. If any one have any idea how to fix this issue.

lsolesen’s picture

@DamienMcKenna. I am having the same issue.

Some firebug load values:

Without entity tokens: 12.26s
With entity tokens: Says unresponsive script and 35.59s

lsolesen’s picture

kerberos’s picture

Same here, so many tokens are loaded that the HTML gets too bulky for the JS to handle in a performant manner. Btw, is there a way to use the module without being able to customize individual nodes?

-Daniel
Dragonvale Breeding Guide

DamienMcKenna’s picture

Status: Active » Postponed

Have you tried the latest releases of Token and Entity (thus Entity Token)?

Also, keep an eye on #1334456: Enable ajax on-demand loading of sub-trees in the Token help.

Unfortunately there's nothing we can do right now, it's an architectural problem between Token and Entity Token :( I'm not going to close this right now, lets leave it Postponed so we at least keep an eye on it.

kerberos’s picture

It's on the latest non-dev releases. Didn't try dev yet. For what we want, we just want general patterns for nodes rather than being able to customize per node. So that wouldn't require the tokens to be loaded on the node edit form. Is this an existing or potential option on the module? We'd be willing to put some work into a patch if the maintainer would consider including it (if it's not yet possible).

Thanks!

-Daniel

DamienMcKenna’s picture

xpersonas’s picture

Man, this issue is still hindering me. I'm making a new, large-scale site. I want to use this module SO BAD. Meta Tags Quick isn't nearly as clean and well designed. It's just this one issue that prevents me from using it. Unfortunately I have to have Rules installed which required entity_token.

This is such a bummer. Not blaming anyone, just disappointed.

I tried the patch mentioned above. I couldn't get it to pass. So I just manually commented out that field. But still nothing. It's slow on IE no matter.

  // Show the list of available tokens.
/*
  $form['metatags']['tokens'] = array(
    '#theme' => 'token_tree',
    '#token_types' => $options['token types'],
    '#weight' => 100,
    '#dialog' => TRUE,
  );
*/

DamienMcKenna’s picture

Version: 7.x-1.0-alpha6 » 7.x-1.x-dev
Status: Postponed » Fixed

The solution for this is to install the latest version of the Token module, which includes a new token browser popup.

xpersonas’s picture

Awesome! I missed that when I was reading through apparently. I still have an initial slowness from the time I click edit to the time I'm actually on a loaded node/edit screen. But I haven't tested it yet to see if that's a problem with the metatag module. But I definitely don't get a slowness error now. Thank you!

DamienMcKenna’s picture

Status: Fixed » Closed (fixed)

Last night saw the release of 7.x-1.0-beta1, so I'm closing all these "fixed" issues in the interest of tidying up the issue queue. Thank you all for your help getting us to this point!