Elfinder 403 problems - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Elfinder 403 problems (/showthread.php?tid=59115) |
Elfinder 403 problems - El Forum - 08-27-2013 [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/controllers/ex_cont/elfinder_init?cmd=open⌖=&init=1&tree=1&_=1377590387888 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! Elfinder 403 problems - El Forum - 08-27-2013 [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 =) |