DB path and HTTP error fixes.