Hi there,
I did as told and put the line: require_once "../../../../../filemanager.config.php"; in the config.php of fckeditor 2.5
So it looks like this:
* Configuration file for the File Manager Connector for PHP.
*/global $Config ;
// SECURITY: You must explicitly enable this "connector". (Set it to "true").
// WARNING: don't just set "$Config['Enabled'] = true ;", you must be sure that only
// authenticated users can access this file or use some kind of session checking.
$Config['Enabled'] = false;// Path to user files relative to the document root.
$Config['UserFilesPath'] = '/userfiles/' ;// Fill the following value it you prefer to specify the absolute path for the
// user files directory. Useful if you are using a virtual directory, symbolic
// link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.
// Attention: The above 'UserFilesPath' must point to the same directory.
$Config['UserFilesAbsolutePath'] = '' ;
require_once "../../../../../filemanager.config.php" ;
BUT I still get the common errormessage while trying to upload an image: Upload not enabled, check config.php!?
When I enable the editor via $Config['Enabled'] = true; the upload works, but the file-directory of Drupal isn't used. So this is not the way to fix it.
Must be a common problem, so please anyone can tell me, how to enable uploads ...
THANKS!
Comments
Comment #1
zweilicht commentedbtw: I enabled the editor in fckeditor profiles under filebrowser settings - and changed permissions to allow upload
Comment #2
Jorrit commentedDo you have set the $cookie_domain variable properly? Have you tried version 2.0 of this module?
Comment #3
Jorrit commentedClosed because of lack of response.