Archive for February 8th, 2010

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.”

Monday, February 8th, 2010

I’ve encountered a shitty problem while trying to access my phpmyadmin.
Here 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.

After some time spend in investigation I’ve figured out something wrong is happening with my
php sessions, therefore I had to spend some time assuring myself php sessions are working correctly.
To achieve that I used a php code taken from the Internet.

Here is a link to the PHP code which checks, if sessions are correctly configured on a server .
Executing the code proove my sessions, are working okay, however still the problem remained.
Everytime I tried accessing phpMyAdmin I was unpleasently suprised by by:

phpmyadmin session error picture
After reconsidering the whole situation I remembered that since some time I’m using varnishd
therefore the problem could have something to do with the varnish-cache.
After checking my default.vcl file and recognizing a problem there I had to remove the following piece
of code from the default.vcl file:

#sub vcl_fetch {
# if( req.request != "POST" )
# {
# unset obj.http.set-cookie;
# }

# set obj.ttl = 600s;
# set obj.prefetch = -30s;
# deliver;
#}

Now after restarting varnishd with:

/usr/local/etc/rc.d/varnishd restart

All is back to normal I can login to PhpMyAdmin and everything is fine!
Thanks God.

Download scanned electronic version of The way of the Rat: A Survival Guide to Office Politics by Joep P. M. Schrijvers

Monday, February 8th, 2010

The way of the rat cover

We were obliged in Arnhem Business School to read the book, The way of the rat: A Survival Guide to Office Politics
I looked for the book everywhere online in Torrents, all kind of download areas etc. and I couldn’t find the book
anywhere. I finally surrendered and decided to purchase the book via ebay
It took it a month or so to come to my address, anyways in the meantime I met a friend, who borrowed the book
from a friend and scanned the entire book.
I asked if I can own the copy so he was generous and shared it, so I thought many other students like me
would be looking for the book in a desperate attempt to save some approximately $10 EUR (that’s the book costs).

That is why I copied the scanned version of the Way of the Rat to my personal apache web server and decided to
share it here.

Follow the link below to download:
Download here The way of the Rat: A Survival Guide to OfficePolitics
I have to warn you the scanning quality is terrible, though the text is readable.
Hope the book would be of use to some students out there who are studying business management.

Fix to annoying reoccuring problem “Enter password for default keyring to unlock”

Monday, February 8th, 2010

About a week and a half, everytime I do start my epiphany browser a really annoying prompt
occurs. Here is a screenshot of the gnome default keyring to unlock I was required to fill in,
everytime I started epiphany.
keyring prompt picture

I know one possible solution was to completely eradicate gnome-keyring package, however
that is definitely not a wise idea.
To fix this mimor though annoying issue I did the following:

1. Opened gnome-control-center (e.g. pressed alt+f2 and issued the gnome-control-center command)
2. Next find the "Encryption and Keyrings" menu and click on it
3. On the "Encryption and Keyrings" submenu "PGP Passphrases" I had to select
"Always remember passphrases whenever logged in
This is it, the annoying prompt won’t bother you anymore!
🙂