Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have the same problem <https://sheffnersweb.net/?p=169&gt;

    Using cPanel’s File Manager I went to
    / public_html / wp-includes /

    and edited the file
    wp-db.php

    by adding
    mysql_query(“SET NAMES ‘utf8′”);

    after the line
    $this->dbh = @mysql_connect($dbhost, $dbuser, $dbpassword);

    It now looks like this:

    $this->dbh = @mysql_connect($dbhost, $dbuser, $dbpassword);
    mysql_query(“SET NAMES ‘utf8′”);
    if (!$this->dbh) {
    $this->bail(“
    <h1>Error establishing a database connection</h1>

    Is this right?
    Trouble is, it doesn’t fix my problem.
    Can someone help me?

    Thanks, thomasw98. I was having same trouble with Japanese script not showing up properly. However, trying thomasw98’s suggestions did not solve the problem for me.

    The config.php file says

    “// Change this to localize WordPress. A corresponding MO file for the
    // chosen language must be installed to wp-content/languages.
    // For example, install de.mo to wp-content/languages and set WPLANG to ‘de’
    // to enable German language support.
    define (‘WPLANG’, ”); “

    I don’t have a folder <languages> in <wp-content>. Should I have?
    Also, I’m using cPanel’s File Manager. How do I install an “mo” file? Where do I get it from? Do I need the Japanese MO file? Where do I get it from?

Viewing 2 replies - 1 through 2 (of 2 total)