Does iTunes recognize the phone? If so try the following:
1 - back it up with iTunes (Back Up Now button).
2 - restore to factory settings (Restore iPhone... button).
3 - check to see if iPhoto can recognize it. If it does
go back to iTunes and restore the phone (Restore Backup button).
5 - try iPhoto again