• Resolved dormantgroup

    (@dormantgroup)


    I installed WordPress on my home Linux PC to test things out for a website I plan to publish. The PC runs Mint Linux 20.3.

    The installation was fine and I created a few pages and posts to test it out. I also tried a few themes. It all continued to work fine, including after reboots.

    Today it doesn’t work.

    https://localhost/ returns a blank white page.

    https://localhost/wp-admin returns a text-only Dashboard.

    I would welcome any suggestions as to how to fix this.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hi, please try the following:

    If there are errors, please feel free to share them here.

    • This reply was modified 2 years, 5 months ago by aatanasov.
    Thread Starter dormantgroup

    (@dormantgroup)

    Many thanks for the quick response.

    I get errors in the browser console about missing locale resources:

    Missing resource in locale en-GB: devtools/client/toolbox.ftl
    Missing resource in locale en-CA: devtools/client/toolbox.ftl

    And I now remember changing system settings to get British date format instead of US date format.

    Do I have to update WordPress to use en-GB?

    Thanks, these missing resources shouldn’t cause the issue.

    Since you see only text in the WordPress dashboard, most probably the assets (such as CSS/JS files) aren’t loaded.

    Here are potential reasons:

    1. The permissions of the files/folders aren’t configured correctly;
    2. Incorrect WordPress Address (URL) and Site Address (URL) options
    3. Theme or plugin conflicts

    Can you please try the following:

    • Log in to your WordPress dashboard and check if there are 400 connection errors in the browser network tab (you might need to refresh the page while the dev tool is opened).
    • Go to Settings -> General and provide us with a screenshot of the WordPress Address (URL) and Site Address (URL) options. The URL might be added incorrectly.
    • Disable all plugins and see if the website works.
    • Enable the default WordPress theme and see if there is a difference.
    • This reply was modified 2 years, 5 months ago by aatanasov.
    • This reply was modified 2 years, 5 months ago by aatanasov.
    • This reply was modified 2 years, 5 months ago by aatanasov.
    Thread Starter dormantgroup

    (@dormantgroup)

    Thanks for the help. Here is the results:

    Log in to your WordPress dashboard and check if there are 400 connection errors in the browser network tab (you might need to refresh the page while the dev tool is opened).

    No network errors were reported.

    Go to Settings -> General and provide us with a screenshot of the WordPress
    Address (URL) and Site Address (URL) options. The URL might be added incorrectly.
    Disable all plugins and see if the website works.
    Enable the default WordPress theme and see if there is a difference.

    As I can’t use the dashboard, I can’t do any of these. Is it possible to do these actions with the setup files?

    I’m considering installing Apache and WordPress on a Raspberry Pi, which will not be used for anything else.

    No network errors were reported.

    When you access https://localhost/wp-admin/, can you please review the network browser tab if CSS files are loaded similar to https://ibb.co/mbCjb4M? A screenshot of your network tab would be helpful to see the connection status of the assets.

    As I can’t use the dashboard, I can’t do any of these. Is it possible to do these actions with the setup files?

    Yes, please follow the following steps:

    1. Disabling all plugins:: you can rename the plugins folder to plugins~ (or use another name you prefer) — this will disable all plugins from being loaded by your WordPress instance. You can revert the plugins by using the previous folder name (plugins).
    2. Disabling the activated theme: you can rename the folder of your active theme. This will prevent the WordPress site from loading your custom theme. After that, you can check if the WordPress dashboard work. If it works, that means there is something wrong with the theme. The added WordPress themes are available inside the wp-content/themes/ folder.
    3. Address (URL) and Site Address (URL) options: inside the _options table of your website’s database, there are two rows siteurl and homeurl. For example, https://ibb.co/rpqRdtn — please share them to see if they are added correctly.

    I’m considering installing Apache and WordPress on a Raspberry Pi, which will not be used for anything else.

    You can find the WordPress server requirements on https://www.ads-software.com/about/requirements/ — it is recommended to check if your current server meets them and configure your new instances based on these requirements.

    • This reply was modified 2 years, 5 months ago by aatanasov.
    Thread Starter dormantgroup

    (@dormantgroup)

    Thread Starter dormantgroup

    (@dormantgroup)

    1. Disabling all plugins had no effect.

    2. Disabling the activated theme had no effect.

    3. I’ll get back to you on what’s in the database, as I need a quick refresher on SQL.

    Based on the provided screenshot, I think your server serves another page, not the WordPress dashboard.

    I recommend reinstalling your local WordPress website by following https://www.ads-software.com/support/article/installing-wordpress-on-your-own-computer/.

    If you have any custom code, you can back it up. When the default WordPress installation works, you can apply your code/theme and install the necessary plugins.

    Starting from scratch will help you determine if something you use causes issues while preparing your local instance.

    Thread Starter dormantgroup

    (@dormantgroup)

    Thanks. I was considering starting from scratch again.

    My installation on a Raspberry Pi was successful.

    Thread Starter dormantgroup

    (@dormantgroup)

    I have reinstalled using local. I wish I’d done that first time round.

    Many, many thanks.

    Great, I’m glad to hear you’ve managed to prepare your local WordPress instance.

    Please feel free to mark this topic as resolved.

    Thread Starter dormantgroup

    (@dormantgroup)

    REsolved.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Can see only text in wp-admin’ is closed to new replies.