This either means that the username and password information in your
wp-config.php
file is incorrect or that contact with the database server atlocalhost
could not be established. 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?
The answers are Yes, Yes, and Yes, that last two are obviously correct because the other site is running perfectly. Any thoughts on what could possibly be causing this issue.
]]>
I’m one of few editors of the page (very simple page, mostly text, WEBPAGE IS WORKING FINE) and only I have this problem (other editors are using Windows too)- edit field do not loading when trying to edit any page on Windows 10 however, on Mac everything is fine.
On Windows the edit page is freezes to “Page unresponsive” if I click “wait” I get Error code: RESULT_CODE_HUNG
If I keep clicking on “Wait” button it keeps loading RAM memory up to +-3GB and returns Error code: OUT_OF_MEMORY
So far investigation:
– I tried on two different Windows 10 computers (both i7, 16GB and 64GB RAM, SSD) with the same result;
– Tried on Chrome and on Edge, both up to date;
– Deleted cookies and browsing data, all extensions are disabled;
– Tried on different Chrome profiles
– *****on Macbook with Chrome and my profile it works flawlessly*****
Please help!
[31-Aug-2024 00:51:38 UTC] PHP Warning: Undefined array key "C:/laragon_new/www/XXX/wp-content/themes/XXX/parts/header.html" in C:\laragon_new\www\XXX\wp-content\plugins\query-monitor\output\html\theme.php on line 163
[31-Aug-2024 00:51:38 UTC] PHP Warning: Undefined array key "C:/laragon_new/www/XXX/wp-content/themes/XXX/parts/footer.html" in C:\laragon_new\www\XXX\wp-content\plugins\query-monitor\output\html\theme.php on line 163
For info, i use PHP 8.3 at the moment but i don’t think (not quite sure) that’s it’s related.
What i found out is that QM seems to be collecting data differently about “paths” on Windows (which is causing the PHP Warnings.
When i log $parts and $data->count_template_parts, i can clearly see that one is using forward slashes but the other one is using a mix, the logs:
[31-Aug-2024 00:59:27 UTC] DEBUG: $parts Array
(
[C:/laragon_new/www/XXX/wp-content/themes/XXX/parts/header.html] => parts/header.html
[C:/laragon_new/www/XXX/wp-content/themes/XXX/parts/footer.html] => parts/footer.html
)
[31-Aug-2024 00:59:27 UTC] DEBUG: $data->count_template_parts Array
(
[C:\laragon_new\www\XXX/wp-content/themes/XXX/parts/header.html] => 1
[C:\laragon_new\www\XXX/wp-content/themes/XXX/parts/footer.html] => 1
)
If you have an idea on how to fix this, that would be great
Have a good day,
Damien
Unfortunately, the issue has been present for sometime and it makes localhost development difficult. Without opcache I lose a lot of time in loading WordPress locally when deveoping and testing code.
Could I kindly ask this be looked into? For now I will use version 8.41 and test final output on a linode production server.
Thanking you kindly,
Mark.
wp cli update
, this is the reply I get:
]]>You have version 2.9.0. Would you like to update to 2.10.0? [y/n] y
Downloading from https://github.com/wp-cli/wp-cli/releases/download/v2.10.0/wp-cli-2.10.0.phar…
md5 hash verified: 6710e90c3ed173925acd35ce5fe5aaf9
New version works. Proceeding to replace.Warning: rename(C:\Windows\TEMP/wp_6674723de31cd5.21461515.phar,C:\Users\[my_username]\AppData\Local\Programs\Local\resources\extraResources\bin\wp-cli\wp-cli.phar): Access is denied (code: 5) in phar://C:/Users/[my_username]/AppData/Local/Programs/Local/resources/extraResources/bin/wp-cli/wp-cli.phar/vendor/wp-cli/wp-cli/php/commands/src/CLI_Command.php on line 378
Error: Cannot move C:\Windows\TEMP/wp_6674723de31cd5.21461515.phar to C:\Users\[my_username]\AppData\Local\Programs\Local\resources\extraResources\bin\wp-cli\wp-cli.phar
Plugin could not be activated because it triggered a?fatal error.
NinjaScanner is not compatible with Microsoft Windows.
How is it that the image of each page, for example Home-Header, is displayed well from a browser with Windows 10 on a computer and is not displayed well at all with an iPhone 13?
Can you try with my site and an iPhone 13 and computer?
The theme is not responsive?
Do you have a solution or an update to the theme?
Thank you for your help and response.
Robert
Steps taken so far:
These actions didn’t change anything.
I appreciate your help with this.
]]>Under Site Health Status, I get the following message:
The
wp-content/upgrade
directory exists but is not writable. This directory is used for plugin and theme updates. Please make sure the server has write permissions to this directory.
I am trying to fix this error but everything I’ve tried so far have failed.
Here are the things I’ve tried:
PHP safe mode
PHP safe mode is off.
WordPress upload_path
and upload_url_path
options
Both are empty.
Changing file permissions
WordPress is installed at the root of a non-system drive (F:\xampp\htdocs\wordpress
). I am running XAMPP from an admin account.
I’d like to add that this is a fresh install of Windows, XAMPP and WordPress. I haven’t messed around with any server settings or file permissions. Moreover, WordPress can download and install themes/plug-ins by itself without any issue. However, it fails to remove any themes/plug-ins and I’ve to delete them manually from the wp-content
folder.
I am wondering what the issue is and if someone is able to help me out. Thanks a lot!
]]>