close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Paths for image uploads

Thread began 2/18/2010 8:28 am by JohnPicton | Last modified 2/18/2010 10:18 pm by Dani Chankhour | 849 views | 3 replies |

JohnPicton

Paths for image uploads

I've seen a couple of similar threads to this, but there doesn't appear to have been a solution as yet.

I've set the path for image uploads as /uploads in the HTML Editor global file upload settings. I've then uploaded an image. The image appears in the file manager on the server, and I can see a thumbnail of the image, but when I attempt to insert the image into the editor the path is incorrect.

The path used is /public_html/uploads rather than /uploads and I can't find where to change this. There's obviously a script somewhere that finds the root directory, but this means that it doesn't work properly.

I find that the reference to my image is entered as:

/public_html/uploads/files/logo.jpg

when it needs to be:

/uploads/files/logo.jpg

Can you advise how I would correct this?

Sign in to reply to this post

Dani Chankhour

In the HTMLEditor folder, browse to editor/filemanager/connectors/php and open the config.php.

Could you please reply with line 26 and 27 and line 41.

Sign in to reply to this post

JohnPicton

Thanks for your response, the lines are as follows:

26: $WA_EditorLocalRoot = '/My Local Domain/';
27: $WA_EditorRemoteRoot = '/public_html/';

41: $Config['UserFilesPath'] = 'uploads/';

Looks like it's something to do with line 27 then?

Sign in to reply to this post

Dani Chankhour

Yes, try changing line 27 to:

$WA_EditorRemoteRoot = '/';

Sign in to reply to this post

ideasbyjr63389

Upload Path for files

This post has been deleted.

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...