We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 19980 ☆ A M B ☆
    • 275 Posts
    Error: console is not defined
    Source File: http://modxrevo213.example.tld/manager/assets/modext/modext-min.js?v=213pl
    Line: 21

    This line is really big:

    Ext.onReady(function(){if(MODx.config.manager_language=="en"){return false;}Date.dayNames=[_("sunday"),_("monday"),_("tuesday"),_("wednesday"),_("thursday"),_("friday"),_("saturday")];Date.monthNames=[_("january"),_("february"),_("march"),_("april"),_("may"),_("june"),_("july"),_("august"),_("september"),_("october"),_("november"),_("december")];Ext.apply(Ext.grid.GridView.prototype,{sortAscText:_("ext_s.......................


    Can you suggest any help / update?
      modx and ecommerce pro
      • 21738
      • 8 Posts
      I'm having this EXACT same issue. When you select duplicate from the context menu in the manager you get the following error:

      Message: 'console' is undefined
      Line: 21
      Char: 134992
      Code: 0
      URI: /manager/assets/modext/modext-min.js?v=213pl

      Interestingly, if you edit the resource and then use the duplicate button at the top, it works. The other context menu choices also seem to work.

      MODx recently upgraded from 2.0.8pl to 2.1.3pl, browser used to login to the manager is IE8... Anyone got a fix?!?!?!
        • 21738
        • 8 Posts
        Hey that was fun... I fixed my own problem. Modify the console logging part of line 21 of the offending modext-min.js file at character 134992 ... The function that reads:

        console.log(C.attributes)

        should be replaced with:

        window.console && console.log(C.attributes)

        Since apparently IE8 only has a console if you are in the developer tools. Firefox apparently has this enabled out of the box...
          • 28215
          • 4,149 Posts
          Or just upgrade to 2.1.5.
            shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
            • 21738
            • 8 Posts
            Quote from: splittingred at Nov 22, 2011, 12:56 PM
            Or just upgrade to 2.1.5.

            Well blankedie blank blank. Only got around to installing 2.1.3 on Nov. 4th, didn't realize that two more releases followed on the 10th. sad

            Sorry, thought I was being helpful. Thanks.
              • 28215
              • 4,149 Posts
              Any post is helpful! Now people know that upgrading to 2.1.5 should fix that issue. smiley Thanks for your post.
                shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com