Menu

proplem with Mysql & phpopenchat

Hilfe/Help
Anonymous
2001-05-03
2001-05-05
  • Anonymous

    Anonymous - 2001-05-03

    Hi,

    I have just installed phpopenchat on my webserver, but when i view the index.php file, i get the following error message :

    Number of registered users:
    Warning: Supplied argument is not a valid MySQL-Link resource in /hotel/paaskekursus/WWW/chat/html/index.php on line 81

    Warning: Supplied argument is not a valid MySQL result resource in /hotel/paaskekursus/WWW/chat/html/index.php on line 81

    Local time: 19:21h
    Chatters online:
    Warning: Supplied argument is not a valid MySQL-Link resource in /hotel/paaskekursus/WWW/chat/html/index.php on line 85

    Warning: Supplied argument is not a valid MySQL-Link resource in /hotel/paaskekursus/WWW/chat/html/index.php on line 86

    Warning: Supplied argument is not a valid MySQL result resource in /hotel/paaskekursus/WWW/chat/html/index.php on line 86
    0

    Warning: Supplied argument is not a valid MySQL-Link resource in /hotel/paaskekursus/WWW/chat/html/index.php on line 127

    Can anyone please help me ?

    TIA

    Michael Frostholm

     
    • Mirko Giese

      Mirko Giese - 2001-05-04

      this message means that the connection to the database has failed. have you edited the defaults_inc.php with the right databasehost, databasename, databaseuser, databasepassword?

       
      • Anonymous

        Anonymous - 2001-05-05

        Yes i have edited the defaults_inc.php file with the right information about my mySql account. But there is some questions, what about these to fields :

        $INSTALL_DIR      = "/phpopenchat";//no trailing slash. leave it blank, if you use the root directory of your webserver
        //change it to the server name where your chat is installed
        $CHATSERVERNAME   = "http://dhcp-62-52-63-107";//no trailing slash

        I'm not shure i have put in the right values here-

         
        • Anonymous

          Anonymous - 2001-05-05

          I have found the error, i have put in a space after the databasename. Thank for all help

           

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.