# WP configuration issue with "wp-config.php" file

**URL:** <https://community.localwp.com/t/wp-configuration-issue-with-wp-config-php-file/39921>\
**Category:** Archived Support\
**Created:** [November 10, 2023, 10:30am UTC](https://community.localwp.com/t/wp-configuration-issue-with-wp-config-php-file/39921 "2023-11-10T10:30:37Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gabrielee](https://avatars.discourse-cdn.com/v4/letter/g/dfb087/32.png) [@Gabrielee](https://community.localwp.com/u/Gabrielee)\
**Post date:** [November 10, 2023, 10:30am UTC](https://community.localwp.com/t/wp-configuration-issue-with-wp-config-php-file/39921/1 "2023-11-10T10:30:37Z")

</div>

Hi, my name is Gabriele.

When creating the first site it gives me the following error:

 ![image](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/4/4/443a7e69f34b1c790e84dbea5c118bc8979a5bc0.png)  
after the error the site is created anyway and when I open it I get this page:  
 ![image](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/8/9/89f311ce6e770de6a5af6a6e2455b3ecbabb3c21.png)  
I have already tried to reinstall everything by deleting the files previously created in the various folders used by Local and I also tried to suspend my antivirus and use the Windows one by giving permissions with Windows Defender Firewall to Local.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [November 16, 2023, 1:55pm UTC](https://community.localwp.com/t/wp-configuration-issue-with-wp-config-php-file/39921/2 "2023-11-16T13:55:46Z")

</div>

Hi @Gabrielee

If you change your Router Mode to Localhost are you able to proceed? Preferences\>Advanced\>Router Mode\>Localhost

---

<div class="post-metadata">

**Author:** ![Gabrielee](https://avatars.discourse-cdn.com/v4/letter/g/dfb087/32.png) [@Gabrielee](https://community.localwp.com/u/Gabrielee)\
**Post date:** [November 17, 2023, 1:43pm UTC](https://community.localwp.com/t/wp-configuration-issue-with-wp-config-php-file/39921/3 "2023-11-17T13:43:05Z")

</div>

Nothing to do, after changing the setting to Localhost it still gives me the same problem configuring the “wp-config.php” file.

 ![image](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/a/2/a27638c92c2809e4789978b650d5941450b0b0ed.png)

 ![Screenshot 2023-11-17 143344](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/f/d/fdf1d271ff07f05acf0d383b6bd598df86ead85c.png)

 ![image](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/9/4/940ed4c149217db790363a215b424bd9f2e3621f.png)

 ![image](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/d/2/d2d33bd52c68e882da142ce6fee9b06ab2a4c689.png)

 ![image](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/f/6/f6bc93e3fc71725a081445c5e5266c310051e193.png)

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [November 18, 2023, 9:19pm UTC](https://community.localwp.com/t/wp-configuration-issue-with-wp-config-php-file/39921/4 "2023-11-18T21:19:13Z")

</div>

Could you provide some more details to help us take a further look?

- What is your OS?

- What version of Local are you on?

- Please attach a copy of your [Local Logs](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/#download-local-logs)

Keep us posted and we’d be happy to help further!

---

<div class="post-metadata">

**Author:** ![Gabrielee](https://avatars.discourse-cdn.com/v4/letter/g/dfb087/32.png) [@Gabrielee](https://community.localwp.com/u/Gabrielee)\
**Post date:** [November 23, 2023, 8:34am UTC](https://community.localwp.com/t/wp-configuration-issue-with-wp-config-php-file/39921/5 "2023-11-23T08:34:05Z")

</div>

OS: Windows 11, version 23H2  
Version of Local:

 ![image](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/8/0/80316823471e77b29e76e6d36a52bf03ccdb8cdf.png)  
Local Logs:  
[local-logs.zip](https://community.localwp.com/uploads/short-url/5xRz6muCG4NUEdMeXiMUdSR4Xw1.zip) (9.3 KB)  
Thanks.

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [November 25, 2023, 3:47pm UTC](https://community.localwp.com/t/wp-configuration-issue-with-wp-config-php-file/39921/6 "2023-11-25T15:47:12Z")

</div>

In order to refresh here and start with a clean slate could you give the below troubleshooting steps a try?

- Export any sites that you have on Local and save them to a folder somewhere on your computer.

- [Fully uninstall Local from your computer.](https://localwp.com/help-docs/troubleshooting/uninstalling-local/)

- Install the latest version of Local on this [link.](https://localwp.com/releases/) - Try right-clicking the installer and “Run as administrator” just to make sure that installer can get everything it needs in place without permissions issues.

- Once installed, please restart the computer.

- When the computer is restarted and turned on, close any applications that automatically run in the background. Make sure that any antivirus, security, or firewall applications are not blocking Local.

---

<div class="post-metadata">

**Author:** ![Gabrielee](https://avatars.discourse-cdn.com/v4/letter/g/dfb087/32.png) [@Gabrielee](https://community.localwp.com/u/Gabrielee)\
**Post date:** [November 27, 2023, 1:02pm UTC](https://community.localwp.com/t/wp-configuration-issue-with-wp-config-php-file/39921/7 "2023-11-27T13:02:03Z")

</div>

I followed all the procedures but I still get the error when creating the site.

---

<div class="post-metadata">

**Author:** ![sambrockway](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/sambrockway/32/18726_2.png) [@sambrockway](https://community.localwp.com/u/sambrockway)\
**Post date:** [November 27, 2023, 8:25pm UTC](https://community.localwp.com/t/wp-configuration-issue-with-wp-config-php-file/39921/8 "2023-11-27T20:25:15Z")

</div>

Hello @Gabrielee -

Looking at your username, I wonder if you’re running into this known issue:

It looks like this error may be due to a special character in your Windows username.

Can you try creating and using a user directory without extended characters?

> [@Special characters not supported on Windows username/password](https://community.localwp.com/t/unable-to-provision-site-due-to-special-characters-in-windows-username/14419):
>
> Moderator Note: Known Bug Summary Thank you everyone who has chimed in and helps clarify this issue! The general problem is that when a Windows Username includes special characters (so an apostrophe ' or a non-ASCII character like é) it can break the commands Local uses to communicate with the MySQL database. Usernames that have an apostrophe in them should be fixed, so update to the most recent version of Local if the username has an apostrophe in it. Read on for what you can do if the userna…

Thanks!

Sam

---

<div class="post-metadata">

**Author:** ![Gabrielee](https://avatars.discourse-cdn.com/v4/letter/g/dfb087/32.png) [@Gabrielee](https://community.localwp.com/u/Gabrielee)\
**Post date:** [December 4, 2023, 8:41am UTC](https://community.localwp.com/t/wp-configuration-issue-with-wp-config-php-file/39921/9 "2023-12-04T08:41:44Z")

</div>

> [@sambrockway](#):
>
> are una directory utente senza caratteri estesi?

Hi, I just completed renaming my user directory and everything went well, my site is now up and running.  
Thank you very much for your great help, I wish you a good day.

---

<div class="post-metadata">

**Author:** ![sambrockway](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/sambrockway/32/18726_2.png) [@sambrockway](https://community.localwp.com/u/sambrockway)\
**Post date:** [December 4, 2023, 3:36pm UTC](https://community.localwp.com/t/wp-configuration-issue-with-wp-config-php-file/39921/10 "2023-12-04T15:36:37Z")

</div>

Hello @Gabrielee -

Happy that helped! Please let us know if you need any more assistance.

Happy Building 💚

Sam

---

<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:** [December 6, 2023, 3:37am UTC](https://community.localwp.com/t/wp-configuration-issue-with-wp-config-php-file/39921/11 "2023-12-06T03:37:17Z")

</div>

Closed on December 6, 2023, 3:37am UTC

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