Jump to:

10994 Posts in 2728 Topics by 1819 members

All other Modules

SilverStripe Forums » All other Modules » Userforms 0.2 - Website Error?

Discuss all other Modules here.

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

Page: 1 2
Go to End
Author Topic: 2504 Views
  • Frank Juval
    Avatar
    Community Member
    3 Posts

    Re: Userforms 0.2 - Website Error? Link to this post

    Thank you! Thank you! Thank you! Thank you! Thank you!!

  • thepurpleblob
    Avatar
    Community Member
    28 Posts

    Re: Userforms 0.2 - Website Error? Link to this post

    I just had a really bad time installing this module - my first - with a similar bunch of problems and nasty errors

    Eventually the penny dropped. You have to log in to the admin interface first. This may seem 100% obvious if you do it all the time but it would be a good idea to have it in the README and better still to give a proper error message rather than breaking horribly if you are not.

  • thepurpleblob
    Avatar
    Community Member
    28 Posts

    Re: Userforms 0.2 - Website Error? Link to this post

    Ok... still not happy. It's now installed it just doesn't work.

    When I go to add a new form field. Blank screen after I press go. I have the Debugging thing switched on (still) and have checked my Apache error logs. Nothing. How to proceed?

    Thanks

  • thepurpleblob
    Avatar
    Community Member
    28 Posts

    Re: Userforms 0.2 - Website Error? Link to this post

    Having finally looked at the *right* log file (D'Oh). The error seems to be this...

    PHP Fatal error: Method name must be a string in /home/howard/silver/sapphire/forms/Form.php on line 232

    That's the return here...

    // Otherwise, try a handler method on the form object
    } else {
    return $this->$funcName($vars, $this, $request);
    }

    right at the end of the httpSubmission() function

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: Userforms 0.2 - Website Error? Link to this post

    Make sure the folder name is not 'userforms' eg the folder is called 'userforms-trunk-r81313'. Rename the folder and reload the admin section.

    2504 Views
Page: 1 2
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.