This is an error I've received from multiple projects on live servers, but not localhost.
A PHP Error was encountered
Severity: Core Warning
Message: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/imagick.so' - libMagickWand.so.2: cannot open shared object file: No such file or directory
Filename: Unknown
Line Number: 0
Backtrace:
I have never used Imagick (libMagickWand) and none of the projects where I've received this error have I required functionality that Imagick offers, but for whatever reason I still get these errors. It's interfering with my scripts working properly. In this particular case, the error is appearing in a JSON formatted database select.
Some times the error appears, other times it doesn't, but when it does it causes my scripts that rely on that file containing JSON to not work. Refreshing is the only cure, but obviously that's not a permanent fix, not even a temporary one. I've googled it and all I can find is threads discussing how to install the library.
Any help in removing this error would be greatly appreciated, thank you.
Either:
one of the ini files that you your live servers are using contains extension=imagick.so
or
You've managed to compile PHP against Imagick but then deleted the ImageMagick library from the system.
Either way, you need to talk to whoever manages your server and find out why Imagick is trying to be loaded.
Related
I had Joomla site giving an HTTP error 500 on both the frontend and backend.
I changed the permissions on index.php to 755 but no luck.
I noticed it was running PHP 5.6 so I upgraded to PHP 7 and now it's just giving me a blank screen. I checked the error log and I'm receiving the following error:
PHP Warning: PHP Startup: Unable to load dynamic library
'/usr/php/54/usr/lib64/php/modules/uploadprogress.so' -
/usr/php/54/usr/lib64/php/modules/uploadprogress.so: undefined symbol:
zend_ini_string_ex in Unknown on line 0
I was also getting this error beforehand. Any ideas on what module I can / should disable to fix this?
The warning that you're seeing has likely nothing to do with the blank page. Assuming you already set the $error_reporting to maximum in your configuration.php file and you didn't see the error, then try disabling system plugins one by one (disable the last ones installed first) until the problem is fixed.
Now, if you still see the error, then it is possible that you didn't install the PHP MySQL module when you updated to PHP 7. This issue is common when you have WHM, essentially, you will need to install the module through EasyApache. See this post about this.
I've updated my mediawiki from 1.26.2 to 1.27, the installation process finished ok, but when I try to access I received this error:
Warning:
require(/var/app/current/includes/specials/SpecialUserLogin.php):
failed to open stream: No such file or directory in
/var/app/current/includes/AutoLoader.php on line 81 Fatal error:
require(): Failed opening required
'/var/app/current/includes/specials/SpecialUserLogin.php'
(include_path='/var/app/current/vendor/pear/pear_exception:/var/app/current/vendor/pear/console_getopt:/var/app/current/vendor/pear/pear-core-minimal/src:/var/app/current/vendor/pear/mail_mime:/var/app/current/vendor/pear/mail_mime-decode:/var/app/current/vendor/pear/net_socket:/var/app/current/vendor/pear/net_smtp:/var/app/current/vendor/pear/mail:.:/usr/share/pear:/usr/share/php')
in /var/app/current/includes/AutoLoader.php on line 81
I have no idea why is this happening. If I check the files in my server they're there. I'm also having template issues if I choose vector I only get a messed up template, without styling.
I'm using PHP 5.6.
I hope someone can help me.
I just stumbled across this same exact error after upgrading to MW 1.27.
In my case, the SpecialUserlogin.php existed and all of the permissions were right BUT the word login was written in lowercase so the system thought this file didn't exist. So I just renamed the SpecialUserlogin.php to SpecialUserLogin.php and b00m, it worked!
As for your templating issues, check the common.css file. Copy paste everything out of there, so it's empty, if you don't use it. And check that you're calling your style files correctly in your template.
I have been trying to upload a codeigniter website but for some reason it shows errors i do not have on my local environment. These errors popped up after i uploaded the files:
A PHP Error was encountered
Severity: Warning Message: Cannot modify header information - headers
already sent by (output started at
[basepath]/application/config/constants.php:1)
Filename: core/Common.php
Line Number: 568
404 Page Not Found
The page you requested was not found.
A PHP Error was encountered
Severity: Core Warning
Message: PHP Startup: Unable to load dynamic library
'/opt/alt/php56/usr/lib64/php/modules/ioncube_loader.so' -
/opt/alt/php56/usr/lib64/php/modules/ioncube_loader.so: cannot open
shared object file: No such file or directory
Filename: Unknown
Line Number: 0
I have changed the database settings so that it would connect to the online database. I also followed the correct guide which suggested which setting to change to be able to access the files on the new server. I am however pestered by errors which seem to come from codeigniter's own files.
Has anyone encountered any of there errors, or can anyone make sense of them? Help would really be appreciated!
Your error occurs due to Ioncube security extension website.
As far as i know, this error could be caused by unsupported version of PHP. You have installed PHP 5.6 and Ioncube may still not support it. You should upgrade your ioncube extension or downgrade PHP.
Problem: Any php file we attempt to access on our website shows up as a 500 internal server error. I'm not sure if this is related but I have had a look in the error logs and the below error appears:
[08-Nov-2013 12:41:51 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/htscanner.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/htscanner.so:
cannot open shared object file: No such file or directory in Unknown on line 0
Attempt: Some of the things I have tried to do is delete the over size error log and renamed the htaccess file to see if that was causing the problem.
Page: You can see the problem at this page: http://science.org.au/support-us/donate-now.html (Half way down in the iframe)
Question: Does anyone have any ideas on how to fix this? Things to try?
Did you try this?
edit the file /etc/php5/cli/php.ini:
and remove the lines:
[htscanner] Extension = “htscanner.so”
config_file = “.htaccess”
default_docroot = “/var/www”
You should pay more attention to what your error log says. According to it, you should either install htscanner.so PHP extension, or remove reference to it from your php.ini.
I have notice I started getting this error message in my error log:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php
/extensions/no-debug-non-zts-20060613/pdf.so' - /usr/local/lib/php/extensions
/no-debug-non-zts-20060613/pdf.so: cannot open shared object file: No such file
or directory in Unknown on line 0
The error goes into the log every time you open the main page but everything seems to be working. Does anyone have any ideas what might cause this error to occur, I have been change the code in the past few days but when read back though I can't find anything that could be the cause.
there's nothing on the page that I have changed for when it initially loads but i have changed things in areas where I have if (isset...etc.
Any possible suggestions are appreciated. what type of command might this error message be caused by?
It appears your PHP installation is configured to load http://www.php.net/manual/en/intro.pdf.php and cannot find it.
Remove its respective extension entry in php.ini or fix the path or ensure the file exists if you require it.