All of them checks in that step test to see if a file can be opened via URL or PATH. Just out of curiosity add the $check = 1; after each file opening in step 5 so that all checks pass. This should allow you to get to step 6.
There must be a reason the files are not able to be opened. I myself haven't had much luck with using PHP and MySQL on a windows box but there may be someone else around here that has.
Anyone else here had simular problems?