[SOLVED] phpmyadmin error: The configuration file now needs a secret
If newly installed phpMyAdmin dont working because of a blowfish error,
open file /usr/share/phpmyadmin/config.inc.php
nano -w /usr/share/phpmyadmin/config.inc.php
and add anything to this line:
$cfg['blowfish_secret'] = '';
like
$cfg['blowfish_secret'] = 'thing';
after saving phpMyAdmin should work.
If you dont prefer cookie auth (which I'd prefer), changing
$cfg['Servers'][$i]['auth_type'] = 'cookie'; line to $cfg['Servers'][$i]['auth_type'] = 'http'; is probable.
Similar
New technique to win olimpics
At the 1968 Olympics, Dick Fosbury took the athletics world by surprise with an unusual high-jump technique.
Printing mysql_error
This is a code snipped to print mysql error.
If there is no error mysql_error returns null, thus if evaluates false and there is no output.
multiple ON DUPLICATE KEY UPDATE
Here is an example of how to update multiple columns using values supplied in the INSERT statement. This assumes that column 'a' is the unique key.
multiple ON DUPLICATE KEY UPDATE
Here is an example of how to update multiple columns using values supplied in the INSERT statement. This assumes that column 'a' is the unique key.
php unlink recursive
The shortest recursive delete possible.
<?php
/**
* Delete a file or recursively delete a directory
*
* @param string $str Path to file or directory
*/


Comments
Post new comment