Support » Fixing WordPress » Admin charset problem/pagelayout after upgrade 2.2

  • After a testupgrade I just upgraded my official weblog. This went much better than the test (???), but with these few notes:

    1. The charset of my admin is not right. My blog is still latin1. My blog looks ok, but the characters in the admin look like this: Pagina’s. I can fix this by changing the charset under ‘options > reading’, but then my blog would display questionmarks all around.
    How can I fix this?

    2. In my testsite I seemed to have a different layout of several admin pages, ie the categorylist etc. But now with the real upgrade everything still looks the old way. How come?

Viewing 15 replies - 1 through 15 (of 18 total)
  • Did you mess with the charset and collation during the upgrade?
    There is a guide in the codex:
    (not complete yet!)

    No I did not. This problem with the strange characters in the admin menu actually was already present after my upgrade to 2.1, and I thought 2.2 would fix the problem.
    In the meanwhile I didn’t change anything in my database or otherwise.

    In short: Read options says: iso-8859-1 (from the beginning of my blog) and charset in the head.php of pages says latin 1. So does the header.php within de admin folder.
    Strangely enough the blog reads ok, but the admin not.

    Any ideas?

    To be honest, I don’t know what “head.php” is. Is this is your theme folder?

    And the encoding/charset should never be hard coded, in the themes’ header file or in the admin-header; it is always called by template tags/functions, e.g.
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
    (for admin)

    <meta http-equiv="Content-Type" content="text/html; charset=<?php bloginfo('charset'); ?>" />
    (for themes)

    I’m sorry, I meant ‘header.php’ in my themesfolder in which it says

    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

    so it’s not hard coded, nowhere.

    and where is the Preview window??Huh?Wordpress lost much with this 🙁

    Romik… what IS strange is that the preview window WAS present in a clean install with imported backup (including several other modifications), but NOT in the regular upgrade…
    Something did not go entirely well during upgrading I think. I guess we’ll see version 2.2.1 soon 😉

    Romik84, search and/or start your own topic – don’t hijack.

    The preview is there – it only opens in a new window. The link to it should be on the top right of the writing area.

    Hey Moshu, but that’s what’s happening (although this, as you pointed out had nothing to do with my question ;)): In my test installation I saw the button you mention and a lot more, but NOT in my ‘real’ upgrade. Though it clearly states version 2.2 at the bottom of the page…?

    In fact… it seems as if the whole admin wasn’t upgraded.

    Did you try to upload the admin folder again?

    Yes, two times and also running upgrade.php again, but it says the database tables are already updated.

    In that case, I am running out of ideas 🙁

    Although, the DB might be updated, however having uploaded corrupt files is still a possibility.
    When you say you uploaded the admin folder – do you mean new, fresh copy (aka new download, new unzip)?

    moshu,I know about that View URl. I hope the preview will be back soon. What about undo and redo keys :/? The same?

    I still say: open your topic or, most importantly, search before posting…

    You can hope, but the preview has been eliminated by the main dev:

    I just downloaded WP2.2 again etc., and now the preview button is back (I’m scratching my head now …). Could there have been something wrong with the first download?
    Anyway, that’s ok now :).

    Back to my original question I can add that in my testsite the character encoding is ok in the blog as well as in the admin. What I did was make a new database (standard set to utf8, both charset and collate), and imported a backup (latin1 for the wp-tables). Then changing the charset in the ‘read options’ from latin1 to utf8 and everything was ok.

    But I quess this is not a good way to go about this?

    In my first post here I gave you a link regarding changing character sets…

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Admin charset problem/pagelayout after upgrade 2.2’ is closed to new replies.