Menu

#431 adodb-mysql.inc.php:22 error message

Database Problem
open
nobody
5
2006-06-23
2006-06-23
Anonymous
No

Name: Galmiche
Email: info@galmiche.com

The installation seems succesful but I obtained the following message: (other users have reported quite same error but rather with Windows XP system)

Congratulations! The installation of PHPOpenChat is accomplished. Now login to your new high performance chat server.

When I click the login link or try to load the page by directly typing in the browser box http://localhost/phpopenchat/index.php I get the following error message.

*******************Error Message Starts***********
Sorry, an error occurred.

at /home/www/htdocs/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!
************Message Ends**************************

I set up my database properely (created and imported using phpmysql without problem all poc_ had been created).
The POC installer gives a positive test.

I use Apache Server, PHP 5 and mysql running on Linux SUSE 10.1 x_64 architecture.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Yes, this is my Problem. And now can i not use this system. =(
    Plz help ...

     
  • Nobody/Anonymous

    Logged In: NO

    you should open the file
    /home/www/htdocs/phpopenchat/include/adodb/drivers/adodb-mysql.inc.php
    and replace all occurences of "var" with "public".

     
  • Nobody/Anonymous

    Logged In: NO

    Worked for me, thanks!!!

     

Log in to post a comment.