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.

Forum Module /

Discuss the Forum Module.

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

huge install problems Can I get a step by step?


Reply


6 Posts   1083 Views

Avatar
forcedregister

Community Member, 1 Post

12 April 2010 at 5:03am

downloaded forum module "0.2.5 Latest Stable Release"
unzipped.

put in /cmsdirectory/forum
- directory listing shows /cmsdirectory/forum/code/, /cmsdirectory/forum/css/, etc.

used dev/build, in my case underscore-comic.co.uk/dev/build

Forum shows etc, YAY.
Can't register a user either, or post using my admin user currently I'm just getting a "Website Error There has been an error" message ¬_¬

Could someone tell me what is going wrong.

To see the full error swing by http://underscore-comic.co.uk/forums/ and take a look see

Avatar
Willr

Forum Moderator, 5513 Posts

12 April 2010 at 9:16am

Put the site into devmode to see the actual error message. In your mysite/_config file.

Director::set_environment_type("dev");

Avatar
Plesantly Surprised

Community Member, 3 Posts

12 April 2010 at 9:22pm

¬_¬ Forgot all my login details, but happy with result so re-registered with main email account =]

I've done that and am now getting an error message I have seen previously, so I'm not sure how I switched out of Dev mode previously =/

[User Error] Uncaught Exception: Object->__call(): the method 'getforumfields' does not exist on 'Member'
GET /ForumMemberProfile/register

Line 586 in /homepages/21/d217432032/htdocs/sapphire/core/Object.php

Trace

* Object->__call(getForumFields,Array)
* Member->getForumFields(,1)
Line 145 of ForumMemberProfile.php
* ForumMemberProfile->RegistrationForm()
Line 381 of ViewableData.php
* ViewableData->obj(RegistrationForm,,,1,)
Line 838 of ViewableData.php
* ViewableData_Customised->obj(RegistrationForm,,,1)
Line 457 of ViewableData.php
* ViewableData->XML_val(RegistrationForm,,1)
Line 35 of .cache.homepages.21.d217432032.htdocs.cms.forum.templates.Layout.ForumMemberProfile_register.ss
* include(/tmp/silverstripe-cache-kunden-homepages-21-d217432032-htdocs/.cache.homepages.21.d217432032.htdocs.cms.forum.templates.Layout.ForumMemberProfile_register.ss)
Line 367 of SSViewer.php
* SSViewer->process(ViewableData_Customised)
Line 359 of SSViewer.php
* SSViewer->process(ViewableData_Customised)
Line 197 of Controller.php
* Controller->handleAction(SS_HTTPRequest)
Line 135 of RequestHandler.php
* RequestHandler->handleRequest(SS_HTTPRequest)
Line 147 of Controller.php
* Controller->handleRequest(SS_HTTPRequest)
Line 154 of ContentController.php
* ContentController->handleRequest(SS_HTTPRequest)
Line 283 of Director.php
* Director::handleRequest(SS_HTTPRequest,Session)
Line 127 of Director.php
* Director::direct(/ForumMemberProfile/register)
Line 122 of main.php

Still don't know what it means but I guess that means it's easier for you to troubleshoot.

Avatar
Plesantly Surprised

Community Member, 3 Posts

13 April 2010 at 4:14am

As an update, Clicking register causes:

[User Error] Uncaught Exception: Object->__call(): the method 'getforumfields' does not exist on 'Member'
GET /ForumMemberProfile/register/


Clicking profile while logged in as Admin causes:

[User Error] Uncaught Exception: Object->__call(): the method 'getforumfields' does not exist on 'Member'
GET /ForumMemberProfile/edit


Attempting to view a post while logged in as admin:

[User Error] Uncaught Exception: Object->__call(): the method 'ismoderatingforum' does not exist on 'Member'
GET /forums/general-discussion/show/1

Any advice?

Avatar
Willr

Forum Moderator, 5513 Posts

13 April 2010 at 9:31am

Hmm looking at the code - http://open.silverstripe.org/browser/modules/forum/tags/0.2.5/code/ForumRole.php those methods exist. Can you check that you have a 'ForumRole.php' file in forum/code/.

The most likely issue is that its not applying this ForumRole to your member object. What version of PHP are you using?

Avatar
Plesantly Surprised

Community Member, 3 Posts

13 April 2010 at 10:09am

Re downloaded the newest versions of absoulutely everything and uploaded it on a different server and the issue has gone away =/