Menu

#298 ich bekomme eine fehlermeldung

Database Problem
open
nobody
5
2005-06-01
2005-06-01
Anonymous
No

Name: michael
Email: james.douglas@justmail.de

moin moin
hab den chat installiert und alles in ordnung
mysql läuft, datenbank table hat er angelegt, aber wenn ich die index aufrufe kommt der fehler:

Sorry, an error occurred.

at C:\htdocs\sites\flochat\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.1 (WINNT)
Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1)
Webserver: Apache/2.0.51 (Win32) mod_ssl/2.0.51 OpenSSL/0.9.7d PHP/5.0.1
URI: http://thedoors.mine.nu/sites/flochat/index.php

könnt ihr mir helfen?

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Dein error_reporting ist zu hoch.
    phpopenchat ist nichts fr E_STRICT ausgegelgt.

    Setze dein error_reporting auf
    E_ALL & ~E_NOTICE in php.ini

     
  • 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.