Joomla giving blank screen after http error 500 - php

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.

Related

PHP Unable to load dynamic library "libMagickWand"

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.

Trouble uploading a codeigniter website to the ftp

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.

All php files showing as 500 Internal Server Error

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.

PHP Warning that I cant get rid of .. "missing mcrypt.so" .. but phpinfo() shows it

I have this error showing up in iTerm again..
PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/mcrypt.so
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20090626/mcrypt.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20090626/mcrypt.so, 9): Library not loaded: /usr/local/lib/libmcrypt.4.dylib
Referenced from: /usr/lib/php/extensions/no-debug-non-zts-20090626/mcrypt.so
Reason: image not found in Unknown on line 0
It's just a warning, so I can still work. But I want to get rid of it.
Thing is, I have been down this road before. I have installed mcrypt before when this problem came up previously (with homebrew, I think .. but I was a bit more clueless then than I am now, I was just following some sites. At any rate, the error had disappeared for a few months).
Mcrypt shows in my phpinfo() and the mcrypt.so file is there in /usr/lib/php/extensions/no-debug-non-zts-20090626/mcrypt.so
Any ideas what the problem is? Can anyone give me a hand troubleshooting this?
(I realize that this question has already been asked, but the answer is usually just "You are missing the extension", or "comment out the line in php.ini". I would like to understand what is going on and solve the problem without commenting out mcrypt, as that always seems to raise new additional issues. Specifically, Laravel needs it.)

PHP Startup: Unable to load dynamic library

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.

Categories