Hello,
I need to make users in my website to be able to chat onse another and I have no idea how can I make that. If anyonoe can give me any advice, example, link or whatever that can help me to start it will be just great. So thanks in advance to everyone.

Thank You,
armando1

    Hi anyOne.
    I'm following the thread when
    suddenly a curiosity had taken to me 😃
    install the chat script on my localhost but there a great BUT
    I've got this nasty (a lot of trouble man !)
    error 😕 (all the test.php is green
    (like my pocket :o ))

    Unkown Error
    Sorry, an error occurred.

    at f:\wamp\www\yasin\template_class\phpopenchat\include\adodb\drivers\adodb-mysql.inc.php:22
    [2048] var: Deprecated. Please use the public/private/protected modifiers

    Could not connect to database! Please check your database setup in config.inc.php by using the POC Installer!
    PHP 5.0.3 (WINNT)
    Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
    Webserver: Apache/1.3.33 (Win32) PHP/5.0.3
    URI: http://localhost/phpopenchat/index.php

    Could you help me ?
    TKS
    Take care.

    PS
    I'm just a little on the funny side tonight Bye !

      Probably a good idea to open up config.inc.php and look at the database settings and see if they are correct. If they look correct, might be worth posting lines 10-25 of adodb-mysql,inc.php. Its probably a file that doesn't need editing directly, but seeing the code that is throwing up the error might help solve the problem.

      Blu

        Hi.
        Code:

        // security - hide paths
        if (!defined('ADODB_DIR')) die();

        if (! defined("ADODB_MYSQL_LAYER")) {
        define("
        ADODB_MYSQL_LAYER", 1 );

        class ADODB_mysql extends ADOConnection {
        var $databaseType = 'mysql';
        var $dataProvider = 'mysql';
        var $hasInsertID = true;
        var $hasAffectedRows = true;
        var $metaTablesSQL = "SHOW TABLES";
        var $metaColumnsSQL = "SHOW COLUMNS FROM %s";
        var $fmtTimeStamp = "'Y-m-d H:i:s'";
        var $hasLimit = true;
        var $hasMoveFirst = true;
        var $hasGenID = true;
        var $isoDates = true; // accepts dates in ISO format
        var $sysDate = 'CURDATE()';
        var $sysTimeStamp = 'NOW()';
        var $hasTransactions = false;
        var $forceNewConnect = false;
        var $poorAffectedRows = true;
        var $clientFlags = 0;
        var $substr = "substring";
        var $nameQuote = '`'; /// string to use to quote identifiers and names
        var $compat323 = false; // true if compat with mysql 3.23

        The config.inc.php is good, all the values are
        correct (test.php all green like you know ......)
        BYE and TKS
        Take care.

          Sorry this is the line 22
          var $databaseType = 'mysql';

            var: Deprecated. Please use the public/private/protected modifiers

            You have E_STRICT turned on in your error reporting. Replace "var" with "public" or turn E_STRICT off (which you'd have to do if you want to use much PHP4 code.)

              Hi.
              Thanks a lot Weedpacket.
              It works I've got php 5 installed
              on my localhost.
              Take care.

                Write a Reply...