3755 Posts in 822 Topics by 512 members
Jump to:If this is your first visit, you will need to register before you can post. However, you can browse all messages below.
| Page: 1 | go to end | Reply | |
| Author | Topic: Forum installed with db/build but then errored in administration | 230 views |

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

17 May 2008 at 10:30pm
Last edited: 17 May 2008 at 10:31pm
| 230 views | |||
| go to top | Reply |