While debugging the script to find out why the program will not install, I noticed that the populate database file does not have the CREATE TABLE "av" or CREATE TABLE "books" commands necessary. As such, the script is attempting to papulate tables in the database that do not exist.
This therefore may be the cause of all the install errors.
Because this is a sql error, it may not show up on the page.
Not knowing the fields or their perameters, I cannot correct this bug.