Hi,
I have FCKeditor installed, I can insert images but they are not displayed when I look at the posting. Reading some old post on similar issues, I made sure that Input Format was set to "Full HTML". The source code of the displayed page shows the image being referenced is /drupal/sites/all/modules/fckeditor/fckeditor/fckeditor/editor/filemanager/connectors/php/sites/default/files/image/test.JPG but the actual file is located in a different place, /drupal/htdocs/sites/default/files/fckeditorimage/test.JPG.
If I enter the exact URL of the file I can see the image. Why does FCKeditor save the inserted file to one location and then references a different location when displaying? I'd really appreciate the group's help on this, it's driving me crazy.
config.php file is attached.
Thanks,
Fred
| Comment | File | Size | Author |
|---|---|---|---|
| config.php_.txt | 8.86 KB | fmfabila |
Comments
Comment #1
Jorrit commentedDo you still have the issue with the latest version (1.3-beta2). Lots of things regarding to file uploading have been changed since 1.2-1.
Comment #2
fmfabila commentedThanks for replying Jorrit, I'm hesitant to install a beta version, there may be unknown problems there than in a stable production version where at least most issues are documented. I'm sure it's a relatively simple change to the config.php file that tell where files are written and referenced. I'm just knowledgeable enough about the module to make the changes.
Thanks,
Fred
Comment #3
Jorrit commentedWhen I look at your config.php, I see that you did not include the line specified by the readme:
Comment #4
fmfabila commentedJorrit,
I have the code in line 78, and I've included the block below. It's still not working though.
// Modified:FMF:20080715
// Created code block to enable file browser
require_once "../../../../../filemanager.config.php";
$Config['UserFilesAbsolutePath'] = '/WebContent/dwi/platform/apps/drupal/htdocs/sites/default/files/fckeditor' ;
Comment #5
Jorrit commentedWell, I don't think your config is entirely correct. For instance, I see:
and some lines below:
Obviously, there should be a slash before image.
Please take a vanilla config.php and make the exact modification as requested by the README. Please report if it fails.
Comment #6
fmfabila commentedHey Jorrit,
I made some changes and the images are being displayed, the file URL reference is now the same as the actual location on the server. Here were the changes.
-->Changed
$Config['UserFilesAbsolutePath'] = '/WebContent/dwi/platform/apps/drupal/htdocs/sites/default/files/fckeditor' ;
-->Back To
$Config['UserFilesAbsolutePath'] = '' ;
-->Changed
$Config['UserFilesPath'] = '/WebContent/dwi/platform/apps/drupal/userfiles' ;
-->Back To
$Config['UserFilesPath'] = '/userfiles/' ;
I Also made changes to the directory location of linked files but your suggestion to reference the original file helped me track down the major issue problem.
Thanks for your help, I appreciate it.
-Fred
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.