I check my config with the testfile (fckeditor/editor/filemanager/upload/test.html) it works fine! The file is uploaded in 'userfiles'.
But I can't upload a image. Also I can't creat a folder (mess: unknow error creating folder).
The folder 'userfiles' is set chmod 0777. The server running with PHP 5.1.6. Safe Mode is ON in master value and OFF in local value.
Settings:
In fckeditor/editor/filemanager/browser/default/connectors/php/config.php
$Config['UserFilesPath'] = '/userfiles/' ;
$Config['Enabled'] = true ;
In fckeditor/editor/filemanager/upload/php/config.php
$Config['UserFilesPath'] = '/userfiles/' ;
$Config['Enabled'] = true ;
In fckeditor/fckconfig.js
var _FileBrowserLanguage = 'php' ;
var _QuickUploadLanguage = 'php' ;
.. any ideas?
But I can't upload a image. Also I can't creat a folder (mess: unknow error creating folder).
The folder 'userfiles' is set chmod 0777. The server running with PHP 5.1.6. Safe Mode is ON in master value and OFF in local value.
Settings:
In fckeditor/editor/filemanager/browser/default/connectors/php/config.php
$Config['UserFilesPath'] = '/userfiles/' ;
$Config['Enabled'] = true ;
In fckeditor/editor/filemanager/upload/php/config.php
$Config['UserFilesPath'] = '/userfiles/' ;
$Config['Enabled'] = true ;
In fckeditor/fckconfig.js
var _FileBrowserLanguage = 'php' ;
var _QuickUploadLanguage = 'php' ;
.. any ideas?
Re: Upload problem
Create necessary folders inside "userfiles" directory via FTP and chmod them to 777.
If those folders already exist (/UserFiles/File, /UserFiles/Flash, /UserFiles/Image and /UserFiles/Media) make sure that correct owner is assigned (or delete them, and create once again via FTP).
If safe mode is enabled, apache is unable to upload files to the directories which have been created by... apache
Wiktor Walc
CTO, CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+