File Picker errors with Youtube, URLs and Wikipaedia

File Picker errors with Youtube, URLs and Wikipaedia

by Richard Whitfield -
Number of replies: 4

Hi,

I've just setup Moodle 2.7.2 on Windows SQL Server 2012 and everything is fine apart from the file picker which keeps on throwing errors such as " unexpected end of input" or connection timed out for various enabled repositories when using the search function. For example, when I try and add a YouTube URL and select it using the file picker, I get the following error when in debugging mode (apologies for the long script).

I'm quite new to Moodle programming and would appreciate any assistance (whether it's a change of a piece of code or reinstalling part of the package, etc).

Thanks a lot in advance,

Richard

SyntaxError: Unexpected end of input    at Object.parse (native)    at Object.Y.namespace.parse (http://cg-moodle-tst/moodle/theme/yui_combo.php?rollup/3.15.0_1/yui-moodlesimple.js&rollup/1417600000/mcore-debug.js:24354:18)    at cfg.on.complete (http://cg-moodle-tst/moodle/lib/javascript.php/1417600000/repository/filepicker.js:1:12120)    at Y.Subscriber._notify (http://cg-moodle-tst/moodle/theme/yui_combo.php?rollup/3.15.0_1/yui-moodlesimple.js&rollup/1417600000/mcore-debug.js:13545:35)    at Y.Subscriber.notify (http://cg-moodle-tst/moodle/theme/yui_combo.php?rollup/3.15.0_1/yui-moodlesimple.js&rollup/1417600000/mcore-debug.js:13574:24)    at Y.CustomEvent._notify (http://cg-moodle-tst/moodle/theme/yui_combo.php?rollup/3.15.0_1/yui-moodlesimple.js&rollup/1417600000/mcore-debug.js:13237:17)    at Y.CustomEvent._procSubs (http://cg-moodle-tst/moodle/theme/yui_combo.php?rollup/3.15.0_1/yui-moodlesimple.js&rollup/1417600000/mcore-debug.js:13363:36)    at Y.CustomEvent.fireSimple (http://cg-moodle-tst/moodle/theme/yui_combo.php?rollup/3.15.0_1/yui-moodlesimple.js&rollup/1417600000/mcore-debug.js:13330:18)    at Y.CustomEvent._fire (http://cg-moodle-tst/moodle/theme/yui_combo.php?rollup/3.15.0_1/yui-moodlesimple.js&rollup/1417600000/mcore-debug.js:13312:29)    at Object.ET.fire (http://cg-moodle-tst/moodle/theme/yui_combo.php?rollup/3.15.0_1/yui-moodlesimple.js&rollup/1417600000/mcore-debug.js:14465:22)
Average of ratings: -
In reply to Richard Whitfield

Re: File Picker errors with Youtube, URLs and Wikipaedia

by Fab El -

I'm having the same problem with all Moodle installations that I have.

I believe it is in the yahoo library, but even I disabling the admin, it remains loaded and generating error.


In reply to Richard Whitfield

Re: File Picker errors with Youtube, URLs and Wikipaedia

by Jenny Tetlow -

Hi,

Ref: MOODLE  2.8.1+

I'm also having the same issue with You Tube searches from the File Picker for embedding media in a 'URL' or as the content in a 'Page'.

I have confirmed that the Youtube repository is enabled (see below and as per discussions at: at https://moodle.org/mod/forum/discuss.php?d=173558). However, the Syntax error still occurs (see below).

Any ideas anyone?

MOODLE - Enabling your You Tube Repository A


MOODLE - Enabling your You Tube Repository B


MOODLE - Enabling your You Tube Repository C

In reply to Jenny Tetlow

Re: File Picker errors with Youtube, URLs and Wikipaedia

by Justin Reeve -

Did anyone figure out an answer to this? I'm getting the same issue as well.