Just after succ. insallation
Brought to you by:
letreo
Name: Al Pedrazzoli
Email: navp@vpadinternational.com
I just finished the installation and got the following error befor LOGIN.
______________________________________
Sorry, an error occurred.
at C:\apache2triad\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)
Browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)
Webserver: Apache/2.0.53 (Win32) PHP/5.0.4
URI: http://localhost/phpopenchat/index.php
....
any good sugestions ??
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-----