Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-46438

Uncaught TypeError: Cannot read property 'theme_bootstrapbase' of undefined

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Not a bug
    • Affects Version/s: 2.7
    • Fix Version/s: None
    • Component/s: JavaScript
    • Labels:
      None
    • Affected Branches:
      MOODLE_27_STABLE

      Description

      Error message in Summary leads to the fact that none of the javascripts on my Moodle site is working, which significantly degrades the user-friendliness of the site.
      On local system the plain installation works as expected, plain installation on the server results in the blocked JS; Also I had to copy content of /theme/bootstrapbase/yui/src/bootstrap/js to theme/bootstrapbase/yui/bootstrap, in order to access bootstrap.js, but that help only partially, and I still face the error message in Summary.

      Further logs:

      //<![CDATA[
      var M = {}; M.yui = {};
      M.pageloadstarttime = new Date();
      M.cfg =

      {"wwwroot":"http:\/\/kurzy.ajatcz.cz\/subdom\/kurzy","sesskey":"bBcN5sB9BK","loadingicon":"http:\/\/kurzy.ajatcz.cz\/subdom\/kurzy\/theme\/image.php\/clean\/core\/1405522281\/i\/loading_small","themerev":"1405522281","slasharguments":1,"theme":"clean","jsrev":"1405522281","svgicons":true,"developerdebug":true}

      ;var yui1ConfigFn = function(me) {if(/-skin|reset|fonts|grids|base/.test(me.name)){me.type='css';me.path=me.path.replace(/\.js/,'.css');me.path=me.path.replace(/\/yui2-skin/,'/assets/skins/sam/yui2-skin')}};
      var yui2ConfigFn = function(me) {var parts=me.name.replace(/^moodle-/,'').split(''),component=parts.shift(),module=parts[0],min='-min';if(/(skin|core)$/.test(me.name))

      {parts.pop();me.type='css';min=''}

      ;if(module)

      {var filename=parts.join('-');me.path=component+'/'+module+'/'+filename+min+'.'+me.type}

      else me.path=component+'/'component'.'+me.type};
      YUI_config = {"debug":true,"base":"http:\/\/kurzy.ajatcz.cz\/subdom\/kurzy\/lib\/yuilib\/3.15.0\/","comboBase":"http:\/\/kurzy.ajatcz.cz\/subdom\/kurzy\/theme\/yui_combo.php\/","combine":false,"filter":"RAW","insertBefore":"firstthemesheet","groups":{"yui-patched":{"combine":true,"root":"3.15.0_1\/","patterns":{"dd-drag":

      {"group":"yui-patched"}

      ,"dd-gestures":{"group":"yui-patched"}},"modules":{"dd-drag":[],"dd-gestures":[]}},"yui2":{"base":"http:\/\/kurzy.ajatcz.cz\/subdom\/kurzy\/lib\/yuilib\/2in3\/2.9.0\/build\/","comboBase":"http:\/\/kurzy.ajatcz.cz\/subdom\/kurzy\/theme\/yui_combo.php\/","combine":false,"ext":false,"root":"2in3\/2.9.0\/build\/","patterns":{"yui2-":

      {"group":"yui2","configFn":yui1ConfigFn}

      }},"moodle":{"name":"moodle","base":"http:\/\/kurzy.ajatcz.cz\/subdom\/kurzy\/theme\/yui_combo.php\/m\/1405522281\/","combine":false,"comboBase":"http:\/\/kurzy.ajatcz.cz\/subdom\/kurzy\/theme\/yui_combo.php\/","ext":false,"root":"m\/1405522281\/","patterns":{"moodle-":{"group":"moodle","configFn":yui2ConfigFn}},"filter":"DEBUG","modules":{"moodle-core-blocks":

      {"requires":["base","node","io","dom","dd","dd-scroll","moodle-core-dragdrop","moodle-core-notification"]}

      ,"moodle-core-event":

      {"requires":["event-custom"]}

      ,"moodle-core-actionmenu":

      {"requires":["base","event","node-event-simulate"]}

      ,"moodle-core-handlebars":{"condition":{"trigger":"handlebars","when":"after"}},"moodle-core-notification":

      {"requires":["moodle-core-notification-dialogue","moodle-core-notification-alert","moodle-core-notification-confirm","moodle-core-notification-exception","moodle-core-notification-ajaxexception"]}

      ,"moodle-core-notification-dialogue":

      {"requires":["base","node","panel","event-key","dd-plugin","moodle-core-widget-focusafterclose","moodle-core-lockscroll"]}

      ,"moodle-core-notification-alert":

      {"requires":["moodle-core-notification-dialogue"]}

      ,"moodle-core-notification-confirm":

      {"requires":["moodle-core-notification-dialogue"]}

      ,"moodle-core-notification-exception":

      {"requires":["moodle-core-notification-dialogue"]}

      ,"moodle-core-notification-ajaxexception":

      {"requires":["moodle-core-notification-dialogue"]}

      ,"moodle-core-maintenancemodetimer":

      {"requires":["base","node"]}

      ,"moodle-core-lockscroll":

      {"requires":["plugin","base-build"]}

      ,"moodle-core-dragdrop":

      {"requires":["base","node","io","dom","dd","event-key","event-focus","moodle-core-notification"]}

      ,"moodle-core-checknet":

      {"requires":["base-base","moodle-core-notification-alert","io-base"]}

      ,"moodle-core-formchangechecker":

      {"requires":["base","event-focus"]}

      ,"moodle-core-tooltip":

      {"requires":["base","node","io-base","moodle-core-notification-dialogue","json-parse","widget-position","widget-position-align","event-outside","cache-base"]}

      ,"moodle-core-chooserdialogue":

      {"requires":["base","panel","moodle-core-notification"]}

      ,"moodle-core-dock":

      {"requires":["base","node","event-custom","event-mouseenter","event-resize","escape","moodle-core-dock-loader"]}

      ,"moodle-core-dock-loader":

      {"requires":["escape"]}

      ,"moodle-core-popuphelp":

      {"requires":["moodle-core-tooltip"]}

      ,"moodle-core-formautosubmit":

      {"requires":["base","event-key"]}

      ,"moodle-core_availability-form":

      {"requires":["base","node","event","panel","moodle-core-notification-dialogue","json"]}

      ,"moodle-backup-confirmcancel":

      {"requires":["node","node-event-simulate","moodle-core-notification-confirm"]}

      ,"moodle-backup-backupselectall":

      {"requires":["node","event","node-event-simulate","anim"]}

      ,"moodle-calendar-eventmanager":

      {"requires":["base","node","event-mouseenter","overlay","moodle-calendar-eventmanager-skin"]}

      ,"moodle-course-categoryexpander":

      {"requires":["node","event-key"]}

      ,"moodle-course-management":

      {"requires":["base","node","io-base","moodle-core-notification-exception","json-parse","dd-constrain","dd-proxy","dd-drop","dd-delegate","node-event-delegate"]}

      ,"moodle-course-formatchooser":

      {"requires":["base","node","node-event-simulate"]}

      ,"moodle-course-modchooser":

      {"requires":["moodle-core-chooserdialogue","moodle-course-coursebase"]}

      ,"moodle-course-dragdrop":

      {"requires":["base","node","io","dom","dd","dd-scroll","moodle-core-dragdrop","moodle-core-notification","moodle-course-coursebase","moodle-course-util"]}

      ,"moodle-course-util":{"requires":["node"],"use":["moodle-course-util-base"],"submodules":{"moodle-course-util-base":{},"moodle-course-util-section":

      {"requires":["node","moodle-course-util-base"]}

      ,"moodle-course-util-cm":

      {"requires":["node","moodle-course-util-base"]}

      }},"moodle-course-toolboxes":

      {"requires":["node","base","event-key","node","io","moodle-course-coursebase","moodle-course-util"]}

      ,"moodle-form-shortforms":

      {"requires":["node","base","selector-css3"]}

      ,"moodle-form-showadvanced":

      {"requires":["node","base","selector-css3"]}

      ,"moodle-form-passwordunmask":

      {"requires":["node","base"]}

      ,"moodle-question-preview":

      {"requires":["base","dom","event-delegate","event-key","core_question_engine"]}

      ,"moodle-question-searchform":

      {"requires":["base","node"]}

      ,"moodle-question-chooser":

      {"requires":["moodle-core-chooserdialogue"]}

      ,"moodle-question-qbankmanager":

      {"requires":["node","selector-css3"]}

      ,"moodle-availability_completion-form":

      {"requires":["base","node","event","moodle-core_availability-form"]}

      ,"moodle-availability_date-form":

      {"requires":["base","node","event","io","moodle-core_availability-form"]}

      ,"moodle-availability_grade-form":

      {"requires":["base","node","event","moodle-core_availability-form"]}

      ,"moodle-availability_group-form":

      {"requires":["base","node","event","moodle-core_availability-form"]}

      ,"moodle-availability_grouping-form":

      {"requires":["base","node","event","moodle-core_availability-form"]}

      ,"moodle-availability_profile-form":

      {"requires":["base","node","event","moodle-core_availability-form"]}

      ,"moodle-mod_assign-history":

      {"requires":["node","transition"]}

      ,"moodle-mod_quiz-autosave":

      {"requires":["base","node","event","event-valuechange","node-event-delegate","io-form"]}

      ,"moodle-message_airnotifier-toolboxes":

      {"requires":["base","node","io"]}

      ,"moodle-block_navigation-navigation":

      {"requires":["base","io-base","node","event-synthetic","event-delegate","json-parse"]}

      ,"moodle-filter_glossary-autolinker":

      {"requires":["base","node","io-base","json-parse","event-delegate","overlay","moodle-core-event","moodle-core-notification-alert"]}

      ,"moodle-filter_mathjaxloader-loader":

      {"requires":["moodle-core-event"]}

      ,"moodle-editor_atto-editor":

      {"requires":["node","io","overlay","escape","event","event-simulate","event-custom","yui-throttle","moodle-core-notification-dialogue","moodle-editor_atto-rangy","handlebars","timers"]}

      ,"moodle-editor_atto-plugin":

      {"requires":["node","base","escape","event","event-outside","handlebars","event-custom","timers"]}

      ,"moodle-editor_atto-menu":

      {"requires":["moodle-core-notification-dialogue","node","event","event-custom"]}

      ,"moodle-editor_atto-rangy":

      {"requires":[]}

      ,"moodle-report_eventlist-eventfilter":

      {"requires":["base","event","node","node-event-delegate","datatable","autocomplete","autocomplete-filters"]}

      ,"moodle-report_loglive-fetchlogs":

      {"requires":["base","event","node","io","node-event-delegate"]}

      ,"moodle-gradereport_grader-scrollview":

      {"requires":["base","node"]}

      ,"moodle-tool_capability-search":

      {"requires":["base","node"]}

      ,"moodle-theme_bootstrap-zoom":

      {"requires":["node"]}

      ,"moodle-theme_bootstrap-bootstrap":

      {"requires":["node","selector-css3"]}

      ,"moodle-theme_bootstrapbase-bootstrap":

      {"requires":["node","selector-css3"]}

      ,"moodle-assignfeedback_editpdf-editor":

      {"requires":["base","event","node","io","graphics","json","event-move","querystring-stringify-simple","moodle-core-notification-dialog","moodle-core-notification-exception","moodle-core-notification-ajaxexception"]}

      ,"moodle-atto_accessibilitychecker-button":

      {"requires":["color-base","moodle-editor_atto-plugin"]}

      ,"moodle-atto_accessibilityhelper-button":

      {"requires":["moodle-editor_atto-plugin"]}

      ,"moodle-atto_align-button":

      {"requires":["moodle-editor_atto-plugin"]}

      ,"moodle-atto_bold-button":

      {"requires":["moodle-editor_atto-plugin"]}

      ,"moodle-atto_charmap-button":

      {"requires":["moodle-editor_atto-plugin"]}

      ,"moodle-atto_clear-button":

      {"requires":["moodle-editor_atto-plugin"]}

      ,"moodle-atto_collapse-button":

      {"requires":["moodle-editor_atto-plugin"]}

      ,"moodle-atto_emoticon-button":

      {"requires":["moodle-editor_atto-plugin"]}

      ,"moodle-atto_equation-button":

      {"requires":["moodle-editor_atto-plugin","moodle-core-event","io","event-valuechange","tabview","array-extras"]}

      ,"moodle-atto_html-button":

      {"requires":["moodle-editor_atto-plugin","event-valuechange"]}

      ,"moodle-atto_image-button":

      {"requires":["moodle-editor_atto-plugin"]}

      ,"moodle-atto_indent-button":

      {"requires":["moodle-editor_atto-plugin"]}

      ,"moodle-atto_italic-button":

      {"requires":["moodle-editor_atto-plugin"]}

      ,"moodle-atto_link-button":

      {"requires":["moodle-editor_atto-plugin"]}

      ,"moodle-atto_managefiles-usedfiles":

      {"requires":["node","escape"]}

      ,"moodle-atto_managefiles-button":

      {"requires":["moodle-editor_atto-plugin"]}

      ,"moodle-atto_media-button":

      {"requires":["moodle-editor_atto-plugin"]}

      ,"moodle-atto_noautolink-button":

      {"requires":["moodle-editor_atto-plugin"]}

      ,"moodle-atto_orderedlist-button":

      {"requires":["moodle-editor_atto-plugin"]}

      ,"moodle-atto_rtl-button":

      {"requires":["moodle-editor_atto-plugin"]}

      ,"moodle-atto_strike-button":

      {"requires":["moodle-editor_atto-plugin"]}

      ,"moodle-atto_subscript-button":

      {"requires":["moodle-editor_atto-plugin"]}

      ,"moodle-atto_superscript-button":

      {"requires":["moodle-editor_atto-plugin"]}

      ,"moodle-atto_table-button":

      {"requires":["moodle-editor_atto-plugin","moodle-editor_atto-menu","event","event-valuechange"]}

      ,"moodle-atto_title-button":

      {"requires":["moodle-editor_atto-plugin"]}

      ,"moodle-atto_underline-button":

      {"requires":["moodle-editor_atto-plugin"]}

      ,"moodle-atto_undo-button":

      {"requires":["moodle-editor_atto-plugin"]}

      ,"moodle-atto_unorderedlist-button":

      {"requires":["moodle-editor_atto-plugin"]}

      }},"gallery":{"name":"gallery","base":"http:\/\/kurzy.ajatcz.cz\/subdom\/kurzy\/lib\/yuilib\/gallery\/","combine":false,"comboBase":"http:\/\/kurzy.ajatcz.cz\/subdom\/kurzy\/theme\/yui_combo.php\/","ext":false,"root":"gallery\/1405522281\/","patterns":{"gallery-":{"group":"gallery"}}}},"modules":{"core_filepicker":

      {"name":"core_filepicker","fullpath":"http:\/\/kurzy.ajatcz.cz\/subdom\/kurzy\/lib\/javascript.php\/1405522281\/repository\/filepicker.js","requires":["base","node","node-event-simulate","json","async-queue","io-base","io-upload-iframe","io-form","yui2-treeview","panel","cookie","datatable","datatable-sort","resize-plugin","dd-plugin","escape","moodle-core_filepicker"]}

      ,"mathjax":

      {"name":"mathjax","fullpath":"http:\/\/cdn.mathjax.org\/mathjax\/2.3-latest\/MathJax.js?delayStartupUntil=configured"}

      }};
      M.yui.loader = {modules: {}};

      //]]>

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            trachta Frantisek Trachta
            Participants:
            Component watchers:
            Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: