Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. WordPress (Developer)
  3. Blank page in Wordpress LAMP stack unexpectedly

Blank page in Wordpress LAMP stack unexpectedly

Scheduled Pinned Locked Moved WordPress (Developer)
8 Posts 4 Posters 1.5k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    ZeZaung
    wrote on last edited by
    #1

    Everything was working fine one day and after I increased memory size to 1GB (probably unrelated) I got a Wordpress "white page of death". Empty HTML response.

    I also get a "403 Forbidden" Apache/2.4.41 (Ubuntu) Server at domain.com Port 443 when I go to /wp-admin

    I deleted all my plugins and current theme, the home page is still returning blank with the default wordpress favicon.

    These are the HTTP response headers:

    content-length: 0
    content-type: text/html; charset=UTF-8
    date: Thu, 25 Nov 2021 02:09:09 GMT
    referrer-policy: same-origin
    server: nginx
    strict-transport-security: max-age=63072000
    x-content-type-options: nosniff
    x-download-options: noopen
    x-permitted-cross-domain-policies: none
    x-xss-protection: 1; mode=block

    Looking at the cloudron logs:

    Nov 24 08:51:27 [GET] /healthcheck
    Nov 24 21:10:40 - - - [25/Nov/2021:02:10:40 +0000] "GET / HTTP/1.1" 200 - "-" "Mozilla (CloudronHealth)"
    Nov 24 21:10:43 66.249.70.53 - - [25/Nov/2021:02:10:43 +0000] "GET /24881ritsc8a39wicf30a HTTP/1.1" 200 10162 "-" "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
    Nov 24 21:10:50 - - - [25/Nov/2021:02:10:50 +0000] "GET / HTTP/1.1" 200 - "-" "Mozilla (CloudronHealth)"
    Nov 24 21:10:50 [Thu Nov 25 02:10:50.252770 2021] [php7:error] [pid 142] [client 62.221.254.71:46940] PHP Parse error: syntax error, unexpected '<', expecting end of file in /app/data/public/wp-config.php on line 89

    Cloning the app to a new one persists the blank page. I'm running out of ideas. Any help is appreciated, thank you.

    M 1 Reply Last reply
    0
    • murgeroM Offline
      murgeroM Offline
      murgero
      App Dev
      wrote on last edited by
      #2

      Is this the WordPress app or the LAMP app? If the LAMP app make sure ALL folders and files in /app/data/public are owned by www-data

      --
      https://urgero.org
      ~ Professional Nerd. Freelance Programmer. ~

      1 Reply Last reply
      1
      • Z ZeZaung

        Everything was working fine one day and after I increased memory size to 1GB (probably unrelated) I got a Wordpress "white page of death". Empty HTML response.

        I also get a "403 Forbidden" Apache/2.4.41 (Ubuntu) Server at domain.com Port 443 when I go to /wp-admin

        I deleted all my plugins and current theme, the home page is still returning blank with the default wordpress favicon.

        These are the HTTP response headers:

        content-length: 0
        content-type: text/html; charset=UTF-8
        date: Thu, 25 Nov 2021 02:09:09 GMT
        referrer-policy: same-origin
        server: nginx
        strict-transport-security: max-age=63072000
        x-content-type-options: nosniff
        x-download-options: noopen
        x-permitted-cross-domain-policies: none
        x-xss-protection: 1; mode=block

        Looking at the cloudron logs:

        Nov 24 08:51:27 [GET] /healthcheck
        Nov 24 21:10:40 - - - [25/Nov/2021:02:10:40 +0000] "GET / HTTP/1.1" 200 - "-" "Mozilla (CloudronHealth)"
        Nov 24 21:10:43 66.249.70.53 - - [25/Nov/2021:02:10:43 +0000] "GET /24881ritsc8a39wicf30a HTTP/1.1" 200 10162 "-" "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
        Nov 24 21:10:50 - - - [25/Nov/2021:02:10:50 +0000] "GET / HTTP/1.1" 200 - "-" "Mozilla (CloudronHealth)"
        Nov 24 21:10:50 [Thu Nov 25 02:10:50.252770 2021] [php7:error] [pid 142] [client 62.221.254.71:46940] PHP Parse error: syntax error, unexpected '<', expecting end of file in /app/data/public/wp-config.php on line 89

        Cloning the app to a new one persists the blank page. I'm running out of ideas. Any help is appreciated, thank you.

        M Online
        M Online
        msbt
        App Dev
        wrote on last edited by
        #3

        @zezaung said in Blank page in Wordpress LAMP stack unexpectedly:

        Nov 24 21:10:50 [Thu Nov 25 02:10:50.252770 2021] [php7:error] [pid 142] [client 62.221.254.71:46940] PHP Parse error: syntax error, unexpected '<', expecting end of file in /app/data/public/wp-config.php on line 89

        this suggests an error in your wp-config.php file in /app/data/public, you might want to check out line 89 and see what's missing

        1 Reply Last reply
        2
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          Indeed, as @msbt said the issue is there is a syntax error in your wp-config.php on line 89

          1 Reply Last reply
          0
          • girishG girish moved this topic from Support on
          • Z Offline
            Z Offline
            ZeZaung
            wrote on last edited by
            #5
            $chown www-data app/data/public
            

            No effect.

            I had some PHP debug code in wp-config.php on line 89, removed it.

            I tried adding the following:

            define( 'WP_DEBUG', true );
            define( 'WP_DEBUG_LOG', true);
            define( 'SCRIPT_DEBUG', true );
            

            There was no effect after restarting the LAMP stack. From the logs:

            Nov 25 19:35:28 - - [26/Nov/2021:00:35:28 +0000] "GET / HTTP/1.1" 200 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36"
            Nov 25 19:35:29 - - [26/Nov/2021:00:35:29 +0000] "GET /favicon.ico HTTP/1.1" 200 - "https://kingarthur.ca/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36"

            Absolute blank page, no change at all. What can I do to debug this further?

            murgeroM 1 Reply Last reply
            0
            • Z ZeZaung
              $chown www-data app/data/public
              

              No effect.

              I had some PHP debug code in wp-config.php on line 89, removed it.

              I tried adding the following:

              define( 'WP_DEBUG', true );
              define( 'WP_DEBUG_LOG', true);
              define( 'SCRIPT_DEBUG', true );
              

              There was no effect after restarting the LAMP stack. From the logs:

              Nov 25 19:35:28 - - [26/Nov/2021:00:35:28 +0000] "GET / HTTP/1.1" 200 - "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36"
              Nov 25 19:35:29 - - [26/Nov/2021:00:35:29 +0000] "GET /favicon.ico HTTP/1.1" 200 - "https://kingarthur.ca/" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36"

              Absolute blank page, no change at all. What can I do to debug this further?

              murgeroM Offline
              murgeroM Offline
              murgero
              App Dev
              wrote on last edited by
              #6

              @zezaung Would you like to DM me and we can talk in better detail?

              --
              https://urgero.org
              ~ Professional Nerd. Freelance Programmer. ~

              Z 1 Reply Last reply
              0
              • murgeroM murgero

                @zezaung Would you like to DM me and we can talk in better detail?

                Z Offline
                Z Offline
                ZeZaung
                wrote on last edited by
                #7

                @murgero I sent you a DM on here a few hours ago happy to get some eyes on it, thanks

                murgeroM 1 Reply Last reply
                0
                • Z ZeZaung

                  @murgero I sent you a DM on here a few hours ago happy to get some eyes on it, thanks

                  murgeroM Offline
                  murgeroM Offline
                  murgero
                  App Dev
                  wrote on last edited by
                  #8

                  @zezaung hey sorry been sick today so I've been sleeping what page had the issue? Cause the site loads great for me

                  --
                  https://urgero.org
                  ~ Professional Nerd. Freelance Programmer. ~

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • Bookmarks
                  • Search