WordPress.org

Forums

First post shows blank page (6 posts)

  1. fivesilver
    Member
    Posted 9 years ago #

    I just installed WordPress, and published a test post, but when I hit 'view site', it goes to my page <http://fivesilver.com> but all I get is a completely blank space.
    Anyone have any ideas?

  2. Samuel B
    moderator
    Posted 9 years ago #

    missing <!DOCTYPE> declaration
    Cause:

    A DOCTYPE Declaration is mandatory for most current markup languages and without one it is impossible to reliably validate a document. The DOCTYPE defines the version of the document like : HTML 4.0.1, XHTML 1.0, 1.1, ...
    Solution:

    Please place a DOCTYPE declaration as the very first thing in an HTML document. For example, for a typical XHTML 1.0 document:

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
    <title>Title</title>
    </head>

    <body>
    ... body of document ...
    </body>
    </html>

    For HTML 4.0.1, there are several one. Here is the most typical one:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

    Have you messed with your header.php file?
    Also, did you happen to c & p your 1st post?

  3. fivesilver
    Member
    Posted 9 years ago #

    I definitely didn't c & p it. I'm not aware that I did anything with the header file, although I probably couldn't rule that out 100%.
    Any way for you to know if I did, or any steps I could take to try and remedy that?

  4. pagent
    Member
    Posted 9 years ago #

    I just installed WordPress 2.0.4, and I'm having the same problem as fivesilver. The update from 2.0.3 to 2.0.4 seemed to go well, dashboard looks fine, and I've removed all the non-standard plugins, but I get a blank page when I try to view the site.

    http://pagentsprogress.com/

  5. fivesilver
    Member
    Posted 9 years ago #

    Interesting - exactly the same as me. The dashboard looks fine, everything appears to work fine ... until I go to "view site".

  6. pagent
    Member
    Posted 9 years ago #

    Okay, I am an idiot. The tech support at my hosting service, Laughing Squid, gently pointed out that I installed WordPress in a nonstandard configuration. Specifically, I have WordPress in its own WordPress directory, not the root directory.

    When I updated the index.php file, it began pointing to where wp-blog-header.php would be in the default directory location, not where it actually was in my filesystem. Problem solved.

    I hope your problem is as easy to address, fivesilver.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags