close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Missing a "/" in path to file in subdirectory

Thread began 6/10/2011 11:07 am by randyrie405335 | Last modified 7/27/2012 8:04 am by Jason Byrnes | 4424 views | 15 replies |

randyrie405335

Missing a "/" in path to file in subdirectory

I'm using several subdirectories and when creating a link to an uploaded file that's in a subdirectory, the pathing fails to add a "/" slash and the resulting link will not work. e.g., When I select <other> then 'Browse Server' to the file in a subdirectory, I get a wrong path:

/FileUploadsSubDirectory/MyFile.pdf ... the "/" between the FileUploads and the SubDirectory is not inserted.

How do I correct this so my users can upload a file and correctly link to the file in the Editor?

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

hast302969

Same problem / missing from long url

I got the same problem with / missing in the link.

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

codamedia

Hi Jason,

I've had this same problem, but found a work around for it (until it is fixed).

The problem appears to be in "webassist/kfm/configuration.php", approximately line 29. (it's line 29 on my system, but I guess that could vary)

$kfm_userfiles_address = '../../path/to/folder';
The above line should include a closing "/" (../../path/to/folder/)

I can manually code that slash in, however if I were to edit the file manager uploads from the HTML Editor server behaviour, it strips the closing slash out and I have to put it back in again manually.

It's a quick update on one file for me so I'm not worried about it, but would like it fixed :)

Sign in to reply to this post

Jason ByrnesWebAssist

what version of HTML editor? I believe this was fixed in the 3.0.2.

Sign in to reply to this post

codamedia

You may be right Jason. I just updated the editor the other day, and I don't know that I have worked with the new editor yet.

I will give it a try and let you know one way or the other.

Sign in to reply to this post

codamedia

I just confirmed that I have HTML Editor 3.0.2, and installed it on a clean site. I am getting the same results as described in my previous post.

This is not a big concern, and is a really quick fix. But I still have the problem.

Sign in to reply to this post

randyrie405335

This qwik-fix works...

Originally Said By: codamedia
  Hi Jason,

I've had this same problem, but found a work around for it (until it is fixed).

The problem appears to be in "webassist/kfm/configuration.php", approximately line 29. (it's line 29 on my system, but I guess that could vary)

$kfm_userfiles_address = '../../path/to/folder';
The above line should include a closing "/" (../../path/to/folder/)

I can manually code that slash in, however if I were to edit the file manager uploads from the HTML Editor server behaviour, it strips the closing slash out and I have to put it back in again manually.

It's a quick update on one file for me so I'm not worried about it, but would like it fixed :)  



Have you heard anything more about a permanent fix from the folks at WebAssist? (I've had no luck getting them to respond).

Sign in to reply to this post

randyrie405335

Update - Just got a fix from Webassist

Originally Said By: codamedia
  Hi Jason,

I've had this same problem, but found a work around for it (until it is fixed).

The problem appears to be in "webassist/kfm/configuration.php", approximately line 29. (it's line 29 on my system, but I guess that could vary)

$kfm_userfiles_address = '../../path/to/folder';
The above line should include a closing "/" (../../path/to/folder/)

I can manually code that slash in, however if I were to edit the file manager uploads from the HTML Editor server behaviour, it strips the closing slash out and I have to put it back in again manually.

It's a quick update on one file for me so I'm not worried about it, but would like it fixed :)  



-------------- From WebAssist ---------

Posted By: ray@webassist.com (Ray Borduin) Message 4 in Log
Date: 06/20/2011 06:59 pm No Attachments
Title: RE: Missing a

Open the file:

webassist/kfm/configuration.php

line 27 should be updated from:

$kfm_userfiles_output = rel2abs($kfm_userfiles_address,dirname(__FILE__));

to:

$kfm_userfiles_output = rel2abs($kfm_userfiles_address,dirname(__FILE__)) . "/";

Sign in to reply to this post
loading

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