Jump to:

1036 Posts in 810 Topics by 315 members

Forum Module

SilverStripe Forums » Forum Module » huge install problems Can I get a step by step?

Discuss the Forum Module.

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

Page: 1
Go to End
Author Topic: 1047 Views
  • forcedregister
    Avatar
    Community Member
    1 Post

    huge install problems Can I get a step by step? Link to this post

    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

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: huge install problems Can I get a step by step? Link to this post

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

    Director::set_environment_type("dev");

  • Plesantly Surprised
    Avatar
    Community Member
    3 Posts

    Re: huge install problems Can I get a step by step? Link to this post

    ¬_¬ 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.

  • Plesantly Surprised
    Avatar
    Community Member
    3 Posts

    Re: huge install problems Can I get a step by step? Link to this post

    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?

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: huge install problems Can I get a step by step? Link to this post

    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?

  • Plesantly Surprised
    Avatar
    Community Member
    3 Posts

    Re: huge install problems Can I get a step by step? Link to this post

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

    1047 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.