Jump to content
GIGN Forum

Ipb Erors


ry.
 Share

Recommended Posts

Fatal error: Trying to clone an uncloneable object of class mysqli in \hosting\htdocs\dawd\f\ips_kernel\class_db_mysqli_client.php on line 133

Šo uzmet visiem forumiem (ipb) kuri stāv uz tā hosta, kādēļ tā. Ap 133 liniju ir šis

    //-----------------------------------------
         // Connect
         //-----------------------------------------
         
         if( $this->obj['sql_port'] )
         {
            $this->connection_id = @mysqli_connect( $this->obj['sql_host'] ,
                                                      $this->obj['sql_user'] ,
                                                      $this->obj['sql_pass'],
                                                      $this->obj['sql_database'],
                                                      $this->obj['sql_port']
                                                    );
        }
        else
        {
            $this->connection_id = @mysqli_connect( $this->obj['sql_host'] ,
                                                      $this->obj['sql_user'] ,
                                                      $this->obj['sql_pass'],
                                                      $this->obj['sql_database']
                                                    );
        }
        
        if ( ! $this->connection_id )
        {
            $this->connect_failed = 1;
            $this->fatal_error();
            return FALSE;
        }

Link to comment
Share on other sites

Es pieļauju domu, ka tu redzi funkciju mysqli_connect(); un man jāsaka, ka tas nav tas pats, kas mysql_connect();

Pēc idejas aiztikt šito failu (ko viņš aiztiek - class_db_mysqli_client.php) ir pilnīgi lieks pasākums.

Link to comment
Share on other sites

  • 2 years later...
Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...