Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Forum installed with db/build but then errored in administration


Reply


2 Posts   1215 Views

Avatar
kiwifellows

Community Member, 10 Posts

16 May 2008 at 4:11pm

I downloaded Forum (v0.1.2) and then installed OK and ran db/build.

Forum showed up in menu and was able to see it etc.

BUT. when I went to login to admin straight after adding the forum module I got the following error:
FATAL ERROR: DATABASE ERROR: Couldn't run query: SELECT `Post`.*, `Post`.ID, if(`Post`.ClassName,`Post`.ClassName,'Post') AS RecordClassName FROM `Post` INNER JOIN `Post` AS PostList ON PostList.TopicID = `Post`.TopicID WHERE (`Post`.ForumID = 41 and `Post`.ParentID = 0 and `Post`.Status = 'Moderated') GROUP BY `Post`.ID ORDER BY max(PostList.Created) DESC LIMIT 30 | Invalid use of group function
At line 397 in /var/www/sites/tools/silverstripe/sapphire/core/model/Database.php

Avatar
zyko

Community Member, 66 Posts

17 May 2008 at 10:30pm

Edited: 17/05/2008 10:31pm

Hi kiwifellows ;-)

might be this..

http://www.silverstripe.com/bugs/flat/46658

g
Helmut