By Tomplus on
hello,
I have problem from FCKEditor.
I want to upload file from FCK - but no publication in Drupal.
http://www.swos.pl/temp/fck_upload_error.jpg
ofcourse edit file
/modules/fckeditor/fckeditor/editor/filemanager/upload/php/config.php
in code
// SECURITY: You must explicitelly enable this "uploader".
$Config['Enabled'] = true ;
$Config['UseFileType'] = true ;
$Config['UserFilesPath'] = '/o/' ;
$Config['UserFilesAbsolutePath'] = '' ;
$Config['ForceSingleExtension'] = true ;
$Config['AllowedExtensions']['Image'] = array('jpg','gif','jpeg','png') ;
$Config['DeniedExtensions']['Image'] = array('bmp') ;
Comments
Does the directory /o/ exist
Does the directory
/o/exist and is it writable by the webserver (user apache, www or httpd or something similar)Maybe you must also enter the absolute path on the webserver..
Usually you have to disable the UserFilesPath as is specified in the readme.txt because FCKeditor will try to use the files directory that is used by drupal itself.
Not work
Of course, /o/ is exist and chmod 0777.
Use:
1.
results:Invalid File Type
2.
results:Invalid File Type
Ok. I don't know why show Error. If upload image, but problem is very simple.
befor
after