New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Geeklog File Manager doesn't support PHP 8 and the library seems to be Abandoned #1141
Comments
@mystralkk Do you have any possible options to use as a new File Manger? |
@eSilverStrike I fixed issue #1140 just now, and are there other PHP 8 related issues with File Manager? I can use File Manager on Windows 11, Apache 2.4.54 and PHP 8.1.10. |
Alternative file managers include:
|
On the surface Tiny File Manager looks promising. Been around for a while and lots of contributors. Same with FileGator but not quite as popular. I'll poke around a bit to see if I can find any other possible File Manager candidates. At some point we will have to do some research to see what would be a good fit for Geeklog, feature and simplicity of integration wise. |
File Manager worked fine for me on PHP 7.4 but on PHP 8.0 it failed to upload an image. No PHP error just the File Manager reporting: Some files are failed during upload. and on PHP 8.1 I couldn't even load the file manager (Geeklog error reporting was set to -1, if not then it does load but uploads will fail). This was on Windows 10 (not sure the Apache version I will have to check). Looking more closely at the error log maybe it is a library that the File Manager depends on causing the issue...
|
The illuminate/container library used by richfilemanager-php causes the error in the log. There is a forked version of richfilemanager-php, but this requires PHP 7. Forking and modifying the original richfilemanager-php to work with PHP 5.6.4 through PHP 8.1 would be too unrealistic, since we cannot upgrade the libraries it depends on, as you said. We will have to replace the current file manager with an alternative like Tiny File Manager or bump up the PHP version Geeklog will require to 7.x or newer. |
Tiny File Manager is good, but it seems that it is NOT intended to be used with CKEditor or TinyMCE. How about elFinder, instead? |
You mean when when a user uploads and image via the FCKEditor which then uses the File Manager for image selection? I had forgotten about that integration. So they are incompatible then... too bad (I did a quick google search and didn't see where) On the surface FileGator has had a lot more activity but then they have less contributors that elFinder. Not sure if elFinder is just so feature complete that it is sort of at a maintenance stage... FileGator
elFinder
I am not sure which way to go but then I haven't looked at the code or actually tried out FIleGator since they do not have a demo website running |
There are far fewer free editors able to work with CKEditor or TinyMCE than several years ago. Such editors include Roxy Fileman (web site no longer exists), Responsive Filemanager (seems to be dead), FileManager (web site no longer exists), and KCFinder(inactive for 8 years), FileFator and elFinder, but all but the last two are not suitable to use now. |
FileGator seems to assume that the "public" folder to be the document root, so other locations like "public_html/images/" are probably not allowed. |
Just a thought.... Maybe it is worth to pick a better file manager even if it doesn't support CKEditor... Maybe it is worth switching our editor to TinyMCE or some other option... |
The Rich FileManager we are using is quite customizable, so it might be an option to fork its backend (RichFilemanager-PHP) and update it to work with PHP 8.x. |
While researching this issue:
#1140
I notice that the RichFileManager we use for the Geeklog File Manager
https://github.com/psolom/RichFilemanager
hasn't been updated for 4 years and there is zero activity in the issues.
So, it looks like it has been abandoned by the developers.
This means we must do one of the following:
The text was updated successfully, but these errors were encountered: