Check ./database folder permissions. Setting permissions 777 helps.
Can't find other ways to fix this problem.
Also you may have problems with images inside admin interface. 777 permissions for ./upload folder helps