TrustFire Mini2 Keychain Flashlight Unboxing and Overview
InCharge All-In-One+ Unboxing and Overview
PostfixAdmin Blank Page Error
Postfix is a free and open-source mail transfer agent (MTA) that routes and delivers electronic mail. PostfixAdmin is a web-based management tool created for Postfix. It is a PHP based application that handles Postfix Style Virtual Domains and Users that are stored in a database.
I have this PostFixAdmin install that leads to a blank page after login. A peek at the web server error log identified the problem:
Got error 'PHP message: Invalid query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'superadmin' in...
I fixed it. Then I encountered another blank page. Another peek at the web server:
Got error 'PHP message: Invalid query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'password_expiry' in...
It appears that during an upgrade from an older version, the database portion of the upgrade got botched somehow. So the fix was to get into the SQL console and manually run the following updates:
ALTER TABLE admin ADD COLUMN superadmin bool after password;
ALTER TABLE mailbox ADD COLUMN password_expiry TIMESTAMP DEFAULT now() not null;
ALTER TABLE domain ADD COLUMN password_expiry int DEFAULT 0;
And that was it. Simple but might help someone.
RIP Ken Block
Just learned that Ken Block of Gymkhana fame passed away due to a snow mobile accident last January 2. I first encountered him when I watched Gymkhana 3 at a DC Shoes in Eastwood a long time ago. I stopped watching after Gymkhana 4 but he and his driving panache definitely left a lasting impression.