dsft8327 2018-12-23 11:57
浏览 178

Moodle上传文件问题Uncaught DOMException:阻止了一个包含原始的框架

Im facing an issue with moodle, when trying to upload some kind of files in add question page like docx,xlsx im getting following error at console:

Uncaught DOMException: Blocked a frame with origin "http://example.com" from accessing a cross-origin frame.
at Function.O.getValue (http://example.com/theme/yui_combo.php?rollup/3.13.0/yui-moodlesimple.js:14670:14)
at Y_Node.DEFAULT_GETTER (http://example.com/theme/yui_combo.php?rollup/3.13.0/yui-moodlesimple.js:30339:24)
at Y_Node._get (http://example.com/theme/yui_combo.php?rollup/3.13.0/yui-moodlesimple.js:30422:41)
at Y_Node.get (http://example.com/theme/yui_combo.php?rollup/3.13.0/yui-moodlesimple.js:30395:24)
at IO._uploadComplete (http://yui.yahooapis.com/combo?3.13.0/datatype-xml-parse/datatype-xml-parse.js&3.13.0/io-xdr/io-xdr.js&3.13.0/io-form/io-form.js&3.13.0/io-upload-iframe/io-upload-iframe.js&3.13.0/queue-promote/queue-promote.js&3.13.0/io-queue/io-queue.js&3.13.0/event-resize/event-resize.js&3.13.0/dd-ddm/dd-ddm.js&3.13.0/dd-ddm-drop/dd-ddm-drop.js&3.13.0/dd-proxy/dd-proxy.js&3.13.0/dd-constrain/dd-constrain.js&3.13.0/dd-drop/dd-drop.js&3.13.0/dd-scroll/dd-scroll.js&3.13.0/dd-drop-plugin/dd-drop-plugin.js&3.13.0/dd-delegate/dd-delegate.js:724:44)
at Y_Node.<anonymous> (http://yui.yahooapis.com/combo?3.13.0/datatype-xml-parse/datatype-xml-parse.js&3.13.0/io-xdr/io-xdr.js&3.13.0/io-form/io-form.js&3.13.0/io-upload-iframe/io-upload-iframe.js&3.13.0/queue-promote/queue-promote.js&3.13.0/io-queue/io-queue.js&3.13.0/event-resize/event-resize.js&3.13.0/dd-ddm/dd-ddm.js&3.13.0/dd-ddm-drop/dd-ddm-drop.js&3.13.0/dd-proxy/dd-proxy.js&3.13.0/dd-constrain/dd-constrain.js&3.13.0/dd-drop/dd-drop.js&3.13.0/dd-scroll/dd-scroll.js&3.13.0/dd-drop-plugin/dd-drop-plugin.js&3.13.0/dd-delegate/dd-delegate.js:569:34)
at Y.Subscriber._notify (http://example.com/theme/yui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26572:35)
at Y.Subscriber.notify (http://example.com/theme/yui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26601:24)
at Y.CustomEvent._notify (http://example.com/theme/yui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26264:17)
at Y.CustomEvent._procSubs (http://example.com/theme/yui_combo.php?rollup/3.13.0/yui-moodlesimple.js:26390:36)

This issue occuring only with some computers for example with computer1 its working perfectly with all browsers, but for computer2 its not workink at all browsers a seconde note that some files are uploading with no errors like png, jpg files

any help please?

  • 写回答

1条回答 默认 最新

  • douyanlu7380 2019-06-14 22:31
    关注

    In httpd.conf

    Find the line

    LoadModule reqtimeout_module modules/mod_reqtimeout.so
    

    comment the line:

    #LoadModule reqtimeout_module modules/mod_reqtimeout.so
    

    Restar Apache

    评论

报告相同问题?

悬赏问题

  • ¥15 ogg dd trandata 报错
  • ¥15 高缺失率数据如何选择填充方式
  • ¥50 potsgresql15备份问题
  • ¥15 Mac系统vs code使用phpstudy如何配置debug来调试php
  • ¥15 目前主流的音乐软件,像网易云音乐,QQ音乐他们的前端和后台部分是用的什么技术实现的?求解!
  • ¥60 pb数据库修改与连接
  • ¥15 spss统计中二分类变量和有序变量的相关性分析可以用kendall相关分析吗?
  • ¥15 拟通过pc下指令到安卓系统,如果追求响应速度,尽可能无延迟,是不是用安卓模拟器会优于实体的安卓手机?如果是,可以快多少毫秒?
  • ¥20 神经网络Sequential name=sequential, built=False
  • ¥16 Qphython 用xlrd读取excel报错