# Cannot access my local WP Sites via Admin or View Site

**URL:** https://community.localwp.com/t/cannot-access-my-local-wp-sites-via-admin-or-view-site/21594
**Category:** Support
**Created:** [August 19, 2020, 4:32am UTC](https://community.localwp.com/t/cannot-access-my-local-wp-sites-via-admin-or-view-site/21594 "2020-08-19T04:32:49Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jacrob](https://avatars.discourse-cdn.com/v4/letter/j/b782af/32.png) [@jacrob](https://community.localwp.com/u/jacrob)
#### Post date: [August 19, 2020, 4:32am UTC](https://community.localwp.com/t/cannot-access-my-local-wp-sites-via-admin-or-view-site/21594/1 "2020-08-19T04:32:49Z")

</div>

I get the following messages. I am not techy at all so not at all sure how to troubleshoot it. Any advice would be appreciated.

 ![Local-Error1-2020-08-18 14_03_59-Window](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/2X/8/87b2a018ecd2db9d441c2c51c725ec22b0a9a6fe.png) ![Local-Error2-2020-08-18 14_03_59-Window](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/2X/c/cb8fe04d3eb1b6705403dee97177132064618715.png)

---

<div class="post-metadata">

### Author: ![afragen](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/afragen/32/31_2.png) [@afragen](https://community.localwp.com/u/afragen)
#### Post date: [August 19, 2020, 4:43am UTC](https://community.localwp.com/t/cannot-access-my-local-wp-sites-via-admin-or-view-site/21594/2 "2020-08-19T04:43:59Z")

</div>

It seems that your theme, blooming\_marvellous, is missing a file at `wp-content/themes/blooming_marvellous/lib/theme-defaults.php`

---

<div class="post-metadata">

### Author: ![jacrob](https://avatars.discourse-cdn.com/v4/letter/j/b782af/32.png) [@jacrob](https://community.localwp.com/u/jacrob)
#### Post date: [August 19, 2020, 5:36am UTC](https://community.localwp.com/t/cannot-access-my-local-wp-sites-via-admin-or-view-site/21594/3 "2020-08-19T05:36:07Z")

</div>

TY afragen. I will delete and attempt to do it again. Having testing my other sites that were loading perfectly before I get the following message:

# Error establishing a database connection

This either means that the username and password information in your `wp-config.php` file is incorrect or we can’t contact the database server at `localhost` . This could mean your host’s database server is down.

- Are you sure you have the correct username and password?
- Are you sure you have typed the correct hostname?
- Are you sure the database server is running?

I was playing around with localhost trying to troubleshoot another app - have I managed to mess up everything?

---

<div class="post-metadata">

### Author: ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)
#### Post date: [November 17, 2020, 5:36am UTC](https://community.localwp.com/t/cannot-access-my-local-wp-sites-via-admin-or-view-site/21594/4 "2020-11-17T05:36:10Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
