View Single Post
  #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