PEAK XOOPS - Re: d3forum and the import function in englishin japanese

Re: d3forum and the import function

List posts in the topic

none Re: d3forum and the import function

msg# 1.1
depth:
1
Previous post - Next post | Parent - Children.1 | Posted on 2007/3/24 4:21 | Last modified
GIJOE  ÀèǤ·³Áâ   Posts: 4110
hi plusangel.

It must be a problem of MySQL.
Have you patched
mysql_query( "SET NAMES (your character)" , $this->conn ) ;
in your mysqldatabase.php ?

    function connect($selectdb = true)
    {
        if (XOOPS_DB_PCONNECT == 1) {
            $this->conn = @mysql_pconnect(XOOPS_DB_HOST, XOOPS_DB_USER, XOOPS_DB
_PASS);
        } else {
            $this->conn = @mysql_connect(XOOPS_DB_HOST, XOOPS_DB_USER, XOOPS_DB_
PASS);
        }

        if (!$this->conn) {
            $this->logger->addQuery('', $this->error(), $this->errno());
            return false;
        }

        if($selectdb != false){
            if (!mysql_select_db(XOOPS_DB_NAME)) {
                $this->logger->addQuery('', $this->error(), $this->errno());
                return false;
            }
        }
        mysql_query( "SET NAMES (your character)" , $this->conn ) ; // here
        return true;
    }
Votes:1 Average:10.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!