Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Anyone gotten FCKEditor working


blr044

Recommended Posts

Posted

I did install FCKEditor and have posted this a few times in the support forum, but no solution as of yet. The only problem, that I am not able to insert images. Everything else works fine. If not able to use this mod to it's fullest potential, I will end up removing it.

 

So if any member has a solution, I would like to hear from you.

 

Thanks.

Posted

Bennett,

 

The FCKeditor uses a directory called userfiles, this directory needs to have permissions of at least 755. If you try to upload the images using the fckeditor and still have problems, check the config.php file located in fckeditor/editor/filemanager/connectors/php/ and ensure the definite path is set something like this (www/home/public_html/yoursite/)

 

 

 

Chris

Posted

Bennett,

 

The FCKeditor uses a directory called userfiles, this directory needs to have permissions of at least 755. If you try to upload the images using the fckeditor and still have problems, check the config.php file located in fckeditor/editor/filemanager/connectors/php/ and ensure the definite path is set something like this (www/home/public_html/yoursite/)

 

 

 

Chris

 

Double checked, permission is set at 755 for images and userfiles. And as far the config file in fckeditoris it is as follows:

 

$Config['UserFilesAbsolutePath'] = '/home/xxxxxx/public_html/userfiles/' ;

Posted

Double checked, permission is set at 755 for images and userfiles. And as far the config file in fckeditoris it is as follows:

 

$Config['UserFilesAbsolutePath'] = '/home/xxxxxx/public_html/userfiles/' ;

 

Working Fine now, found the problem. See below:

 

Before

$Config['FileTypesPath']['Image']		=  $Config['UserFilesPath'] . '/images/' ;
$Config['FileTypesAbsolutePath']['Image']  = ($Config['UserFilesAbsolutePath'] == '') ? '' :$Config['UserFilesAbsolutePath'].'/images/' ; //($Config['UserFilesAbsolutePath'] == '') ? '' :

 

After

$Config['FileTypesPath']['Image']		=  $Config['UserFilesPath'] . '../images/' ;
$Config['FileTypesAbsolutePath']['Image']  = ($Config['UserFilesAbsolutePath'] == '') ? '' :$Config['UserFilesAbsolutePath'].'../images/' ; //($Config['UserFilesAbsolutePath'] == '') ? '' :

 

Not understanding why it made a differences, but once I added a few dots before forward slash, now when browse the sever, images is there. You can see that in the second code.

Posted

Bennet,

 

It is because your store is not located in your root directory. I am glad you figured it out.

 

 

 

Chris

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...