Moodle

File Picker does not load properly

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 2.0.2
  • Fix Version/s: None
  • Component/s: Unknown
  • Labels:
    None
  • Environment:
    Server: Scientific Linux 6, PHP Version 5.3.2
    Clients:
    Win 7 - Chrome 10.0.648.205, Firefox 4.0, IE 8, IE 9
    Linux - Cent OS 5 Firefox 3
  • Database:
    MySQL
  • URL:
    Can provide URL if requested
  • Affected Branches:
    MOODLE_20_STABLE

Description

When attempting to upload a file via the file picker only the first repository plugin is listed, it is not functional. Occurs regardless of which plugin is first. The following errors are given in the javascript console immediately after clicking the "Choose a File" button:

Firefox 4 Reports
Error: uncaught exception: [Exception... "An invalid or illegal string was specified" code: "12" nsresult: "0x8053000c (NS_ERROR_DOM_SYNTAX_ERR)" location: "http://my.server.url/theme/yui_combo.php?3.2.0/build/yui/yui-base-debug.js&3.2.0/build/oop/oop-debug.js&3.2.0/build/dom/dom-debug.js&3.2.0/build/yui/yui-later-debug.js&3.2.0/build/event-custom/event-custom-base-debug.js&3.2.0/build/event/event-base-debug.js&3.2.0/build/pluginhost/pluginhost-debug.js&3.2.0/build/event/event-delegate-debug.js&3.2.0/build/node/node-debug.js&3.2.0/build/yui/get-debug.js&3.2.0/build/loader/loader-debug.js Line: 3436"]

Chrome Reports
Uncaught Error: INVALID_STATE_ERR: DOM Exception 11
Y.DOM._createyui_combo.php:3437
Y.DOM.createyui_combo.php:3337
Y.DOM.addHTMLyui_combo.php:3475
Y.mix.insertyui_combo.php:10530
Y.mix.prependyui_combo.php:10544
Y.extend.renderjavascript.php:53
Event._poll.executeItemyui_combo.php:8748
Event._pollyui_combo.php:8783
Y.bindyui_combo.php:3005

Activity

Hide
Josh Moore added a comment -

Edited to remove mistake in wording

Show
Josh Moore added a comment - Edited to remove mistake in wording
Hide
Mary Evans added a comment - - edited

I thought this had been fixed, however I see it's still open...
In Firefox Version 9.0.1 I am getting a slightly different output to the ones added here already. So hope this is fixed soon.

If it is of any use, I got this error while trying to add a file as a resource in site topic in the frontpage using Standard theme.

$version = 2011120501.04
$release = '2.2.1+ (Build: 20120202)
$maturity = MATURITY_STABLE

[Exception... "An invalid or illegal string was specified" code: "12" nsresult: "0x8053000c (NS_ERROR_DOM_SYNTAX_ERR)" location: "http://localhost/moodle/theme/yui_combo.php?3.4.1/build/oop/oop.js&3.4.1/build/event-custom-base/event-custom-base.js&3.4.1/build/dom-core/dom-core.js&3.4.1/build/dom-base/dom-base.js&3.4.1/build/selector-native/selector-native.js&3.4.1/build/selector/selector.js&3.4.1/build/node-core/node-core.js&3.4.1/build/node-base/node-base.js&3.4.1/build/event-base/event-base.js&3.4.1/build/event-delegate/event-delegate.js&3.4.1/build/node-event-delegate/node-event-delegate.js&3.4.1/build/pluginhost-base/pluginhost-base.js&3.4.1/build/pluginhost-config/pluginhost-config.js&3.4.1/build/node-pluginhost/node-pluginhost.js&3.4.1/build/dom-style/dom-style.js&3.4.1/build/dom-screen/dom-screen.js&3.4.1/build/node-screen/node-screen.js&3.4.1/build/node-style/node-style.js&3.4.1/build/event-custom-complex/event-custom-complex.js&3.4.1/build/intl/intl.js Line: 4228"]

Show
Mary Evans added a comment - - edited I thought this had been fixed, however I see it's still open... In Firefox Version 9.0.1 I am getting a slightly different output to the ones added here already. So hope this is fixed soon. If it is of any use, I got this error while trying to add a file as a resource in site topic in the frontpage using Standard theme. $version = 2011120501.04 $release = '2.2.1+ (Build: 20120202) $maturity = MATURITY_STABLE [Exception... "An invalid or illegal string was specified" code: "12" nsresult: "0x8053000c (NS_ERROR_DOM_SYNTAX_ERR)" location: "http://localhost/moodle/theme/yui_combo.php?3.4.1/build/oop/oop.js&3.4.1/build/event-custom-base/event-custom-base.js&3.4.1/build/dom-core/dom-core.js&3.4.1/build/dom-base/dom-base.js&3.4.1/build/selector-native/selector-native.js&3.4.1/build/selector/selector.js&3.4.1/build/node-core/node-core.js&3.4.1/build/node-base/node-base.js&3.4.1/build/event-base/event-base.js&3.4.1/build/event-delegate/event-delegate.js&3.4.1/build/node-event-delegate/node-event-delegate.js&3.4.1/build/pluginhost-base/pluginhost-base.js&3.4.1/build/pluginhost-config/pluginhost-config.js&3.4.1/build/node-pluginhost/node-pluginhost.js&3.4.1/build/dom-style/dom-style.js&3.4.1/build/dom-screen/dom-screen.js&3.4.1/build/node-screen/node-screen.js&3.4.1/build/node-style/node-style.js&3.4.1/build/event-custom-complex/event-custom-complex.js&3.4.1/build/intl/intl.js Line: 4228"]
Hide
Ryan Sanders added a comment -

received same error message.

after going to....
moodle -> admin -> development -> debug -> turned everything off. error went away.

shrugs

Show
Ryan Sanders added a comment - received same error message. after going to.... moodle -> admin -> development -> debug -> turned everything off. error went away. shrugs

People

Vote (1)
Watch (3)

Dates

  • Created:
    Updated: