Fckeditor, uploading does not work for newly added resource type
Posted: 02 May 2007 03:59 PM   [ Ignore ]  
Lab Assistant
Avatar
RankRank
Total Posts:  232
Joined  06-13-2004

Hi folks,

I am using fckeditor extension and I encounter this problem:

Whenever I open the browse server window, I get a msg that

the server does not send back xml message properly. the requested url is ...php/connector.php?command=getfolderandfiles&type=file¤tfolder;=/?
The response text is:

I cannot upload files at this time (will display “upload in progress, please wait”, and it freezes here)

However, if I randomly select another drop down list option, and then select the first list option, I can view/upload without problem.

I have 10 resource types. I find it is always the 1st one that I set in var aTypes = [...] (in frmresourcetype.htm) that causes the problem.

For example, var aTypes = [
  [‘PDF’,‘PDF’],
  [‘Image’,‘Image’],
...
...
]

When I open file browser window, the 1st list option is PDF and it gives me the above mentioned error msg. If I swap the order of PDF and Image, the 1st list option upon the launch of the window is Image, and it gives me the error.

Any idea?

Thanks

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64944 Total Logged-in Users: 68
Total Topics: 81920 Total Anonymous Users: 36
Total Replies: 440348 Total Guests: 287
Total Posts: 522268    
Members ( View Memberlist )