Finally got it to work by constantly uninstalling and reinstalling. After each time I did it though, it wouldn't create the tables in the database or anything so I looked at
moodle/mod/db/mysql.sql
Then I pasted this document into myphpadmin and changed all the table prefixes from "prefix_wiki" to "mdl_wiki", as well as "prefix_log_display" to "mdl_log_display".
Everything works fine now.
Wiki
Serious Nwiki problem
This discussion has been locked so you can no longer reply to it.