fixed db read errors. I did chmod 777 on the db file and chmod a+w on the db folder.