我刚刚对本地网站所做的更改更新了实际网站。 Gallery页面上的上传字段无效。不允许上传图像,也不允许浏览“从文件”窗口加载任何内容。我检查了所有的文件都在那里,看起来很好..我很想重新安装,但想知道是否有人新的错误意味着我得到了如何解决它再次发生这种情况等我可以上传和浏览其他页面和文件部分。
选择文件点击上传后,控制台出现错误消息(允许我从计算机浏览):
[Error] TypeError: 'undefined' is not a function (evaluating 'func({files:files,formatFileSize:this._formatFileSize,options:this.options})')
_renderTemplate (undefined, line 96)
(anonymous function) (lib.js, line 660)
_renderUpload
(anonymous function) (lib.js, line 660)
add
_trigger (lib.js, line 680)
(anonymous function)
each (lib.js, line 37)
_onAdd
(anonymous function) (lib.js, line 660)
_onAdd
(anonymous function) (lib.js, line 660)
_onChange
(anonymous function) (lib.js, line 660)
dispatch (lib.js, line 207)
eventHandle (lib.js, line 174)
我也收到了这个警告:
[Warning] Uncaught exception (lib.js, line 1629)
Error
in on match on <div id="Images" class="field galleryupload ss-upload ss-uploadfield nolabel"… </div>