I've installed phpopenchat, imported the database, and tried to run it but get this error when using IE:
Fatal error: Unknown(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition <b>adodb_mysql</b> of the object you are trying to operate on was loaded _before_ the session was started in /home/user/public_html/openchat/include/class.Chat.inc on line 1130
and this error when trying to connect with Netscape:
Fatal error: Call to a member function on a non-object in /home/khrishna/public_html/openchat/include/class.Chat.inc on line 1299
Any ideas?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-08-06
I get almost the same thing but the error code is 1131
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-08-13
Same here I get the 1131 error
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-08-14
Fatal error: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition adodb_mysql of the object you are trying to operate on was loaded _before_ the session was started in /public_html/phpopenchat/include/class.Chat.inc on line 1131
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
i get the same error, i even try very hard to read the German phpopenchat forum hehe, whitout luck.
I think they have a solution for this problem, this error 1131 mentioned serveral times.
So pleas can someone translate the solution for us ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've installed phpopenchat, imported the database, and tried to run it but get this error when using IE:
Fatal error: Unknown(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition <b>adodb_mysql</b> of the object you are trying to operate on was loaded _before_ the session was started in /home/user/public_html/openchat/include/class.Chat.inc on line 1130
and this error when trying to connect with Netscape:
Fatal error: Call to a member function on a non-object in /home/khrishna/public_html/openchat/include/class.Chat.inc on line 1299
Any ideas?
I get almost the same thing but the error code is 1131
Same here I get the 1131 error
Fatal error: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition adodb_mysql of the object you are trying to operate on was loaded _before_ the session was started in /public_html/phpopenchat/include/class.Chat.inc on line 1131
i get the same error, i even try very hard to read the German phpopenchat forum hehe, whitout luck.
I think they have a solution for this problem, this error 1131 mentioned serveral times.
So pleas can someone translate the solution for us ?
look here for the solution: https://sourceforge.net/forum/forum.php?thread_id=870460&forum_id=44845
you have te make a tmp dir in your chat directory
and give the fully path in conf_inc.php like this:
Look at the last row:
if( ini_get('open_basedir') ) {
define('TMPDIR', ini_get('open_basedir'));
} else {
if ( isset($_ENV['TEMP']) )
define('TMPDIR', $_ENV['TEMP']);
elseif( isset($_ENV['TMP']) )
define('TMPDIR', $_ENV['TMP']);
elseif( isset($_ENV['WINDIR']) )
define('TMPDIR', $_ENV['WINDIR'].'\\TEMP');
elseif( isset($_ENV['windir']) )
define('TMPDIR', $_ENV['windir'].'\\TEMP');
else
define('TMPDIR', 'C:\\WINDOWS\\TEMP');
}
} else {
//This is the Linux/Unix case
define('POC_OS','unix');
if( ini_get('open_basedir') ) {
/** @ignore */
define('TMPDIR', ini_get('open_basedir'));
} else {
/** @ignore */
define('TMPDIR','/home/user/public_html/chat/tmp');
Good luck