• Hi I created a website in November. There was no problem with it. But this Morning I opened it, one page showed only a blank screen. I checked the file and all content under <body> wasn’t shown up (I couldn’t find any code under body in page source either). But the code in the file was still intact. Any idea :-)? Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • @hh2015, if you try the following it could help diagnose the issue.

    1. Switch the theme to something such as Twenty Sixteen (which comes with fresh installs of WP, give the site a whirl and see if that loads.
    2. If you’re still having issues it sounds like it maybe a plugin, so just deactivate your plugins temporarily, give the site a whirl and see if that loads.
    3. If neither of those work it could be worth setting up a test database and install at a subdirectory and seeing if the hosting handles a fresh install without any issues.

      ^JD

    Thread Starter hh2015

    (@hh2015)

    Thanks JD. No, it’s a simple form php. Everything seems fine, but in the browser the content under <body> has been deleted.

    @hh2015, cheers for clarifying that it’s a php form, there’s your problem, if the script does indeed work on a standalone .php page it’ll be to do with your integration within the forms template. I’m afraid without more detailed information on where the script sits or the tools being used to embed the script it’s a little tricky to diagnose the issue.

    ^JD

    Any access to error log file from the hosting provider?

    When you look at the php file … Is the code closed properly? Tags closed? <?php ?>

    was there an update made to that file in the past, recent past?

    Thread Starter hh2015

    (@hh2015)

    Thanks for the help. I know this sounds wired :-). I transferred the same php file into 2 folders, and I did see the different displays.

    public_html/contact.php (blank white screen. There are .htaccess, *.css, sitemap.xml.zip, etc under this root directory. And previously there was no problem with this contact php file.)

    public_html/new folder/contact.php (looks fine, there is no other files in this new folder)

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘My website shows nothing but a blank white screen’ is closed to new replies.