causefx/Organizr

Dependencies Missing FILEINFO & MBSTRING

FancyNerd92 opened this issue ยท 31 comments

Organizr Version: V 1.x
Branch: Master/Develop
WebServer: Nginx/Apache
Operating System: Windows/MacOS/Ubuntu

Problem Description:

i have dependency missing files for fileinfo & mbstring after latest upldate. Before that i works like a charm.
Screenshot 2023-11-22 012631


Reproduction Steps:

Errors on screen? If so paste here:


you should be able to uncomment out them in the php ini file. i need to go back and check to see while i required them too. lemme do that.

I am experiencing this after attempting to update tonight as well.

I'd also like to report the same issue.

Same issue here

everyone running native and not docker?

everyone running native and not docker?

Yup, native. I'll include some screenshots of my error with the system info underneath, just in case it comes in handy for troubleshooting as well.
Screenshot 2023-11-22 170728
Screenshot 2023-11-22 170810
Screenshot 2023-11-22 170836

jiznon commented

you should be able to uncomment out them in the php ini file. i need to go back and check to see while i required them too. lemme do that.

Thanks! This helped in the meantime. Really awesome to see updates!

Same issue over here

Just updated, I get the missing mbstring error. I don't having missing fileinfo error. Running native

same issue, native windows user, and stuck remote to fix.both mbstring and fileinfo missing

same issue, native windows user, and stuck remote to fix.both mbstring and fileinfo missing

Me too, I fiddled around with the php.ini file, but I wasn't sure what to uncomment out make it work, so I just ctr-z the file back to its default.

you should be able to uncomment out them in the php ini file. i need to go back and check to see while i required them too. lemme do that.

This worked for me!

you should be able to uncomment out them in the php ini file. i need to go back and check to see while i required them too. lemme do that.

This worked for me!

@justinpeterson13
What did you do, and what exactly did you uncomment? I couldn't figure it out when I tried :/

search for mbstring.dll and fileinfo.dll

remove the ';' in front of those lines.

Workaround worked for me as well, although I had to leave the .dll off of the search to find the lines to uncomment. Thanks much, @causefx

search for mbstring.dll and fileinfo.dll

remove the ';' in front of those lines.

I'm unable to find these lines, am I looking in the wrong place? Could someone show me the file path on Windows?

it would be in your php folder. file should be something like php.ini
or a variation of that name with .ini

Fix for me was to uncomment the lines like causefx said.

Go to the "php.ini" in "C:/nginx/php/" or wherever you have that folder.
Remove the ";" in front of "extension=fileinfo" and "extension=mbstring" and save the file. They were around line 900.
Finally, run "services.msc" and restart both PHP and NGINX or you could probably just restart your computer.

Everything seems to be working again.

I'm on Ubuntu though.
I go /etc/nginx/php8.2/cli
and /etc/nginx/php8.2/fpm

In both directories I open the php.ini file
Then remove the ";" from mbstring and fileinfo.,

Then I do /etc/init.d/php8.2-fpm restart
systemctl nginx restart

And the above does not solve it. I still get missing dependency :/

for linux try installing via package manager.

apt-get install php8.2-mbstring

Small correction. I have php 8.1 not 8.2.

I did apt-get install php8.1-mbstring and it installed. I then rebooted.

I still get the error. And for me, it is for mbstring only.

image

you can check via cli if the module is installed. php -m

It is installed.

zeroz@zeroz:~$ php -m
[PHP Modules]
calendar
Core
ctype
curl
date
dom
exif
FFI
fileinfo
filter
ftp
gettext
hash
iconv
json
libxml
mbstring
openssl
pcntl
pcre
PDO
pdo_sqlite
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
sodium
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xml
xmlreader
xmlrpc
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

so your cli version and web version aren't the same. check your webserver and see what version it is. php -v will show the version that cli is too.

It was indeed that. It makes sense now!

I ran the organizr isntaller just to update dependencies, and that installed php8.1. But I did not think that /etc/nginx/config/CENSORED/phpblock.conf still referred to version 7.4 !

Thank you :)

glad you got it sorted! :)

Fix for me was to uncomment the lines like causefx said.

Go to the "php.ini" in "C:/nginx/php/" or wherever you have that folder. Remove the ";" in front of "extension=fileinfo" and "extension=mbstring" and save the file. They were around line 900. Finally, run "services.msc" and restart both PHP and NGINX or you could probably just restart your computer.

Everything seems to be working again.

Nailed it, made it easy,even on phone.thank you

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

Just commenting this is still an issue and uncommenting the 2 lines fixes the issue

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

This issue has been closed due to lack of activity, if this issue still persists, please re-open it.