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 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

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

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

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.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

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 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

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 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.