I can't upload files:
I'm choosing upload in the dialogue, selecting the file and sending it.
I'm getting the message, that the file is uploaded successfully. ... really I don't believe ;)
Somehow its not using the right path-settings from Drupal.
I'm using fckeditor version 2.4
and drupal multisite in something that looks like
sites/www.example.com.directory
for the site www.example.com/directory/
and so far its working everything well (beside the image upload)
I've done:
- Allow basic file management
- fckeditor module allow fckeditor file uploads
- changed modules/fckeditor/fckeditor/editor/filemanager/upload/php/config.php
$Config['Enabled'] = true ;
//$Config['UserFilesPath'] = '/userfiles/' ;
- changed modules/fckeditor/fckeditor/editor/filemanager/browser/default/connectors/php/config.php
$Config['Enabled'] = true ;
//$Config['UserFilesPath'] = '/files/' ;
- and I have created: File and Image subdirectories in sites/www.example.com.directory/files/ with reading&writing permission for the webserver
If I am setting:
$Config['UserFilesPath'] = 'sites/www.example.com.directory/files/' ;
$Config['UserFilesAbsolutePath'] = '/pathToDrupal/sites/www.example.com.directory/files/' ;
it's working (more or less, because its neither showing the image in the dialogue nor in the editors pane. But in the end I can see it in the View).
But what do do if I want to share the module with other sites? I think at least you should override the variables by the drupal-setting. Or have I done something wrong?
Thanks for this nice module. Chau:)
Comments
Comment #1
ontwerpwerk commentedif it does not work you might want to try imce or wait until a better solution pops up