Elfinder 403 problems |
[eluser]Unknown[/eluser]
Hi guys, I've been using CI for a while but still have some difficulties from time to time, but this time I can't really figure it out. I'm trying to get Elfinder (file manager) to work with Codeigniter and I've done the following. File manager controller (controllers/documents) Code: /* inline scripts related to this page */ File manager jquery script (views/_inline_scripts/_documents) Code: [removed] File manager controller (controllers/ex_cont/elfinder_init) Code: <?php File manager library (lib/Elfinder_lib) Code: <?php if (!defined('BASEPATH')) exit('No direct script access allowed'); And the error I get is: Can't connect to back-end Permissions denied And if I check firebug I get the following: Quote:http://localhost/NovaCloud/application/c...7590387888 Quote:<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> Any ideas how to fix this? I guess it has something to do with my rewrite rules? Thanks in advance!
[eluser]Unknown[/eluser]
Solved By moving the content from ex_cont and place the function elfinder_init() in our controllers/documents instead and from our _documents.php view file we call Code: var elf = $('#elfinder').elfinder({ Now everything is working like it should =) |
Welcome Guest, Not a member yet? Register Sign In |