1
Views
7
Comments
FCK editor image upload
Question
Hi,

i've been trying to upload a image without sucess.

After selecting the image the progress bar starts but never ends, i think it has something to do with a misconfiguration, since i never defined the directory where images will be saved... but i can't find it in fckeditor.js

Thanks in advance...
2011-08-23 22-04-05
Tiago Simões
Staff

Hi Miguel,

 

To use the upload functionality of the FCK editor I believe you would have to create a connector: 

https://docs.cksource.com/FCKeditor_2.x/Developers_Guide/Server_Side_Integration

 

Cheers,

Tiago Simões

 

UserImage.jpg
Miguel Dias
I read that paper still no luck, i wonder if it's something around win7 permissions, since i changed my config.asp and fckconfig.js with almost all the possibilites i can remember.
<br />

EDIT: Ok, apparently i make an advance since there's an error now, and now it surely is about permissions: error 103. Trying to figure it out. I'm using windows7, probably similar with vista... any help would be appreciated ( tired of googling :)
UserImage.jpg
Miguel Dias
'https://localhost/fck_Editor/fckeditor/editor/filemanager/connectors/asp/image/myimage.png' -- the path of my image is this.

However i don't know the path to put in the config.asp , can someone give me a help ? I tried for example '~/image/' in the path but it doesn't work out.

And in windows7 you have to change the permissions of "running/fck_editor", in order to upload images.
UserImage.jpg
Diogo Nesbitt
I have the same error...

I suposed that may be related with the new version created by FCKeditor. they may turn off the reporitory server or something like that...
2024-11-04 15-59-50
João Inácio

Setting connector to work

Solution that worked for me:
 
1- Look for file and edit
file: c:\Program Files\OutSystems\Service Center\running\FCK_Editor...\fckeditor\fckconfig.js
edit this 2 vars, from php to asp:      var _FileBrowserLanguage    = 'asp' ;    // asp | aspx | cfm | lasso | perl | php | py
                                                                var _QuickUploadLanguage    = 'asp' ;    // asp | aspx | cfm | lasso | perl | php | py
2-Look for file and edit
file: c:\Program Files\OutSystems\Service Center\running\FCK_Editor....\fckeditor\editor\filemanager\connectors\asp\config.asp
edit: set ConfigIsEnabled  = true

3-Create folder userfiles, and set same permissions folder aspnet_client for example to folder c:\Inetpub\wwwroot\userfiles
2024-11-14 15-47-18
Carlos Alexandrino
Hi João,

Did you keep the value of the line

ConfigUserFilesPath = "/userfiles/"

in "fckeditor\editor\filemanager\connectors\asp\config.asp" unchanged?

Thank you.
2024-11-04 15-59-50
João Inácio
yes
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.