Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

[Contribution] CKEditor with KFM Filemanager


briggers

Recommended Posts

Hi

Thanks for your contribution.

I have uploaded it as per your instructions and after installing CKEditor it did appear in my admin (product description). However, i continued and installed KFM and it no longer appears. I think the problem may lie in step 3 of KFM installation:

 

3. Open catalog/admin/ext/kfm-1.4.7/configuration.dist.php

 

Around line 46 change:

 

$kfm_userfiles_address = '/home/kae/Desktop/userfiles';

 

to point to the absolute file path to your images directory (on a Cpanel server this would be) like:

 

$kfm_userfiles_address = '/home/USER_NAME/catalog/images';

 

Around line 58 change:

 

$kfm_userfiles_output = '/userfiles/';

 

to be the webserver address of your images directory like:

 

$kfm_userfiles_output = 'http://www.DOMAIN_NAME/catalog/images/';

 

I am working on localhost at the moment so am not sure what I should use for:

 

$kfm_userfiles_address = '/home/USER_NAME/catalog/images';

I've tried

='localhost/myoscommerceadministratorusername/catalog/images';

 

or

 

$kfm_userfiles_output = 'http://www.DOMAIN_NAME/catalog/images/';

I've tried

='http://localhost/catalog/images/';

 

Can you spoon feed me what I should be using please.

 

Helen

Link to comment
Share on other sites

  • 3 weeks later...

Hi Richard,

I installed the contrib, according to the procedure. CKEditor works well in all those fields when you need it.

When I try to load an image returns this result:

Warning: require_once(D:\inetpub\webs\.\test1\admin\ext\kfm-1.4.7/classes/PDO.php) [function.require-once]: failed to open stream: No such file or directory in D:\inetpub\webs\.\test1\admin\ext\kfm-1.4.7\initialise.php on line 19

 

Can you help me?

 

Thanks in advance.

 

Enrico.

Link to comment
Share on other sites

Helen,

 

The line

$kfm_userfiles_address = '/home/USER_NAME/catalog/images';

is the file system path. On windows it would be something like

c:\inetpub\sitename\catalogue\images

 

the line

$kfm_userfiles_output = 'http://www.DOMAIN_NAME/catalog/images/';

should be whatever you use to browse to the shop home page (on your localhost) followed by /images/

 

Richard

Link to comment
Share on other sites

  • 8 months later...

Hello Richard,

with your guide i installed CKEditor with KFM Filemanager

the editor work very good but the file manager give me this error

 

Warning: mkdir(): Permission denied in /web/htdocs/[my-url]/catalog/admin/ext/kfm-1.4.7/initialise.php on line 153 error: "" could not be created

 

i think that var $rootdir is empty...

 

what you thik about it?

 

thank,

 

mg

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 years later...

the file upload page

../admin/ext/kfm-1.4.7/index.php?CKEditor=products_description[1]&CKEditorFuncNum=1&langCode=en-gb

 

there are two errors I am facing now:

1.

it doesn't show up the page properly, how can i not shoing the directories, root, so that I can move whatever beneath up, right now it can not show, I can i nly see file upload, search, and half of widgets

 

2.

when i browse the file, doesn't matter what kind of image format, when i click on upload button, it just said no files selected.

 

can anyone please help, thanks!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...