var: Deprecated.
Brought to you by:
letreo
Name: Janis
Email: jangal@inbox.lv
Sorry, an error occurred.
at c:\wamp\www\chat\include\adodb\drivers\adodb-mysql.inc.php:22
[2048] var: Deprecated. Please use the public/private/protected modifiers
I don't understand where is the problem. Mysql is working and test.php didn't show any problems.
PLEASE HELP!
Logged In: YES
user_id=1277628
unfortunately this script seems to have problems on php5
open adodb-mysql.inc.php
replace "var " with "public "
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-----