Menu

PhpOpenChat installation problems

fatabbot
2006-10-15
2014-06-20
  • fatabbot

    fatabbot - 2006-10-15

    Hi,

    I'm trying to install php openchat to a webserver but keep getting errors.

    when i run myserver/chat/test.php all fields are green, so i suppose all is set up correctly.

    So when i go to myserver/chat/index.php i get the following error:

    at /myserver/chat/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!

    And the database and tables are all there, and the connection string is correct in config.inc.php

    So than i try install.php, in step 1 all checks are green, but when i click NEXT to go to step 2, i get:

    Warning: require_once(config.inc.php) [function.require-once]: failed to open stream: No such file or directory in myserver/chat/install.php on line 2

    Fatal error: require_once() [function.require]: Failed opening required 'config.inc.php' (include_path='.:/usr/local/php5/lib/php') in myserver/chat/install.php on line 2

     
    • fatabbot

      fatabbot - 2006-10-15

      Also, when i check my files in the folder, i notice that config.inc.php is removed after install.php is opened.

       
    • fatabbot

      fatabbot - 2006-10-15

      Ok now i finished the installation, even the tables get initialized and all. And still i get this error when going to index.php:

      at /myserver/chat/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!

       
    • Guillermo

      Guillermo - 2006-11-09

      Hello.

      I have the same problem, the installation procedure finished fine, but when I tried to access the initial page, I receive the same error.

      How can I solve this problem?

      Thank you for your help.

       
    • Danny28m

      Danny28m - 2007-03-11

      I have also The same problem .. Can some 1 help us ..

      problem example here Http://www.jou-site.nl/chat/index.php

      Thanks Danny

       
    • Findlaw

      Findlaw - 2008-04-05

      Please I can't find config.inc.php, I've checked all the folders, please where can I find it

       
  • Alexander Bogomolny

    I am in the same club, except the error occurs on line 21. The installation went through, but running the chat I am getting the below.

    Thank you for your help.

    ===ERROR MSG===
    Sorry, an error occurred.

    at /home/mathhelp/public_html/chat/include/adodb/drivers/adodb-mysql.inc.php:21
    Declaration of ADODB_mysql::MetaDatabases() should be compatible with that of ADOConnection::MetaDatabases()

    Could not connect to database! Please check your database setup in config.inc.php by using the POC Installer!

     
  • tweaka

    tweaka - 2011-12-13

    is anyone home ?
    5 years later, and I now am knocking on the same door as the OP.
    has this issue been fixed ?
    is anyone in the US using this successfully ?
    Do the devs speak english ?

    none of the links or email addresses went anywhere. This thread is as close to posting an issue as I can get.
    thanks for nothing for FREE !

     
  • Haeric

    Haeric - 2014-06-20

    Open up "/path/to/install/include/adodb/drivers/adodb-mysql.inc.php" and go down to line 371

    Change it from:
    function &MetaColumns($table)

    Change it to:
    function &MetaColumns($table, $upper = true)

    And it should work ... at last as far as getting past the database error.

    BTW I have nothing to do with this project, just looking to have something like this for my site so please do not ask me for any help as I am just as lost as everyone else (except for this part of course).

     

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.