Error after installation
Brought to you by:
letreo
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
Logged In: NO
I get this same error.
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-----