Re: Oracle Problem Reports
After I had successfuly created a forum, I had the following test case
that came to an error:
1. Click the "List Forum" link
A list with the only forum I created apeared.
2. Click into the forum name
An error page with the message
ORA-00932: inconsistent datatypes: expected - got CLOB
apeared.
I think it is because the a."data" column used within the select.
I will try to comment out the columns to see what happens.
If it work I will attach the changed file here.
The file: /tiki19/tiki-view_forum.php
The URL: /tiki19/tiki-view_forum.php?forumId=1
The bind values:
0=1
1=s
2=0
The underlying select is:
select a."threadId",a."object",a."objectType",a."parentId", a."userName",a."commentDate",a."hits",a."type",a."points", a."votes",a."average",a."title",a."data",a."hash",a."user_ip", a."summary",a."smiley",a."message_id",a."in_reply_to",a."comment_rating", NVL(max(b."commentDate"), a."commentDate") as "lastPost", count(b."threadId") as "replies" from "tiki_comments" a left join "tiki_comments" b on b."parentId"=a."threadId" where a."object"=:0 and a."type" = :1 and a."objectType" = 'forum' and a."parentId" = :2 group by a."threadId",a."object",a."objectType",a."parentId",a."userName",a."commentDate",a."hits",a."type",a."points",a."votes",a."average",a."title",a."data",a."hash",a."user_ip",a."summary",a."smiley",a."message_id",a."in_reply_to",a."comment_rating" order by "commentDate" desc, "threadId"