Welcome Guest, Not a member yet? Register   Sign In
Class not found for elFinder(Open-source file manager for web) in Codeigniter 4
#5

(This post was last modified: 08-02-2021, 10:59 PM by nfaiz.)

(08-02-2021, 01:55 PM)mrkzs Wrote: Thanks you brother @nfaiz it's already solved by @paulbalandan on this post subject  Smile  but facing a new problem. I also test with your code but have a problem with upload image, all is ok such as directory listing, getFileCallback except upload image. In elFinder debug not show upload tab, In browser console show error with that connector link "Controller or its method is not found: \\App\\Controllers\\Filemanager::connector" but this controller file & function is unknown....

If @paulbalandan method works, just use it.

Mine is just an alternative method using composer and elFinder provided example. (php/connector.minimal.php and elfinder.html)

From the error stated, clearly the routes does not work.

For workaround;

  1. Remove both filemanager routes in app/Config/Routes.php
  2. Change Elfinder Controller class and file name to Filemanager
  3. Change init() method to index() and minimalConnector() method to connector() in new Filemanager controller (refer number 2).

Not sure how to use it using modules since route can't be used  Sad

p/s: Gist updated.
Reply


Messages In This Thread
RE: Class not found for elFinder(Open-source file manager for web) in Codeigniter 4 - by nfaiz - 08-02-2021, 09:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB