Jump to content
briggers

[Contribution] CKEditor with KFM Filemanager

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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Enrico,

 

This looks as though you have an extra \.\ somewhere in a file path definition, check your /catalog/admin/configure.php file

 

Richard

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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!

Share this post


Link to post
Share on other sites

you can try this contribution : http://addons.oscommerce.com/info/9354



Regards
-----------------------------------------
Loïc

Contact me by skype for business
Contact me @gyakutsuki for an answer on the forum

Tuto for 2.4 :
- How to Display a new page with app
- How to make Header Tags under app APP
- How to make a
boostrap modal with external element
 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×