Login error in phpMyAdmin, problem setting auth_type in config.inc.php
Posted
by sergiom
on Server Fault
See other posts from Server Fault
or by sergiom
Published on 2010-05-20T13:43:11Z
Indexed on
2010/05/20
13:50 UTC
Read the original article
Hit count: 299
I'm having a problem accessing phpMyAdmin.
A few weeks ago I did succeed configuring it for auth_type = 'cookie', but I still receive an error stating that I should have to set blowfish_secret. That was strange because it was set.
So I changed auth_type from cookie to http, but it didn't work. I changed it back to cookie, but it doesn't work anymore.
this is the error.
phpMyAdmin - Error
Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.
this is my C:\wamp\apps\phpmyadmin3.2.0.1\config.inc.php
<?php
/* Servers configuration */
$i = 0;
/* Server: localhost [1] */
$i++;
$cfg['Servers'][$i]['verbose'] = 'localhost';
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['port'] = '';
$cfg['Servers'][$i]['socket'] = '';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['auth_type'] = 'cookie';
$cfg['Servers'][$i]['user'] = '';
$cfg['Servers'][$i]['password'] = '';
$cfg['Servers'][$i]['AllowNoPassword'] = false;
$cfg['Servers'][$i]['blowfish_secret'] = 'this is my passphrase';
/* End of servers configuration */
$cfg['DefaultLang'] = 'en-utf-8';
$cfg['ServerDefault'] = 1;
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
?>
I changed the blowfish_secret, since I don't remember the old one, and I deleted the cookies in my browser and restartd all wamp services and the browser. After I enter username and password in the login page I get the error.
I've tried searching into the log files, but I'm a newbie and I'm not sure I've searched the right ones.
I'm using Wamp server 2.0 that has
Apache Version : 2.2.11
PHP Version : 5.3.0
MySQL Version : 5.1.36
phpmyadmin : 3.2.0.1
© Server Fault or respective owner