You are not logged in.

#1 2005-01-27 10:44:33

pineapplefarm
Member
Registered: 2005-01-27
Posts: 1

phpMyAdmin help...Warning and Fatal Error

Hello,
I've installed the latest stable version of phpMyAdmin to my sites folder...
When i run http://127.0.0.1/phpMyAdmin/index.php it gives me a blank page.

when i check my error_log, i get this...

[Thu Jan 27 10:41:18 2005] [error] PHP Fatal error:  mcrypt_decrypt(): Mcrypt initialisation failed in /Users/gavinsermona/Sites/phpMyAdmin/libraries/mcrypt.lib.php on line 90

Here is the failed file line 90

90     return trim(mcrypt_decrypt(MCRYPT_BLOWFISH, $secret, base64_decode($encdata), MCRYPT_MODE_CBC, $iv));

Thanks guys...

Offline

 

#2 2005-02-02 00:41:44

Justin
Site Admin
Registered: 2003-06-01
Posts: 33
Website

Re: phpMyAdmin help...Warning and Fatal Error

Are you using Apple's built-in PHP module? If not and you installed your own instance of PHP, it would be helpful to know where you got it from. In any case, try the following link:

http://127.0.0.1/phpMyAdmin/phpinfo.php

See if '--with-mcrypt=[path]' appears in the Configure Command section. It may be required for certain phpMyAdmin functions. Check the phpMyAdmin documentation for more detail on mcrypt and how it relates to your configuration settings.

Hope this helps,

Justin

Offline

 

#3 2006-08-16 21:59:23

jmouse888
Member
Registered: 2006-08-16
Posts: 1

Re: phpMyAdmin help...Warning and Fatal Error

Found Solution - Same error after YaST update on SuSE

I got the same error message after YaST updated phpMyAdmin to 2.7.0-pl2

googled around and found somebody mentioned the blowfish_secret string in config.inc.php

here is what I did to fix the problem

- find the file config.inc.php (shoulld be in your phpMyAdmin/ or /etc/phpMyAdmin)

- look for the block:

/**
* The 'cookie' auth_type uses blowfish algorithm to encrypt the password. If
* at least one server configuration uses 'cookie' auth_type, enter here a
* passphrase that will be used by blowfish. The maximum length seems to be 46
* characters.
*/
$cfg['blowfish_secret'] = 'some_string_here_with_max_46_chars';

- my string was over 100+ chars before I fixed it. i'm not sure why they change the length of this. may be before it was storing the hash and now it's the original string before the hash. who knows.

- anyway, changed to a 46 char string like the comment says and the error message went away. phpMyAdmin is working again. big_smile

JMouse

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson