close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

file manager problem when adding images from sub directory

Thread began 4/10/2014 1:08 am by CraigR | Last modified 4/10/2014 12:48 pm by CraigR | 625 views | 2 replies |

CraigRBeta Tester

file manager problem when adding images from sub directory

I have an admin form to add product details to the database table.
My form uses the file manager to add an image url to the relevant field.
If I browse to the images folder, the path is stored correctly
eg /images/logo.png
if I browse to a sub folder of images, the path is stored correctly
eg /images/details/ logo.jpg
However, if I browse another level deeper, the path is stored incorrectly
eg /images/details\more/ logo.jpg
(Notice the folder separator is inverted from a forward slash to a backslash, after the first sub-folder)

If I try adding a further level, the problem is exacerbated

eg /images/details\more\evenmore/ logo.jpg

**UPDATE**

I uploaded the site to my testing server, in case you needed to see the issue first hand, but it works ok there

Sign in to reply to this post

Jason ByrnesWebAssist

I cant really say why the paths would be like that on your local server but work on the remote server, must a configuration setting on your local server causing the path problem.

I tried generating the file manager from the Form Insert and as a stand alone, and cannot reproduce the problems.

At least it is working on the live server though.

Sign in to reply to this post

CraigRBeta Tester

Yeah, strange one that.

I can likely do a fix locally with a str_replace()

Sign in to reply to this post

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