Menu

#324 Error after installation

open
nobody
5
2005-08-18
2005-08-18
Anonymous
No

Name: Holger
Email: holger@surf-freizeit-2004.de

Hi,

I have a problem with the OpenChat

I Installt the Chat on my Server. There was no Error while installing the Chat, but after Clicking on the link by

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

There is an Error "Could not connect to database"
(phpopenchat-3.0.2/include/adodb/drivers/adodb-mysql.inc.php:22
[2048] var: Deprecated. Please use the public/private/protected modifiers)

Please help me

Sorry for my english
greetings
Holger

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I get this same error.

     
  • dookiebombtoo

    dookiebombtoo - 2005-09-24

    Logged In: YES
    user_id=1350999

    Found the real issue. Having a custom error handler even
    gets E_STRICT errors, which is what is happening here. By
    modifying the display_error function in class.Chat.inc, we
    can avoid the problem:
    -----snip-----
    function display_error( $errno, $errstr, $errfile,
    $errline, $vars = null, $poc_error_msg = null )
    {
    // We don't know how to properly handle E_STRICT
    errors.
    // Returning false causes the default error handling to
    take over.
    if ($errno == E_STRICT) return false;
    -----snip-----

     

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.