updated db to mysql. Still can't edit photos.