fck editor images not uploading

gripa

Avatar: gripa

2007-06-26 17:11

I have installed fckeditor, but it is not possible to uploade the images
does anybody know what is wrong with that

» Quick.Cms v1.x

Martin

cgan

Avatar: cgan

2007-06-26 17:38

Gripa have you done this?
In the file fckeditor/fckconfig.js you'll have to change these two rows:
var _FileBrowserLanguage = 'asp' ;
var _QuickUploadLanguage = 'asp' ;

to this:

var _FileBrowserLanguage = 'php' ;
var _QuickUploadLanguage = 'php' ;

Else the fckeditor won't work.

cgan

gripa

Avatar: gripa

2007-06-26 19:06

Yes I did change that, and fck editor is working, except that it is not uploading images

Martin

merci

No avatar

2007-06-27 08:51

gripa - hard to say where is problem...mybe try to install FCK once more using this instruction: http://opensolution.org/Quick.Cms/docs/?id=tips#how_to_upload_editor_fckeditor

Oxana

Avatar: Oxana

2007-10-17 18:18

merci - read this instruction
http://opensolution.org/Quick.Cms/docs/?id=tips#how_to_upload_editor_fckeditor
so carefully but can't guess how to setup file/image uploading for website that stored in subfolders.

What path should be here?

$Config['UserFilesPath'] = '/UserFiles/';



in file “fckeditor/editor/filemanager/browser/default/connectors/php/config.php”

in case if websites stored in subfolders
http://domian.com/cms-1/
http://domian.com/cms-2/

Thank you

merci

No avatar

2007-10-18 09:20

Oxana - I'm not sure if it will work as I always installed FCK in main folder, but I think that you should in config file write:

$Config['UserFilesPath'] = '/cms-1/UserFiles/';

and for FCK in second subfolder :

$Config['UserFilesPath'] = '/cms-2/UserFiles/';

.

Oxana

Avatar: Oxana

2007-10-19 04:58

Merci - thank you for helping

Done:
1) create folder "userfiles" in http://domian.com/cms-1/
2) in file
FCKeditor/editor/filemanager/browser/default/connectors/php/config.php
write

$Config['UserFilesPath'] = '/cms-1/userfiles/' ;


3) also in file
FCKeditor/editor/filemanager/upload/php/config.php
write

$Config['UserFilesPath'] = '/cms-1/userfiles/' ;



FCKeditor v 2.4.3 upload files successfully in right folders
BUT don't see them in his file-browser.

Says - "Sorry, can't map "UserFilesPath" to a physical path. You must set the "UserFilesAbsolutePath" value in "editor/filemanager/browser/default/connectors/php/config.php"."

Trying various values to

$Config['UserFilesAbsolutePath'] = '' ;


as in file FCKeditor/filemanager/browser/default/connectors/php/config.php
so in file FCKeditor/editor/filemanager/upload/php/config.php
- /cms-1/userfiles/
- http://domian.com/cms-1/userfiles/
- /domian.com/cms-1/userfiles/

Can't imaging what's wrong...

merci

No avatar

2007-10-19 08:38

Oxana - probably you have to set this $Config['UserFilesAbsolutePath'] as this path is needed to put the images in the correct directory. So in config.php (php connector) you should set tree variables:

$Config['Enabled'] = true 
$Config['UserFilesPath'] = '/cms-1/userfiles/' 
$Config['UserFilesAbsolutePath'] = '/[absolutesitename location]/qcms/cms-1/userfiles/' ;

it is only example of the path.

Kordian

Avatar: Kordian

2007-10-19 11:53

I have this problem and I do that:
Mannualy I do directory on server (userfiles) and his atributes change to 777.

This works


sorry for my english ;)

Oxana

Avatar: Oxana

2007-10-25 20:02

Thank you Merci, thank you Kordian for will to help
But the same result... FCKeditor upload perfectly but don`t want to see files in his filemaneger.
So work with FCKeditor "as is" :)

pepto

Avatar: pepto

2008-04-11 13:17

Witam
mam podobny problem. Po próbie załadowania foty (fck powinien stworzyć sobie folder) otrzymywałem info:
error creating folder "home/s/skryba-www/public_html/userfiles/image/"(Permission denied)

Rozwiązałem to w ordynarny sposób, tzn. ręcznie, przez ftp stworzyłem foldery: userfiles/image

Teraz przy próbie ładowania foty nie ma info o odmowie utworzenia folderu ale foty nie ładuje.
Muszę wgrywać obrazek przez ftp i wtedy mogę przez fck wstawiać na stronę. Jak zniwelować te małą niedogodność?

pozdrawiam

pepto

Back to top
about us | contact