반응형
실제 이미지 업로드는 정상적으로 되는데 말이죠... (파일은 올라가 있음)
계속 사용권한이 없다는 JS는 오류메시지가 나왔거든요.
그런데, 이상하게도 오류메시지 없이 정상적으로 되었다가, 안되었다 하더군요~
고고참!
그런데... 미닝님 덕분에 깔끔하게 해결 되네요~!
해당포스트: http://choimin.net/tc/entry/17
fckeditor 2.6 다운로드: http://www.fckeditor.net/download
-------------------------------------
참말로 편한 fckeditor 2.6버전에 버그가 있다...
젠장 한참 찾았다는...
아래 파일들을 각각 수정하면 되삼...
editor/filemanager/connectors/asp/io.asp
old | new | |
---|---|---|
223 | 223 | ' Test if we can access a parent property. |
224 | 224 | Response.Write " try" |
225 | 225 | Response.Write " {" |
226 | Response.Write " var test = window. | |
226 | Response.Write " var test = window.parent.OnUploadCompleted ;" | |
227 | 227 | Response.Write " break ;" |
228 | 228 | Response.Write " }" |
229 | 229 | Response.Write " catch( e ) {}" |
editor/filemanager/connectors/cfm/cf5_upload.cfm
old | new | |
---|---|---|
56 | 56 | // Test if we can access a parent property. |
57 | 57 | " try"& |
58 | 58 | " {"& |
59 | " var test = window. | |
59 | " var test = window.parent.OnUploadCompleted ;"& | |
60 | 60 | " break ;"& |
61 | 61 | " }"& |
62 | 62 | " catch( e ) {}"& |
editor/filemanager/connectors/cfm/cf_io.cfm
old | new | |
---|---|---|
276 | 276 | // Test if we can access a parent property. |
277 | 277 | try |
278 | 278 | { |
279 | var test = window. | |
279 | var test = window.parent.OnUploadCompleted ; | |
280 | 280 | break ; |
281 | 281 | } |
282 | 282 | catch( e ) {} |
editor/filemanager/connectors/lasso/upload.lasso
old | new | |
---|---|---|
85 | 85 | // Test if we can access a parent property. |
86 | 86 | try |
87 | 87 | { |
88 | var test = window. | |
88 | var test = window.parent.OnUploadCompleted ; | |
89 | 89 | break ; |
90 | 90 | } |
91 | 91 | catch( e ) {} |
editor/filemanager/connectors/perl/commands.pl
old | new | |
---|---|---|
183 | 183 | // Test if we can access a parent property. |
184 | 184 | try |
185 | 185 | { |
186 | var test = window. | |
186 | var test = window.parent.OnUploadCompleted ; | |
187 | 187 | break ; |
188 | 188 | } |
189 | 189 | catch( e ) {} |
editor/filemanager/connectors/php/io.php
old | new | |
---|---|---|
288 | 288 | // Test if we can access a parent property. |
289 | 289 | try |
290 | 290 | { |
291 | var test = window. | |
291 | var test = window.parent.OnUploadCompleted ; | |
292 | 292 | break ; |
293 | 293 | } |
294 | 294 | catch( e ) {} |
editor/filemanager/connectors/py/fckoutput.py
old | new | |
---|---|---|
111 | 111 | // Test if we can access a parent property. |
112 | 112 | try |
113 | 113 | { |
114 | var test = window. | |
114 | var test = window.parent.OnUploadCompleted ; | |
115 | 115 | break ; |
116 | 116 | } |
117 | 117 | catch( e ) {} |
원글 : http://link.allblog.net/11266998/http://hanvalley.tistory.com/147
[출처] fckeditor 2.6 파일 업로드 버그|작성자 양팀