close ad
WARNING: Do Not Install the DREAMWEAVER CC 2017 or 2018 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Image upload giving 404 Not Found

Thread began 11/07/2016 10:35 am by mrs | Last modified 11/10/2016 9:05 pm by Ray Borduin | 613 views | 7 replies |

mrs

Image upload giving 404 Not Found

When using HTML editor's image upload on my local server, it works, but when on the live server I get the following:

Not Found
The requested URL /admin_cms/webassist/kfm/index.php was not found on this server.
Apache/2.4.18 (Unix) Server at xxxxxxxx.com Port 80

I've found the relevant info in the DB and edited it to ..\/webassist\/kfm\/index.php but it won't work!

Can you advise please?

Sign in to reply to this post

Ray BorduinWebAssist

If you give me FTP access and steps to reproduce I'll log in and get it fixed for you. I'd have to investigate more to know what the problem is.

Are you sure you uploaded the webassist/kfm folder and all of its files to the live site?

Sign in to reply to this post

mrs

FTP details below in PM.

Thanks.

Sign in to reply to this post

mrs

I'm not sure if this is relevant, when I uploaded admin section along with the webassist folder and all of it's contents, I wasn't asked to run the installation process. It was on a different hosting service, but even then, I don't recall being asked to run the installer.

I had to run the installer when I set up the local testing version though. I'm assuming that is all that is required.

Quick question: is the kfm_session_vars.varname kfm_url an important path to the functioning of the image/file upload/manager popup window?

Sign in to reply to this post

Ray BorduinWebAssist

What page is having this issue? I've taken a look and the contents update page in the cms works properly.

Sign in to reply to this post

mrs

Aha... sorry for the confusion, it's not the PowerCMS editors. If you look at the menu across the top in the CMS, you will see I have edited it and it's no longer the standard PowerCMS menu, it's a text based menu for my own pages that I've created using DA. I've added the HTML editor to the DA generated pages while using the Webassist > Database > DataAssist Pages wizard.

I had assumed that the DataAssist Wizard and the PowerCMS would use the same files and details for the HTML editor image upload. I guess not, or more than likely I have made an error during set up of the DA version.

If you click on the blog section in the CMS, you will see a test record. Edit that and you will see that the 'Browse Server' window that appears when you click to add an image doesn't work!

Based on this help file http://assets.webassist.com/html-help/334/general.html, I've edited my local version of the HTML editor using the wizard to allow it to upload files, but it tells me I need to:
"Enter a subdirectory for this file manager instance.
This is based on the upload directory that is specified in the Site Settings interface.
If you have not configured the Site Settings yet, you will be prompted to do so before completing the HTML Editor interface.

However, I wasn't prompted and I can't find where I might edit site settings. I've not created any site settings using DA, so I'm a bit lost!

I've just looked at WebAssist > Preferences and there is a file manipulation tab, but I'm not sure if I need to enter my default image folder info there or not. I'm not sure if that pertains to just the site I am currently editing, or if it pertains to all sites.

Thanks.

Sign in to reply to this post

Ray BorduinWebAssist

I'm not exactly sure of the cause, but the solution is to specify the configuration setting to point to the correct folder.... If you add this line into your html editor code:


$CKEditor_config["filebrowserBrowseUrl"] = "../webassist/kfm/index.php?uicolor=".urlencode(isset($CKEditor_config["uiColor"])?str_replace("#","#",$CKEditor_config["uiColor"]):"#eee")."&theme=webassist_v2";

it should start working properly. I've done it for you on that page.

Sign in to reply to this post

mrs

Thanks Ray, that's worked perfectly

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