Forums

[resolved] Invisible blog (13 posts)

  1. erisdiscordia
    Member
    Posted 2 years ago #

    Hope someone can help me...

    I have just logged into my new blog for the first time. I uploaded a few themes and switched to one of them. I edited a post. I tried to go to the site to see my changes, and there is nothing there. No errors, no colors, just a blank white page.

    http://www.kame-house.net/blog

    What did I screw up?

  2. jeremyclark13
    Moderator
    Posted 2 years ago #

    That theme doesn't seem to be working right. Switch back to the default then try again. If it turns out to be the theme you might want to try reuploading the theme again, if that doesn't work then you might want to contact the theme author, as it might be a bug.

  3. erisdiscordia
    Member
    Posted 2 years ago #

    I tried switching to the default theme, and the same problem occurred.

  4. adamrbrown
    Member
    Posted 2 years ago #

  5. VeraBass
    Member
    Posted 2 years ago #

    When I viewed source on your blank white page, I see that the last definition is "charset=iso-8859-1".
    Any version above 2.0 should be encoded in UTF-8.
    The charset is called in lots of places, including your config file and your theme header.
    If you haven't defined it anywhere, then it is being defined in your database (you can discover that through PHP my admin) and in the encoding configuration, including defaults, of your hosting server.

  6. erisdiscordia
    Member
    Posted 2 years ago #

    I tried changing the charset everywhere I could, and re-uploaded everything. The page is no longer blank. Now it says:

    Fatal error: Call to undefined function: get_header() in /hsphere/local/home/garyn4oc/kame-house.net/blog/index.php on line 1

    I tried defining that function in the functions.php of my chosen theme, and nothing changed.

  7. VeraBass
    Member
    Posted 2 years ago #

    Just a guess, based on the error in calling the header.
    If you changed
    <?php language_attributes(); ?>
    in your header.php then I'd change it back.
    The charset definition has to be recognized at the server and database level, regardless of what is written into other files.

  8. erisdiscordia
    Member
    Posted 2 years ago #

    Nope, didn't change that...

  9. VeraBass
    Member
    Posted 2 years ago #

    If you had definitions other than UTF-8 to change, then it is beyond my limited experience of WordPress in English.

    The only actual definition in a file that I have is in wp-config. The rest are PHP calls.
    The character sets and collation are defined in the database.
    They are also defined, including a default definition, at the server level.

    If all are specified / able to recognize UTF-8, then I think the original question was why a browser was reading your encoding as ISO-8859-1.

  10. moshu
    Member
    Posted 2 years ago #

    That error message now about the get_header undefined... sounds like not having all the WP files uploaded or having corrupted files.
    That function IS defined in the WP core files, no need to re-define it anywhere.

  11. erisdiscordia
    Member
    Posted 2 years ago #

    I used the Install4Free service, and also downloaded WordPress myself just to check, and it looks like everything is there...

    If nothing else, should I try installing Wordpress from scratch in a different directory?

  12. moshu
    Member
    Posted 2 years ago #

    Can you login? I guess you can.
    What happens if you switch to the default theme?

  13. erisdiscordia
    Member
    Posted 2 years ago #

    Actually, I went ahead and did that, and everything works just fine, even the theme I was trying to use.

Topic Closed

This topic has been closed to new replies.

About this Topic