I don't rely on the profile as so many of them are old and not updated. Asking up front saves a lot of time and back and fourth posting trying to get the right information. We need the correct information so we can provide a fix that was relevent to the version in question.
Using iPhoto Library Manager to Rebuild Your iPhoto Library
Download iPhoto Library Manager and launch.
Click on the Add Library button,
navigate to your Home/Pictures folder and select your iPhoto Library folder.
Now that the library is listed in the left hand pane of iPLM, click on your library and go to the Library ➙ Rebuild Library menu option
In the next window name the new library and select the location you want it to be placed.
Click on the Create button.
Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments. However, books, calendars, cards and slideshows will be lost.
Note: your current library will be left untouched for further attempts at a fix if so desired.
If that fails give this a go:
Starting over from scratch with new library
Start over with a new library and import the Originals (iPhoto 09 and earlier) or the Masters (iPhoto 11) folder from your original library as follows:
1. Open the library folder.
2. Launch iPhoto with the Option key held down and, when asked, select the option to create a new library.
3. Drag the subfolders from the Originals folder into the open iPhoto window a few at a time.
This will create a new library with the same Events as the original library but will not keep the metadata, albums, books slideshows and other projects.
Note: your current library will be left untouched for further attempts at a fix if so desired.