Fatal error: Call to undefined function mb_detect_encoding() in C:\wamp\apps\phpmyadmin4.6.4\libraries\php-gettext\gettext.inc on line 177
Posted by: UnaCullen (---.gn.gov.ie)
Date: July 31, 2017 01:33PM

Hello,

I was wondering if anyone can help me. I have wampserver32 installed on Windows 7 Enterprise. it contains MySQL version 5.7.1.4, PHP 5.6.25, Apache 2.4.23.

This installation worked on Friday but today I am getting the errors below. The colour of the wampserver icon has always been red and has never changed colour but this did not stop it working for me on Friday.

The errors I am getting today are as follows:



LocalHost:
*** ERROR *** The PHP configuration loaded file is: - should be: c:/wamp/bin/apache/apache2.4.23/bin/php.ini or c:/wamp/bin/php/php5.6.25/phpforapache.ini
You must perform: Right-click icon Wampmanager -> Refresh

Phpadmin

Fatal error: Call to undefined function mb_detect_encoding() in C:\wamp\apps\phpmyadmin4.6.4\libraries\php-gettext\gettext.inc on line 177

Also, When I go to wampserver\php\ php.ini it is telling me that one doesn't exist in c:\wamp\bin\apache\apache2.4.23\bin\php.ini and would I like to create one.


Regards

Una

Options: ReplyQuote
Re: Fatal error: Call to undefined function mb_detect_encoding() in C:\wamp\apps\phpmyadmin4.6.4\libraries\php-gettext\gettext.inc on line 177
Posted by: RiggsFolly (Moderator)
Date: July 31, 2017 01:46PM

If the WAMPServer Icon is red then possibly you have another MySQL Server and maybe even another Apache running on your machine.

This always causes major confusion. PLease check if that is the case on your PC.

---------------------------------------------------------------------------------------------
(Windows 7 Pro 32bit) (Wampserver 3.0.6 32bit)
<Apache 2.4.23/2.2.31> <PHP 7.1.2/7.0.16/5.6.28/5.5.38/5.4.45/5.3.29> <MySQL 5.7.10/5.6.17/5.5.28>
<MariaDB 10.1.21> <phpMyAdmin4.6.5.2> <MySQL Workbench 6.3.6.511>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin -- WAMPServer alternate Repo
-?-?-?- Backup your MySQL databases regularly Here is How dont regret it later! Yes even when developing -?-?-?-

Options: ReplyQuote
Re: Fatal error: Call to undefined function mb_detect_encoding() in C:\wamp\apps\phpmyadmin4.6.4\libraries\php-gettext\gettext.inc on line 177
Posted by: UnaCullen (---.gn.gov.ie)
Date: July 31, 2017 05:08PM

Thank you,
I found a native SQL client and when this was deleted, I no longer received the errors on Localhost
and Phpadmin but still when I try go into wampserver-> PHP->PHP.ini,
I get the error " Can't find file c:\wamp\bin\apache2.4.23\bin\php.ini, would you like to create one?"

When I go to Wordpress I am now getting an error about the "cURL error 60 Certificate problem: self signed certificate in certificate chain" when trying to add a theme and wondering if the two are connected.

Regards

Una

Options: ReplyQuote
Re: Fatal error: Call to undefined function mb_detect_encoding() in C:\wamp\apps\phpmyadmin4.6.4\libraries\php-gettext\gettext.inc on line 177
Posted by: Otomatic (Moderator)
Date: July 31, 2017 06:04PM

Hi,

Is there still the error at the bottom of localhost page?
*** ERROR *** The PHP configuration loaded file is: - should be: c:/wamp/bin/apache/apache2.4.23/bin/php.ini or c:/wamp/bin/php/php5.6.25/phpforapache.ini

Are you sure the disk is formatted NTFS, not extFAT ?

------------------------------------------------------------------------------------------------------------
(W7 Pro 64 bit)-Wampserver 3.1.0 32 bit - Apache 2.4.29 - PHP 7.1.10/7.0.24/5.6.31 - MySQL 5.7.20 - MariaDB 10.2.9
Wampserver 3.1.0 64 bit - Apache 2.4.29 - PHP 7.1.10/7.0.24/5.6.31 - MySQL 5.7.20 - MariaDB 10.2.9
PhPMyAdmin 4.7.4 - MysqlDumper 1.24.5

Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote


Sorry, only registered users may post in this forum.