close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Upload path potential problem

Thread began 3/10/2010 5:00 am by web_assist_mail157665 | Last modified 3/26/2010 11:23 am by web_assist_mail157665 | 3028 views | 15 replies


Originally Said By: Dani Chankhour
  The paths are written by HTMLEditor using site relative. so if the root of your site is under the "SiteName" folder, then the url is correct, and it should not add the "/~MyUserName/SiteName" to the beginning. Can you give me some information on how to reproduce the issue on my end? If i'm able to reproduce the issue, i can assist you in getting the issue resolved.

Also, please tell me if you are on a mac or pc and the version of DW, and if you are using the Advanced Image Upload?


Local development on a PPC Mac 10.4.11
Upload - using HTML Editor file manager

As you know - sites (by default) are are stored in the user folder 'Sites' - hence the prefix
and thats where I've always had them
a typical path locally being

Looking in the HTML Config it is set up as

$WA_EditorLocalRoot = '/~UserName/SiteName/';
$WA_EditorRemoteRoot = '/~UserName/SiteName/';

obviously substituted UserName and SiteName

Each text article is editied with HTML Editor
and images in the text are uploaded via HTML editors filemanager
That article text (including links) is written to the database


my main file folder is 'userfiles'
my images are in that folder, in another folder called 'image'

the index.php file is in the Mac Site folder


an image appearing on the index page should have src="userfiles/image/imagename.ext"

the html editor(s) are being called from a php file in a sub folder CMS


From what I have experienced I cannot believe that HTML editor was ever even tested on a standard mac web setup
if the code goes looking for the apache root folder and inserts that into all the image filepaths

(another annoyance - after picking the default upload folder as 'userfiles' it is displayed in the filemanger as 'root'?? - root seems to be misunderstood and misued all round)
Yes the true root is the apache server - but that's completely useless to include that in the image filenames!

And just to finish things off...I change the upload default directory from /userfiles/ to userfiles/ - and all the editors stop working - no database text - no upload
The upload directory should have nothing to do with the managers interface!
So I go to EDIT the interface and the wizard gives me a javascript error and refuses to open

Now I'm totally screwed

3 days down - still not able to put images onto site.

My client is going ape sh*t

....editors back

no change on path problem

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





Ease of use


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...