If you code looks like the file that I sent then the code is correct. It seems like there might be a problem with your kfm tables and the values in them. You should remove PowerCMS from your site and add it again from the download files.
To remove it completely make sure to delete the files and the connection folder from your PowerCMS folder in your site. Also, go into the db and make sure that you delete the kfm tables. Once you have done this you are ok to install again.
Once you do that let us know the first spot that you have any trouble with so that we can help you get things worked out. Even though some of the info is already covered in the previous replies it would be a good idea to start from the top so that we can avoid any confusion about your current scenario.


