1.可能是DATA目录没有给写入权限
2.官方默认的Jquery.min.js被替换,根目录下的images里的query.min.js.
3./fckeditor/editor/dialog/fck_image/fck_image.js文件中list()函数与谷歌浏览器默认对象函数冲突导致无法上传.
前两个问题解决办法不在多说,详细讲下第三个问题解决办法,将文件内
/fckeditor/editor/dialog/fck_image.html (upload_file()有一处).
/fckeditor/editor/dialog/fck_image/fck_image.js (upload_file()有两处 list有两处).
这两个文件里面的:
- /fckeditor/editor/dialog/fck_image/fck_image.js
- fck_image.js (约在527行)
- upload_file() 全改名为upload_file1() (有两处)
- list(obj,id) 改名为list1(obj,id)
- onchange="list(this.value,'+id+')改成onchange="list1(this.value,'+id+')
- //Vevb.com
- /fckeditor/editor/dialog/fck_image.html
- fck_image.html (约在191行)
- upload_file() 改为 upload_file1(); )(有一处)
注:此方法可以解决上传图片不成功的问题,但是谷歌和360浏览器按钮显示还是按钮重叠的样子,但不影响图片的上传.
这个只需要修改下样式就可以了.
方法:
/fckeditor/editor/dialog/fck_image.html 在fck_images.html文件中找到id="forms" 修改style样式
style="position:relative;top:-20px;left:-0px;。top:0px;。left:-100px;width:80;filter:alpha(opacity=0);-moz-opacity:0; opacity: 0;"
大约在182行,把top:-20px 改为top:-25px就可以了.
style="position:relative;top:-25px;left:-0px;。top:0px;。left:-100px;width:80;filter:alpha(opacity=0);-moz-opacity:0; opacity: 0;"
新闻热点
疑难解答