var constant is supported
Brought to you by:
letreo
Name: ravindra
Email: ravindra_hai@yahoo.co.in
After setting evry thing, i am getting following error.
Unkown Error
Sorry, an error occurred.
at C:\apachefriends\xampp\htdocs\phpopenchat\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.4 (WINNT)
code:
class ADODB_mysql extends ADOConnection {
var $databaseType = 'mysql';
var $dataProvider = 'mysql';
var $hasInsertID = true;
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-----