close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Path missing "/" in Image Properties screen

Thread began 5/05/2015 7:16 am by randyrie405335 | Last modified 5/19/2015 11:58 am by Ray Borduin | 4389 views | 13 replies |

randyrie405335

Path missing "/" in Image Properties screen

I just upgraded Data Bridge to version 1.2.2 and now the old issue of errant pathing in the Image Properties window has returned. Now when I enter a sub-directory [Community Boards] in the Editor Setting window under the General tab, I get an incorrect path in the Image Properties window:

e.g., Instead of: /FileUploads/Community Board/Community Board/piano_lloyd.jpg - - I now get /FileUploads/Community BoardCommunity Board/piano_lloyd.jpg where the "/" is missing between the two Community Boards. I know this was resolved a few years ago by manually adjusting some code in one of the files located in the KFM directory and this was also corrected in one of the version updates since. But now I'm back to this error again! How do I fix this?

Please consider this URGENT because this is now live on our production server and is causing us a tech support nightmare!!

Sign in to reply to this post

Ray BorduinWebAssist

Please give me ftp access and a url where I can view the problem in the private area of a reply to this thread and I will get it resolved for you.

Sign in to reply to this post
Did this help? Tips are appreciated...

randyrie405335

Our servers are behind firewalls and are not accessible to the outside. I can send the affected webpage, if that will help you.

Sign in to reply to this post

Ray BorduinWebAssist

We will have to investigate this in a screen sharing session then. Please give me your US phone number, or skype contact information and I'll give you a call and help debug and get this fixed for you.

Sign in to reply to this post
Did this help? Tips are appreciated...

randyrie405335

See Private Message

Attached Files
adm_community_brd_add.php
Sign in to reply to this post

Ray BorduinWebAssist

Maybe try sending me a copy of the kfm/configuration.php file. It may be there that it needs to be updated. It is going to be tough for me to get anywhere without looking at and debugging the files. Can you set up a testing server on your laptop with the files to reproduce it? I'm going to be guessing and this could take a while without being able to actively debug. I'm sure I could fix it in a few minutes if I could get my hands on the files in an environment where I could reproduce the issue.

Sign in to reply to this post
Did this help? Tips are appreciated...

randyrie405335

I understand. The site is, unfortunately, proprietary and cannot be shared.

Attached Files
configuration.php
Sign in to reply to this post

Ray BorduinWebAssist

If you look at lines 23 - 27 of that file... we can probably debug and work around the problem from there.

The code currently has:

php:
$kfm_userfiles_address = '../../FileUploads/Diversity';

if (isset($_SESSION['useOverrideRoot']))  {
  $kfm_userfiles_address = abs2rel($_SESSION['useOverrideRoot'],dirname(__FILE__));
}
$kfm_userfiles_output = rel2abs($kfm_userfiles_address,dirname(__FILE__));



I'd start by writing the values of those variables to the page and see where they are wrong:

php:
$kfm_userfiles_address = '../../FileUploads/Diversity';

if (isset($_SESSION['useOverrideRoot']))  {
  $kfm_userfiles_address = abs2rel($_SESSION['useOverrideRoot'],dirname(__FILE__));
}
$kfm_userfiles_output = rel2abs($kfm_userfiles_address,dirname(__FILE__));

die("address:" .$kfm_userfiles_address . "<br>output:" . $kfm_userfiles_output. "<br>override:" . $_SESSION['useOverrideRoot']);



What does the page display after making that change? Based on that maybe I can try to suggest a solution.

Sign in to reply to this post
Did this help? Tips are appreciated...

randyrie405335

The code placed the following text in the KAE's File Manager window:

address:../../FileUploads [*My Note: notice the missing "/" at the end of ../../FileUploads ]
output:/ARLatWORK/FileUploads
override:

I opened the Site Settings screen and manually placed a "/" in front of the displayed Upload Directory's directory name - - that seemed to have done the trick. Selecting the path via the folder icon on the Site Settings screen does not do this [see *My Note above] and that's probably why there was no "/" placed between the FIleUploads directory and the filename in the path displayed on the Image Properties screen. Is there a way to change the configuration script for the Site Settings so that the path is displayed accurately?

Sign in to reply to this post

Ray BorduinWebAssist

Where did you add the slash to make it work? Can you send a screen shot of where it is missing?

Sign in to reply to this post
Did this help? Tips are appreciated...
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...