Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

CKEditor with image upload please?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #21  
Old 10-30-2010, 04:59 AM
 
dmpinder dmpinder is offline
 

Advanced Member
  
Join Date: Jun 2009
Posts: 86
 

Default Re: CKEditor with image upload please?

Can you ensure you've set both the directory userfiles and userfiles/images to 777?

If that doesn't work, can you copy in the error message exactly as you see it? Is it Can;t create http:/directory ?
__________________
Darren

X-Cart Gold 4.3.1
Reply With Quote
  #22  
Old 10-30-2010, 05:03 AM
 
BBM_ BBM_ is online now
 

X-Adept
  
Join Date: May 2010
Location: Australia
Posts: 595
 

Default Re: CKEditor with image upload please?

Hi Darren,

Here is the info as requested.

/userfiles is set to 0777
/userfiles/images is set to 0777

The exact error message is,

Error creating folder "xxx.xxx.xxx.xxx/userfiles/images/" (can't create xxx.xxx.xxx.xxx directory)

with xxx being the ip address of the server.

EDIT: to clarify the public_html directory is set to 0750

I hope this helps.
__________________
Multiple instances of X-cart
Reply With Quote
  #23  
Old 10-30-2010, 05:15 AM
 
dmpinder dmpinder is offline
 

Advanced Member
  
Join Date: Jun 2009
Posts: 86
 

Default Re: CKEditor with image upload please?

hmm OK it could be that your server doesn't store the web files in the same directory as mine.

I'm assuming you're trying to edit the line like this:
$Config['UserFilesAbsolutePath'] = '/home/sites/domain.co.uk/public_html/userfiles/' ; in the file fckeditor/editor/filemanager/connectors/php/config.php. That is probably where you're having an issue.

I think the solution might be this:

1. Create a new file on the root of your site called info.php
2. The contents of this file should be just:
<?php phpinfo(); ?>
3. Upload this file and view it in your browser. There will be a ton of info about your server.
4. Do a search on this page for the value for DOCUMENT_ROOT, it should be held within the Environment area. Find the value of this, it will be what you need to paste in as part of the file path. In mine, the value is /home/sites/domain.co.uk/public_html and then I add the userfiles/images. I suspect your DOCUMENT_ROOT is different in structure than mine (different server configuration), so that's your best bet.

Let me know how you get on.
__________________
Darren

X-Cart Gold 4.3.1
Reply With Quote

The following user thanks dmpinder for this useful post:
BBM_ (10-30-2010)
  #24  
Old 10-30-2010, 05:25 AM
 
BBM_ BBM_ is online now
 

X-Adept
  
Join Date: May 2010
Location: Australia
Posts: 595
 

Default Re: CKEditor with image upload please?

Wow Darren,

A huge thank you to you! Your steps outlined above have solved my problem and now the images are loading correctly.

You certainly know your server stuff.

Once again many kind thanks. Also thanks for teaching me something new
__________________
Multiple instances of X-cart
Reply With Quote
  #25  
Old 10-30-2010, 05:40 AM
 
dmpinder dmpinder is offline
 

Advanced Member
  
Join Date: Jun 2009
Posts: 86
 

Default Re: CKEditor with image upload please?

Your welcome, I'm glad it worked!
__________________
Darren

X-Cart Gold 4.3.1
Reply With Quote
  #26  
Old 11-09-2010, 05:46 AM
 
nickff nickff is offline
 

Senior Member
  
Join Date: Aug 2010
Posts: 132
 

Default Re: CKEditor with image upload please?

Quote:
Originally Posted by PhilJ
Here's an easier alternative to CKFinder - http://kcfinder.sunhater.com
Hey all,

I've tried adding KCFinder to CKFinder and it works great outside of one issue - by default ANYONE can access the resource browser via the right URL. In order to restrict it to only admins, you have to due some SESSION work ala this page:

http://kcfinder.sunhater.com/docs/integrate#session

I have no clue where to add the proper session info to restrict the browser to logged in admins.

Anyone have any ideas on this? I'm desperate
__________________
nick hoag
looking forward to the future
http://thefutureforward.com
xcart versions 4.2.x, 4.3.x, 4.4.x
Reply With Quote
  #27  
Old 02-24-2011, 05:27 PM
 
larenespitler larenespitler is offline
 

Member
  
Join Date: Aug 2010
Posts: 17
 

Default Re: CKEditor with image upload please?

Do you anticipate any problems if I download the latest FCK Editor to my xcart website?

I was thinking I could just download it and install it in the folder /xcart/fckeditor.

What do you think.
Larene
__________________
x-cart 4.4.5
Reply With Quote
  #28  
Old 02-25-2011, 12:20 AM
 
dmpinder dmpinder is offline
 

Advanced Member
  
Join Date: Jun 2009
Posts: 86
 

Default Re: CKEditor with image upload please?

Hi Larene,

I don't see a problem with trying that. Just download the files from their website and use those files instead.

You'll have to follow my instructions very closely, and be aware some of the line numbers I quote may have changed, so you may need to search for the relevant code instead.

Good luck,

Darren
__________________
Darren

X-Cart Gold 4.3.1
Reply With Quote
  #29  
Old 09-26-2013, 11:31 PM
  Blainevk's Avatar 
Blainevk Blainevk is offline
 

Senior Member
  
Join Date: Dec 2004
Location: Atlanta, GA
Posts: 158
 

Default Re: CKEditor with image upload please?

Hello All,

Does anyone know if "FCKEditor" could be used for uploading Partner's Profile Image on the Registration Page?


Looking for your response.
__________________
Blaine

X-Cart Multi-vendor 5.4.1.35
PHP version: 7.2.23

Travel Points Gift Mall - https://blainestravelclub.com/travelpoints/giftmall/

Collect Travel Points - http://blainestravelclub.com/travelpoints/

Blaine's Travel Club - http://blainestravelclub.com

Grow Your Business - http://blaine.blainestravelclub.com/business/

Making Money & Fun - http://blainestravelclub.com/powerpyramid/

Charitable Fun-razing - http://blainestravelclub.com/fundraising
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:41 AM.

   

 
X-Cart forums © 2001-2020