Jump to:

11004 Posts in 2735 Topics by 1824 members

All other Modules

SilverStripe Forums » All other Modules » Userform page type can't be activated

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 995 Views
  • wonnepfropfen
    Avatar
    Community Member
    18 Posts

    Userform page type can't be activated Link to this post

    Hello

    I have just installed the userform on silverstripe 3.0.3, but if I want to activate the page type User Defined Form, it shows me an error message.

    Warning at line 670 of /home/httpd/vhosts/xyz.ch/httpdocs/silverstripe/framework/view/SSViewer.php

    Would anyone know how to solve this issue?

    Best,

    wonnepfropfen

  • Marcinkonys
    Avatar
    Community Member
    11 Posts

    Re: Userform page type can't be activated Link to this post

    Some suggestions here:

    • Did you name the folder userforms?
    • Did you do a dev/build?

    Quoting UserForms@GitHub:

    Installation

    • Download the module from the link above.
    • Extract the file (if you are on windows try 7-zip for extracting tar.gz files
    • Make sure the folder after being extracted is named 'userforms'
    • Place this directory in your sites root directory. This is the one with sapphire and cms in it.
    • Run in your browser - /dev/build to rebuild the database.
    • You should see a new PageType in the CMS 'User Defined Form'. This has a new 'Form' tab which has your form builder.

    Also, the more info there is on the error, the easier it'll be to track what's wrong.
    Go into dev mode and try accessing the page you want to edit. That will give you the complete error message.

  • wonnepfropfen
    Avatar
    Community Member
    18 Posts

    Re: Userform page type can't be activated Link to this post

    Hi

    Thank you for replying. I've installed it as stated. And it's not the first module I've installed. And I tried it now 3 times.

    Unfortunately I don't get an error message with dev mode since I can't exit the page.

    When I add a new page and I choose the page type "User Defined Form" I click "create" and then I get the error message. Warning at line 670 of /home/httpd/vhosts/xyz.ch/httpdocs/silverstripe/framework/view/SSViewer.php

    That's it. I can see the page in my backend, but can't edit it. And I can't access the site of the frontend.

    Would you have any further suggestions. Thank you!

  • Marcinkonys
    Avatar
    Community Member
    11 Posts

    Re: Userform page type can't be activated Link to this post

    Hmm. I think when you click "Create", even without the page loading up, the URL should change.

    What I do in these situations when all I'm given is that tiny popup with "Error on line X" is click on the URL in the address bar and hit Enter. That forces the page to reload. Should be given the error message then.

  • IOTI
    Avatar
    Community Member
    189 Posts

    Re: Userform page type can't be activated Link to this post

    Try doing a ?flush=all.

    I just tried a fresh 3.0.3, and userforms install and got the same SSViewer error. Looking further it reported that it couldn't find a template. ?flush=all fixed it for me.

  • wonnepfropfen
    Avatar
    Community Member
    18 Posts

    Re: Userform page type can't be activated Link to this post

    Wow. As easy as that. ?flush=all worked for me, too.

    Thank you both for your help!

    995 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.