OOPS !
my bad mistake, I missed 2 table_prefix.
TO FIX:
IN calendar.php FIND:
PHP Code:
// calculating which page the comment edited or posted is in
$perpage = $vboptions['evecomperpage'];
$countq = $DB_site->query("SELECT * FROM eventcomments WHERE eventid=$e");
$evecomcount = $DB_site->num_rows($countq);
$evepage = ceil($evecomcount/$perpage);
// query the newest comment
$thisevecom = $DB_site->query_first("SELECT evecomid FROM eventcomments WHERE evecomtitle = '" . addslashes($title) . "' ORDER BY evecomdateline DESC LIMIT 1");
$url = "calendar.php?$session[sessionurl]do=getinfo&e=$e&page=$evepage#comment$thisevecom[evecomid]";
eval(print_standard_redirect('redirect_postthanks'));
}
REPLACE WITH:
PHP Code:
// calculating which page the comment edited or posted is in
$perpage = $vboptions['evecomperpage'];
$countq = $DB_site->query("SELECT * FROM " . TABLE_PREFIX . "eventcomments WHERE eventid=$e");
$evecomcount = $DB_site->num_rows($countq);
$evepage = ceil($evecomcount/$perpage);
// query the newest comment
$thisevecom = $DB_site->query_first("SELECT evecomid FROM " . TABLE_PREFIX . "eventcomments WHERE evecomtitle = '" . addslashes($title) . "' ORDER BY evecomdateline DESC LIMIT 1");
$url = "calendar.php?$session[sessionurl]do=getinfo&e=$e&page=$evepage#comment$thisevecom[evecomid]";
eval(print_standard_redirect('redirect_postthanks'));
}
zip updated.