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

rating

Image upload giving me page not found error

Thread began 1/23/2019 5:53 pm by MagsW | Last modified 1/25/2019 11:57 am by Ray Borduin | 74 views | 6 replies |

MagsW

Image upload giving me page not found error

I have a DA insert record page with an HTML editor instance. When I try to upload an image or file and hit Browse Server, I get a 404 not found error. I've re-uploaded a working copy of the kfm folder but it still thinks the kfm/index.php file doesn't exist. Any idea what might be causing this?

Sign in to reply to this post

Ray BorduinWebAssist

The DataBridge v2 update now uses kcfinder instead of kfm. Do you have that folder? (webassist/kcfinder)... maybe you just need it uploaded.

Sign in to reply to this post

MagsW

I rebuilt the results/insert/update pages and reuploaded all the updated files (including kcfinder) but now when I hit the Browse Server button it's redirecting me to the members' login page (not the admin login). Even if I then login as a user it just keeps showing me the login page. I've included FTP details in the PM if you could possibly take a look for me.

Sign in to reply to this post

Ray BorduinWebAssist

There is a bit of a trick to get it working with a powerCMS site. I've updated your pages to fix the problem. The pages I updated are:

webassist/kcfinder/conf/config.php
and
WA_Globals/WA_Globals.php

Sign in to reply to this post

MagsW

Great thanks, working now. However is there a way to override the upload folder? It's currently set to img/blog and I can see where to change that in the config file, but I use different upload folders for different areas of the site. Can I set it to a generic root folder and then display a file manager in the KCFinder window, or can I specify a different folder in each HTML Editor instance?

Sign in to reply to this post

Ray BorduinWebAssist

You could set the upload folder to just "img/" in the config.php file and then specify a different sub-folder for each instance.

If you find this line on your page:
$CKEditor_config["filebrowserBrowseUrl"] = "../webassist/kcfinder/index.php?

then you can add a url parameter: &startup_folder=subfolder&showsidebar=true

and if you set showsidebar to false then it wouldn't allow them to change the folder from within the interface.

For either of these to work you will need to make sure you have the latest version of the extension, since there were a few issues with previous builds.

Sign in to reply to this post

MagsW

I changed the upload folder to the main downloads folder and it shows the subfolders automatically, so that's great!

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