PHP 5 Internal error about chr(255).chr(254).@mb_convert_encoding

nitiphone2021

New member
Dear all,
According to I install old project about cakePHP and I make some report but get a error about Server Internal error
As I checked It's error about this code
Code:
try{

$excelContent = chr(255).chr(254).@mb_convert_encoding($excelContent, 'UTF-16LE', 'UTF-8');

} catch (Exception $e) {

echo 'Caught exception: ',  $e->getMessage(), "\n";
}

Do you have any idea about this code? I try to catch the error but it's not work
 
PHP should have logged the actual error to a log file; if you're running your PHP through apache it's likely to be in /var/log/apache/error.log. Without the error it's difficult to help you.
 
This is the error on the log file.
It that possible the error about mb string extension?
Code:
[Tue Jun 29 08:35:40.357470 2021] [cgi:error] [pid 1453] [client 183.182.123.252:17778] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/point_of_sales/add
[Tue Jun 29 08:35:41.808724 2021] [cgi:error] [pid 1454] [client 183.182.123.11:25347] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/dashboards/index
[Tue Jun 29 08:35:42.249844 2021] [cgi:error] [pid 1453] [client 183.182.123.252:17778] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/point_of_sales/add
[Tue Jun 29 08:35:42.446867 2021] [cgi:error] [pid 1454] [client 183.182.123.11:25347] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/dashboards/index
[Tue Jun 29 08:35:42.683721 2021] [cgi:error] [pid 32757] [client 183.182.123.11:54589] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/dashboards/index
[Tue Jun 29 08:35:42.777853 2021] [cgi:error] [pid 569] [client 183.182.123.252:12790] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/point_of_sales/add
[Tue Jun 29 08:35:42.793896 2021] [cgi:error] [pid 1447] [client 183.182.123.252:17781] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/point_of_sales/add
[Tue Jun 29 08:35:43.112858 2021] [cgi:error] [pid 1366] [client 115.84.118.225:26004] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: http://newlink.bdb.com.la/dashboards/index
[Tue Jun 29 08:35:46.808798 2021] [cgi:error] [pid 1454] [client 183.182.123.11:25347] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/dashboards/index
[Tue Jun 29 08:35:46.808888 2021] [cgi:error] [pid 32757] [client 183.182.123.11:54589] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/dashboards/index
[Tue Jun 29 08:35:47.538893 2021] [cgi:error] [pid 1006] [client 183.182.123.11:25706] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/dashboards/index
[Tue Jun 29 08:35:48.010926 2021] [cgi:error] [pid 1453] [client 183.182.123.252:17778] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/point_of_sales/add
[Tue Jun 29 08:35:48.017833 2021] [cgi:error] [pid 1453] [client 183.182.123.252:17778] AH01215: PHP Deprecated:  Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/point_of_sales/add
[Tue Jun 29 08:35:48.629357 2021] [cgi:error] [pid 1453] [client 183.182.123.252:17778] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/point_of_sales/add
[Tue Jun 29 08:35:48.633452 2021] [cgi:error] [pid 1453] [client 183.182.123.252:17778] AH01215: PHP Deprecated:  Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/point_of_sales/add
[Tue Jun 29 08:35:49.169885 2021] [cgi:error] [pid 569] [client 183.182.123.252:12790] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/point_of_sales/add
[Tue Jun 29 08:35:49.174836 2021] [cgi:error] [pid 569] [client 183.182.123.252:12790] AH01215: PHP Deprecated:  Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/point_of_sales/add
[Tue Jun 29 08:35:49.789071 2021] [cgi:error] [pid 32757] [client 183.182.123.11:54589] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/dashboards/index
[Tue Jun 29 08:35:49.907850 2021] [cgi:error] [pid 1453] [client 183.182.123.252:17778] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/point_of_sales/add
[Tue Jun 29 08:35:50.454051 2021] [cgi:error] [pid 32757] [client 183.182.123.11:54589] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/dashboards/index
[Tue Jun 29 08:35:51.246147 2021] [cgi:error] [pid 1453] [client 183.182.123.252:17778] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/point_of_sales/add
[Tue Jun 29 08:35:51.506885 2021] [cgi:error] [pid 569] [client 183.182.123.252:12790] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/point_of_sales/add
[Tue Jun 29 08:35:52.218882 2021] [cgi:error] [pid 1453] [client 183.182.123.252:17778] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/point_of_sales/add
[Tue Jun 29 08:35:55.849198 2021] [cgi:error] [pid 1453] [client 183.182.123.252:17778] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/point_of_sales/add
[Tue Jun 29 08:35:55.853400 2021] [cgi:error] [pid 1453] [client 183.182.123.252:17778] AH01215: PHP Deprecated:  Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/point_of_sales/add
[Tue Jun 29 08:35:56.508636 2021] [cgi:error] [pid 1204] [client 183.182.123.252:17782] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/point_of_sales/add
[Tue Jun 29 08:35:56.512879 2021] [cgi:error] [pid 1204] [client 183.182.123.252:17782] AH01215: PHP Deprecated:  Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/point_of_sales/add
[Tue Jun 29 08:35:58.065921 2021] [cgi:error] [pid 1366] [client 115.84.118.225:26150] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: http://newlink.bdb.com.la/dashboards/index
[Tue Jun 29 08:35:58.090865 2021] [cgi:error] [pid 1198] [client 115.84.118.225:45083] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: http://newlink.bdb.com.la/dashboards/index
[Tue Jun 29 08:35:58.127250 2021] [cgi:error] [pid 1454] [client 115.84.118.225:45906] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: http://newlink.bdb.com.la/dashboards/index
[Tue Jun 29 08:35:59.779375 2021] [cgi:error] [pid 1453] [client 183.182.123.252:17778] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/point_of_sales/add
[Tue Jun 29 08:35:59.784261 2021] [cgi:error] [pid 1453] [client 183.182.123.252:17778] AH01215: PHP Deprecated:  Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/point_of_sales/add
[Tue Jun 29 08:36:00.167854 2021] [cgi:error] [pid 890] [client 183.182.123.11:55692] AH01215: PHP Warning:  PHP Startup: Unable to load dynamic library '/opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll' - /opt/cpanel/ea-php56/root/usr/lib64/php/modules/php_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0: /usr/local/cpanel/cgi-sys/ea-php56, referer: https://newlink.bdb.com.la/dashboards/index
 
Back
Top