habbo retro error

Results 1 to 1 of 1
  1. #1
    Apprentice bartjuhh45 is offline
    MemberRank
    Nov 2015 Join Date
    Didam, NetherlaLocation
    5Posts

    habbo retro error

    I have followed this thread: https://forum.ragezone.com/f335/habb...2013-a-908171/
    But when i would test my site, i get this error (see image). Why?
    The code is from line 43 to 62.
    Code:
    final public function connect($type)    {
            global $core, $_CONFIG;
            if(!$this->connected)
            {
                $this->connection = $this->mysql[$type]($_CONFIG['mysql']['hostname'], $_CONFIG['mysql']['username'], $_CONFIG['mysql']['password']);
                
                if($this->connection)
                {
                    $mydatabase = $this->mysql['select_db']($_CONFIG['mysql']['database'], $this->connection);
                    
                    if($mydatabase)
                    {
                        $this->connected = true;    
                    }
                    else
                    {
                        $core->systemError('MySQL Engine', 'MySQL could not connect to database');
                    }
                }
    - - - Updated - - -

    Also, i am testing to make a hamachi r63 hotel. I`ve worked with different tutorials, but i get also the same blank page if i go to the hamachi ip in google chrome.. What can be the problem?
    Attached Thumbnails Attached Thumbnails mysql.png  




Advertisement