Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#2118 closed Bug (duplicate)

Uploading images from image dialog (quick) does not work in ie with php connector

Reported by: Michael Karg Owned by:
Priority: Normal Milestone:
Component: UI : Dialogs Version: FCKeditor 2.6
Keywords: Cc:

Description

When uploading images directly from the image dialog the file is uploaded but then an error "line 31" "permission denied" (i've got the error message in german, so it may be slightly different in english). The error Line is

window.parent.OnUploadCompleted(0,"/UserFiles/z0.jpg","z0.jpg", "") ;

if the uploading file was "z0.jpg".

This appears only in IE (7.0) by using the php connector.

Attachments (5)

p1.jpg (41.6 KB) - added by Michael Karg 16 years ago.
Try to upload file
p2.jpg (37.7 KB) - added by Michael Karg 16 years ago.
Error message, part 1
p3.jpg (40.6 KB) - added by Michael Karg 16 years ago.
Error message, part 2
p4.jpg (47.9 KB) - added by Michael Karg 16 years ago.
File on server
TC_2118.PNG (51.6 KB) - added by Wojciech Olchawa 16 years ago.

Download all attachments as: .zip

Change History (13)

comment:1 Changed 16 years ago by Wojciech Olchawa

Keywords: Pending WorksForMe added; Image upload removed

I've tired to reproduce your bug on IE7 and I wasn't successful. Uploading works just fine. In you case it's probably a server side problem (permission aren't set properly). Check if the privileges has been set properly and let us know if the bug will still occur after changing them.

Changed 16 years ago by Michael Karg

Attachment: p1.jpg added

Try to upload file

Changed 16 years ago by Michael Karg

Attachment: p2.jpg added

Error message, part 1

Changed 16 years ago by Michael Karg

Attachment: p3.jpg added

Error message, part 2

Changed 16 years ago by Michael Karg

Attachment: p4.jpg added

File on server

comment:2 Changed 16 years ago by Michael Karg

Sorry, there is no server problem. Documentation is attached: p1.jpg: I tried to upload a file (z14.jpg) by the use of the dialog with IE7. p2.jpg+p3.jpg: Error message on client side (browser), javascript "permission denied", now line 32 (maybe depends on some data on the server). p4.jpg: ll of directory on server, where the file was successfully uploaded (so the error message "permission denied" is just wrong (in means of file access on the server), it is uploaded).

Using the same configuration in Firefox (same Page, same file, same directory) - uploading works perfect without error.

It seems to me that this is a browser client problem only, and "permission denied" means that the javascript is not allowed to access the function "window.parent.OnUploadCompleted".

I am using IE7 on XP with latest service packs and hotfixes available from windows update.

comment:3 Changed 16 years ago by Wojciech Olchawa

I'm using FCKeditor 2.6 and IE7 on Windows XP SP2 and my connector is PHP as well. Following your reproduction and the bug still doesn't occur to me. (I've attached a screenshot of my reproduction - TC_2118.JPG).

Changed 16 years ago by Wojciech Olchawa

Attachment: TC_2118.PNG added

comment:4 Changed 16 years ago by Michael Karg

I have tested the problem on two machines (Desktop & Laptop), and it is on both machines. If it is a server configuration problem (which is not very likely; i get the same error on http://www.fckeditor.net/demo) can you please test it at http://www.imsoft.at/test.php Thanks. Sorry if it is my fault (misconfiguration). But i do not see anything wrong on the server.

comment:5 Changed 16 years ago by Wojciech Olchawa

Yes I can reproduce it at your page but I'm finding it difficult to reproduce it locally which is very strange. Try to test the upload using:

.../editor/filemanager/connectors/uploadtest.html

and check the php connector and than please let us know what are the results. Thanks in advance.

comment:6 Changed 16 years ago by Michael Karg

Strange. uploadtest.html works perfectly (as far as i can decide).

http://www.imsoft.at/fckeditor/editor/filemanager/connectors/uploadtest.html

file is uploaded and the the uploadtest.html says it is ok.

comment:7 Changed 16 years ago by Wiktor Walc

Keywords: Pending WorksForMe removed
Resolution: duplicate
Status: newclosed

This is a DUP of #2115. If possible, try the last patch attached to that ticket.

comment:8 Changed 16 years ago by Michael Karg

Confirmed. Works after patch applied. Thanks a lot.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy