WordPress blog fails to open

Normally, you’ll get those kinds of results because you have file permissions issues. The files all need to be readable and executable by whatever user the WordPress installation is running as (e.g. on most typical webservers, including if you’re running LAMP/MAMP locally, it’s usually something like the www user and staff group). You’ll need to check the permissions and set them correctly. If you’re on a Linux or Unix (including Mac) setup you can use a combination of chown and chmod to set the permissions correctly:

In the root directory of your WordPress install, you’ll need to run something like (though not necessarily exactly this; it depends on your setup):

$ chown -R www:staff *
$ chmod -R 755 *

I believe you may also need to repeat those commands thus:

$ chown -R www:staff .*
$ chmod -R 755 .*

This way you’ll catch some of the hidden files (e.g. the .htaccess file).

Also, you may need root permissions to do this, in which case you’d need to run those thus:

$ sudo chown -R www:staff *
$ sudo chown -R www:staff .*
$ sudo chmod -R 755 *
$ sudo chmod -R 755 .*

If you’re using a GUI administration tool (like MAMP Pro, for example), you’ll often find a Permissions setting somewhere there. In MAMP Pro, you can set all the permissions in a directory to be what they should using the Permissions button on the General tab in the Hosts area. There are likely similar settings in any XAMPP or Linux administration GUI.