I have a magento website. which worked find until my hosting server upgraded its php version to 5.4.25.Now i'm getting this error
Fatal error: Call to undefined function iconv_get_encoding() in /home/dbname/public_html/Magento/mysite/lib/Zend/Validate/Hostname.php on line 520
why i'm getting this error?
You should uncomment extension=iconv.so in php.ini. That would enable the function
Related
I'm using PHP to read encryted file using opensll.
when doing
openssl_pkcs12_read($storedfile, $certificateinfo, $passwd)
in my script, error came out is :
Fatal error: Call to undefined function openssl_pkcs12_read()
I'm trying to install openssl extension for my Suse Linux Enterprise Server 11.
Can anybody help me how to install openssl extension in SLES. or how to solve this problem.
thanks
I recently transferred my magento website from an old server to a new one, and when I opened the home page, it gives me Internal Server Error 500. In the server error log, i can see the following error:
PHP Fatal error: Class 'IntlDateFormatter' not found in /home/evonengc/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 93
How can I solve this error?
go to php.ini and enable the extension
;extension=php_intl.dll
to
extension=php_intl.dll
and restart Apache
I just changed my server and now I'm getting the following error;
Fatal error: Call to undefined function mysqli_init() in /home/site_address/public_html/system/database/drivers/mysqli/mysqli_driver.php on line 125
What's the problem and how to solve it?
Note: changes dbdriver from mysqli to mysql also getting error
Go to your php init file and uncomment the following extension:
extension=php_mysqli.dll
I have to use fribidi_log2vis in PHP. When I call it, my localhost (XAMPP) shows this error:
Fatal error: Call to undefined function fribidi_log2vis()
but this function is exists in php.net (http://php.net/manual/en/function.fribidi-log2vis.php)
Fribidi is a PECL extension that is not bundled with PHP by default. Installing instructions: http://php.net/manual/en/install.pecl.php
I'm seeing the below error after attempting to activate a WordPress theme. The error message in the browser is...
Fatal error: Call to undefined function gzopen() in /var/www/mysite.com/wp-content/themes/flat/themify/themify-builder/classes/class-themify-builder-layouts.php on line 528
Checking my /var/log/apache2/error.log I see the following error:
Call to undefined function gzopen() in /var/www/mywebsite.com/wp- content/themes/flat/themify/themify-builder/classes/class-themify-builder-layouts.php on line 528, referer: http://mywebsite.com/wp-admin/update.php?action=upload-theme
Server information:
OS: Ubuntu 14.04 LTS
Apache: APache/2.4.7
PHP: PHP 5.5.9-1ubuntu4
That happened with me too (after upgrading to 14.04 #ubuntu). I waisted my whole day on it but in the end i found the solution.
replace gzopen with gzopen64.
this absolutely worked for me.
PS: I'll like the magento community to know that this problems appeared in creating package, after upgrading apache and php.
This issue occurs because your PHP server is not compiled with Zlib (this PHP module allows you to read and write .gz compressed files). Zlib support in PHP is not enabled by default.
More information about how to setup Zlip can be found here: http://php.net/manual/en/zlib.setup.php