phpmyadmin Fatal error
Posted by: ayushgoyal278 (72.10.191.---)
Date: August 05, 2014 05:21PM

Version of Operating system?
Windows Server 2008 R2

Version of Wamp Server installed?
2.5

Version of Apache you are running?
2.4.9

Version of MySQL you are running?
5.6.17

Version of PHP you are running?
5.5.15

What colour is your WampManager icon? ( the in the system tray )
Green

Do you have a HOSTS file? [c:\windows\system32\drivers\etc\hosts]
Yes

I installed wamp server a week back and the then 2 days back I updated php from version 5.5.12 to 5.5.15. Now when I open phpmyadmin, it throws an error like this
Fatal error: Call to undefined function mb_detect_encoding() in C:\wamp\apps\phpmyadmin4.1.14\libraries\php-gettext\gettext.inc on line 177

Could anyone please help me on this.

Thanks in advance.

Options: ReplyQuote
Re: phpmyadmin Fatal error
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: August 05, 2014 05:41PM

Yes,

Activate the php_mbstring extension in PHP.

If you are going to install new versions of Apache/PHP/MySQL manually yourself ( GOOD ON YA ) but you are going to have to learn to compare your current working environment to what comes by default in a new PHP release for example.

WAMPServer guys tailor what comes in the default release for its requirements and for ease of use by beginners.

There may be other things you missed. Better do some checking!

---------------------------------------------------------------------------------------------
(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: phpmyadmin Fatal error
Posted by: ayushgoyal278 (72.10.191.---)
Date: August 05, 2014 06:44PM

Thanks for your quick response RiggsFolly.

I went to C:\wamp\bin\php\php5.5.15 and opened php.ini and removed ; infront of extension=php_mbstring.dll. Restarted all the services but the problem still exists.

Options: ReplyQuote
Re: phpmyadmin Fatal error
Posted by: Otomatic (Moderator)
Date: August 05, 2014 06:51PM

Hi,

> C:\wamp\bin\php\php5.5.15 and opened php.ini
This file in ONLY for CLI PHP. (PHP in command line)

- Wampmanager->PHP->Extensions->php_mbstring
or
- Wampmanager->PHP->php.ini To edit the correct file ie wamp/bin/apache/apache2.4.9/bin/php.ini

------------------------------------------------------------------------------------------------------------
(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
Re: phpmyadmin Fatal error
Posted by: ayushgoyal278 (72.10.191.---)
Date: August 05, 2014 08:13PM

So now I enabled the php_mbstring by going into the wampserver->php->php extensions but still the same error appears when I click on phpmyadmin after restarting all the services.

Options: ReplyQuote
Re: phpmyadmin Fatal error
Posted by: Otomatic (Moderator)
Date: August 06, 2014 09:56AM

Hi,

Reload original version of PHP: Wampmanager->PHP->Version->5.5.12 and see if PhpMyAdmin works.

------------------------------------------------------------------------------------------------------------
(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
Re: phpmyadmin Fatal error
Posted by: lem (---.72.70.115.static.exetel.com.au)
Date: October 30, 2014 11:56PM

Hi,
I had my php working ok until I changed the working directory to f:/www/
Now PhP admin gives this error.

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

php_mbstring is enabled

How to fix?

Options: ReplyQuote
Re: phpmyadmin Fatal error
Posted by: ashwinisanth (---.wifi.nat.warwick.ac.uk)
Date: June 06, 2017 10:42AM

Version of Operating system?
Windows 10

Version of Wamp Server installed?
wamp server 64 bits(x64) 3.0.6

Version of Apache you are running?
2.4.23

Version of MySQL you are running?
5.7.14

Version of PHP you are running?
5.6.25

What colour is your WampManager icon? ( the in the system tray )
Green

I installed wamp server in my laptop atfirst my phpmyadmin worked but later I got error like this

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

Could anyone please help me on this.

Options: ReplyQuote
Re: phpmyadmin Fatal error
Posted by: RiggsFolly (Moderator)
Date: June 06, 2017 11:17AM

Quote

I changed the working directory to f:/www/

Please explain what you actually did

---------------------------------------------------------------------------------------------
(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: phpmyadmin Fatal error
Posted by: ashwinisanth (---.wifi.nat.warwick.ac.uk)
Date: June 06, 2017 12:27PM

Hi

I have changed

extension_dir = "ext"
extension_dir ="c:\wamp64\bin\php\php5.6.25\ext\" in php.ini

Options: ReplyQuote
Re: phpmyadmin Fatal error
Posted by: RiggsFolly (Moderator)
Date: June 06, 2017 12:45PM

Hi,

Maybe you should start a new Thread, as hijacking someone elses thread can cause confusion/

Start your question with the answers to these questions READ (and answer) BEFORE YOU ASK A QUESTION

Then explain your probelm, and any changes you made just prior to getting the problem

---------------------------------------------------------------------------------------------
(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


Sorry, only registered users may post in this forum.