This happens in my mac osx. This is regarding zend framework 3.
When I update the composer some warnings are occur.
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/Cellar/php70/7.0.15_8/lib/php/extensions/no-debug-non-zts-20151012/mcrypt.so' - dlopen(/usr/local/Cellar/php70/7.0.15_8/lib/php/extensions/no-debug-non-zts-20151012/mcrypt.so, 9): image not found in Unknown on line 0
after that when the page is refreshing this error occur.
Fatal error: Uncaught Error: Class 'MongoDB\Driver\Manager' not found in /Users/ishara/Documents/workspace/leapx-portal/vendor/mongodb/mongodb/src/Client.php on line 81
Error: Class 'MongoDB\Driver\Manager' not found in /Users/ishara/Documents/workspace/leapx-portal/vendor/mongodb/mongodb/src/Client.php on line 81
This has nothing to do with zendframework 3.
PHP Warning: PHP Startup: Unable to load dynamic library mcrypt.so
This is probably caused by not having the PHP mcrypt extension installed.
Fatal error: Uncaught Error: Class 'MongoDB\Driver\Manager' not found
According to the mongodb/mongodb package, you need to install the PHP mongodb extension.
Related
Looking for some help with this error. I'm running Ubuntu 20.04 on an EC2. I have PHP 8.0 installed with DOM and XML modules installed and loaded. phpinfo() shows the modules loaded but I'm still getting Fatal error: Uncaught Error: Class "DOMDocument". I have restarted apache.
I just rebooted the EC2 instance and tested the page again and now it's working.
Version
TYPO3: 8.5.34
PHP: 7.4
DCE: 2.6.1
I get the following error message intermittently.
Fatal error: require_once(): Failed opening required
'/public/typo3temp/var/Cache/cache_dce/output_tca_and_flexform.php'
My website is then broken and can only be restored by deleting the TYPO3 cache.
I installed swift toolchain using instructions from swift.org. While compiling helloworld code I am getting below error.
warning: 'helloworld': failed loading cached manifest for 'helloworld': disk I/O error
error: 'helloworld': Invalid manifest
<unknown>:0: error: unable to open output file '/usr2/xyz/.cache/clang/ModuleCache/IJ5GUC7XMAO5/SwiftShims-1TLN9ZL6HKTHR.pcm': 'No such file or directory'
<unknown>:0: error: could not build C module 'SwiftShims'
I tried removing '/usr2/xyz/.cache/clang/ModuleCache', but did not work. Please help in resolving this issue.
I am using Ubuntu 19.10. I have nix version 2.3.1. I installed emacs 26.3 using:
nix-env -iA nixpkgs.emacs
When I launch emacs I get these error messages:
(process:9100): Gtk-WARNING **: 09:41:39.668: Locale not supported by C library.
Using the fallback 'C' locale.
Gtk-Message: 09:41:39.756: Failed to load module "canberra-gtk-module"
Gtk-Message: 09:41:39.756: Failed to load module "canberra-gtk-module"
Fontconfig warning: "/etc/fonts/fonts.conf", line 5: unknown element "its:rules"
Fontconfig warning: "/etc/fonts/fonts.conf", line 6: unknown element "its:translateRule"
Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'translate'
Fontconfig error: "/etc/fonts/fonts.conf", line 6: invalid attribute 'selector'
Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'xmlns:its'
Fontconfig error: "/etc/fonts/fonts.conf", line 7: invalid attribute 'version'
Fontconfig warning: "/etc/fonts/fonts.conf", line 9: unknown element "description"
Fontconfig error: Cannot load config file from /etc/fonts/fonts.conf
Is there some way to fix this?
The issue here is that Emacs in nixpkgs is built against a slightly older version of fontconfig (2.12.6) than is shipped with Ubuntu (2.13.1). However, the fontconfig 2.12.6 of Emacs tries to read the /etc/fonts/fonts.conf that was installed by fontconfig 2.13.1 of the host system. In the meantime some additional fields have been added to the configuration which the old version doesn't understand.
On my system I simply removed the offending lines from /etc/fonts/fonts.conf and have not experience any adverse effects yet.
I recently bought a new Macbook pro with php 7.1 installed and everything was working fine since I tried to upgrade php to 7.2 using homebrew. When I try to show my version of php with php -v, and it works but it returns me the following warnings :
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/extensions/no-debug-non-zts-20160303/gd2' -
dlopen(/usr/lib/php/extensions/no-debug-non-zts-20160303/gd2, 0x0009):
closured error in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/extensions/no-debug-non-zts-20160303/mbstring' -
dlopen(/usr/lib/php/extensions/no-debug-non-zts-20160303/mbstring,
0x0009): closured error in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/extensions/no-debug-non-zts-20160303/mysqli' -
dlopen(/usr/lib/php/extensions/no-debug-non-zts-20160303/mysqli,
0x0009): closured error in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/extensions/no-debug-non-zts-20160303/pdo_mysql' -
dlopen(/usr/lib/php/extensions/no-debug-non-zts-20160303/pdo_mysql,
0x0009): closured error in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/lib/php/extensions/no-debug-non-zts-20160303/sockets' -
dlopen(/usr/lib/php/extensions/no-debug-non-zts-20160303/sockets,
0x0009): closured error in Unknown on line 0
It seems to be an error with gd2, mbstring, mysqli, pdo_mysql and sockets files but they do not exist on the no-debug-non-zts-20160303/ folder...
Is there a way using homebrew to reinstall all these missing files ?
Thanks