Red Error-Window
Brought to you by:
letreo
Name: Simon Plätzer
Email: cruzer@gmx.org
Name: Simon Plätzer
Email: cruzer@gmx.org
The Installation works fine and everything is all right, bute then if I want to see the chat a red error, window appears and shows me the following words:
Unkown Error
Sorry, an error occurred.
at /home/virtual/site1/fst/var/www/html/simono/chat/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.3 (Linux)
Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; de) Opera 8.01
Webserver: Apache/2.0.46 (Red Hat)
URI: (deletet from me)
Thx
Simon
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-----