Topic: Error: Unable to delete from online list.
I succesfully installed the forum then i got this error msg when i tried to get into forum index page. I tried many boards but this one looks good to me please help.
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 troubleshooting → Error: Unable to delete from online list.
I succesfully installed the forum then i got this error msg when i tried to get into forum index page. I tried many boards but this one looks good to me please help.
Okey i solved that problem. For other who s gonna have this problem im writing the answer.
Anyhow the installation didnt create the tables for online. I created them manually from MysQL. You need to add these :
case 'mysql':
$sql = 'CREATE TABLE '.$db_prefix."online (
user_id INT(10) UNSIGNED NOT NULL DEFAULT '0',
ident VARCHAR(200) NOT NULL DEFAULT '',
logged INT(10) UNSIGNED NOT NULL DEFAULT '0'
Very odd. It just didn't create the online table? In that case, it's probably a bug in MySQL. At least I can't see anything wrong with this code:
switch ($db_type)
{
case 'mysql':
$sql = 'CREATE TABLE '.$db_prefix."online (
user_id INT(10) UNSIGNED NOT NULL DEFAULT '0',
ident VARCHAR(200) NOT NULL DEFAULT '',
logged INT(10) UNSIGNED NOT NULL DEFAULT '0'
) TYPE=HEAP;";
break;
case 'pgsql':
$sql = 'CREATE TABLE '.$db_prefix."online (
user_id INT NOT NULL DEFAULT '0',
ident VARCHAR(200) NOT NULL DEFAULT '',
logged INT NOT NULL DEFAULT '0'
)";
break;
}
$db->query($sql) or exit('Unable to create table '.$db_prefix.'online. Please check your settings and try again. <a href="JavaScript: history.go(-1)">Go back</a>.');
i dont know where im gonna to place it pleas write back in email pleas i need help..
Hello,
I got the same error (Error: Unable to delete from online list.) after the installation. I fix the problem by adding somes permissions to the MySQL user.
PunBB Forums → PunBB 1.2 troubleshooting → Error: Unable to delete from online list.
Powered by PunBB, supported by Informer Technologies, Inc.