SQL error when reading a post in a forum.
Apache 2.x
PHP 5.05 ( configured with --with-mysqli )
Tiki 1.9.2
MySQL 4.1.9
I'm getting the following when attempting to read a post in a forum. Attached is file containing more errors displayed below what is provided here.
Some History: When initializing the database, tiki was calling for tiki-1.9-mysqli.sql that does not exist. Suggestion was to copy tiki-1.9-mysql.sql to tiki-1.9-mysqli.sql. I did that.
--------------------------
Warning: mysqli error: Unknown column '' in 'where clause' in query:
select tc1.`threadId`, tc1.`object`, tc1.`objectType`, tc1.`parentId`, tc1.`userName`, tc1.`commentDate`, tc1.`hits`, tc1.`type`, tc1.`points`, tc1.`votes`, tc1.`average`, tc1.`title`, tc1.`data`, tc1.`hash`, tc1.`user_ip`, tc1.`summary`, tc1.`smiley`, tc1.`message_id`, tc1.`in_reply_to`, tc1.`comment_rating` from `tiki_comments` as tc1
left outer join `tiki_comments` as tc2 on tc1.`in_reply_to` = tc2.`message_id`
where tc1.`objectType` = ? and tc1.`object`=? and tc1.`parentId`=? and tc1.`average`>=?
and (tc1.`in_reply_to` = ?
or (tc2.`in_reply_to` = "" or tc2.`in_reply_to` is null or tc2.`message_id` is null or tc2.`parentId` = 0))
order by tc1.`commentDate` desc,tc1.`threadId`
in /var/www/html/tikiwiki-1.9.2/lib/tikidblib.php on line 134