close ad
Help us test the new Databridge BETA with MySQLi support
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

KCFinder

Thread began 4/30/2018 10:48 am by Jamie | Last modified 5/02/2018 12:15 pm by Ray Borduin | 120 views | 17 replies |

Jamie

KCFinder

Hi Ray

Have uploaded the kcfinder folder from %APPDATA% as you showed the other day and uploaded it, but when go to the server I get this error:

Notice: Use of undefined constant SECURITY_RULE - assumed 'SECURITY_RULE' in /home/motle7bk/public_html/clients/template_new/webassist/kcfinder/conf/config.php on line 9

- link in pm so you can see it in action

Also, how do you set the default upload folder?

Thanks

Sign in to reply to this post

Ray BorduinWebAssist

Go to Webassist->Form->HTML Editor->Site Settings

That should allow you to set the security rule and upload folder.

If that doesn't work yet you may have to manually update the file:
kcfinder/conf/config.php

Sign in to reply to this post

Jamie

ok, have done that - what folder/files need uploading once thats done?

Sign in to reply to this post

Ray BorduinWebAssist

Just the config.php file that I referenced above.

Sign in to reply to this post

Jamie

oK uploaded and now it doesnt link to kcfinder at all.... config file attached

Sign in to reply to this post

Ray BorduinWebAssist

What doesn't link at all? The issue may not be in the config file. The config file looks correct to me.

Sign in to reply to this post

Jamie

it takes me through to a [FAIL_REDIRECT] page. I have tried changing it to the index.php in the root of the kcfinder folder and then that just takes me to not allowed to access (have set the security rule to publisher or editor and logged in as super admin

before I changed the cnfi file it took me to the kcfinder interface, I just had that error and this was what I saw wth the original config file: http://prntscr.com/jcf8ez

Sign in to reply to this post

Ray BorduinWebAssist

That means that it is failing the Access rule... and that no fail redirect page was set.

You can set the fail redirect page on line 23 to go to your login page.

Is this a powercms installation? If so we probably have to add a require_once() for the globals.php file on the top of the config page as well.

Sign in to reply to this post

Jamie

OK, have added a fail redirect and added the globals.php and now it just redirects to the login page which is auto directing to an update page because it recogises that I am logged in....kcfinder is not recognising that I am logged in

Sign in to reply to this post

Ray BorduinWebAssist

What site is this on? I'll take a look.

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