bug
Brought to you by:
letreo
Name: Angelo
Email: WEBPROMOCION@YAHOO.ES
Unkown Error
Sorry, an error occurred.
at C:\public_html\chat\include\adodb\drivers\adodb-mysql.inc.php:19
[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.4 (WINNT)
Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Webserver: Apache/2.0.54 (Win32) PHP/5.0.4
URI: http://localhost/chat/index.php
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-----