| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
CKEditor with image upload please? | ||||
|
|
Thread Tools | Search this Thread |
#21
|
|||||||
|
|||||||
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 |
|||||||
#22
|
|||||||
|
|||||||
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 |
|||||||
#23
|
|||||||
|
|||||||
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 |
|||||||
|
#24
|
|||||||
|
|||||||
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 |
|||||||
#25
|
|||||||
|
|||||||
Re: CKEditor with image upload please?
Your welcome, I'm glad it worked!
__________________
Darren X-Cart Gold 4.3.1 |
|||||||
#26
|
|||||||
|
|||||||
Re: CKEditor with image upload please?
Quote:
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 |
|||||||
#27
|
|||||||
|
|||||||
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 |
|||||||
#28
|
|||||||
|
|||||||
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 |
|||||||
#29
|
|||||||||
|
|||||||||
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: 8.1 Blaine's Travel Club - http://blainestravelclub.com Collect Travel Points - http://blainestravelclub.com/travelpoints/rewards/ Travel Points Gift Mall - https://blainestravelclub.com/travelpoints/giftmall/ Grow Your Business - http://blainestravelclub.com/business/ Making Money & Fun - http://blainestravelclub.com/travelers/ Charitable Fun-razing - http://blainestravelclub.com/fun-razors |
|||||||||
|
|||
X-Cart forums © 2001-2020
|