$db needs to be initialized :P
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Merge pull request #13 from eurich/populate_fix

fixes for populate.php