2
hi Mr Boyden !
Thanks for your long and hard work around FCKeditor : finally we've got an editor with image manager that works fine
![](https://xoops.org/uploads/smil3dbd4d6422f04.gif)
!
I've read your notice with attention and comments that you put in files... but I'm not able to get 1 folder per module.
What I do with News 1.56 :1. Modify /news/include/functions.phpReplace :
case 'fck':
if(!$x22) {
if ( is_readable(XOOPS_ROOT_PATH . '/class/fckeditor/formfckeditor.php')) {
include_once(XOOPS_ROOT_PATH . '/class/fckeditor/formfckeditor.php');
$editor = new XoopsFormFckeditor($caption, $name, $value);
}
} else {
$editor = new XoopsFormEditor($caption, 'fckeditor', $editor_configs);
}
break;
By
case 'fck':
if(!$x22) {
if ( is_readable(XOOPS_ROOT_PATH . '/class/xoopseditor/fckeditor/formfckeditor.php')) {
include_once(XOOPS_ROOT_PATH . '/class/xoopseditor/fckeditor/formfckeditor.php');
$editor = new XoopsFormFckeditor(array('caption'=> $caption, 'name'=>$name, 'value'=>$value, 'width'=>'100%', 'height'=>'400px'));
}
} else {
$editor = new XoopsFormEditor($caption, 'fckeditor', $editor_configs);
}
break;
> so, FCKeditor forms appears and works fine2. Now I would get a specific folder for News. So I copy of these three files in /news folder :
- fckeditor.config.js
- fckeditor.connector.php
- fckeditor.upload.php
And I verify that I have this line in fckeditor.upload.php :
Quote:
define("FCKUPLOAD_DISABLED", 0);
(I've also try with value 1, but with same result)
Finally I delete news' cache file (in www/cache/)
... but finally when I try to upload an image,
an error message appear and no image can be put in manager ![](https://xoops.org/uploads/smil42e7a3ff4ceee.gif)
>
error messageI will be very happy if you could help me to find a solution
![](https://xoops.org/uploads/smil3dbd4d6422f04.gif)
!!
Thanks in advance.
(sorry for poor english
![](https://xoops.org/uploads/smil42e7a42768aef.gif)
)
Configuration :XOOPS 2.0.18.1
PHP 5.2.6
MySql 5.0.27
Apache/2.2.8
Elements installed :Protector 3.16
News 1.56
Framework 1.22
Xoopseditor 1.21 (with your Fckeditor version)
Still learning CSS and... english