10389 Posts in 2200 Topics by 1712 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 304 Views |
-
Userform page type can't be activated

21 January 2013 at 9:45am
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
-
Re: Userform page type can't be activated

21 January 2013 at 11:48am Last edited: 21 January 2013 11:49am
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. - Did you name the folder userforms?
-
Re: Userform page type can't be activated

22 January 2013 at 9:39am
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!
-
Re: Userform page type can't be activated

22 January 2013 at 10:12am
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.
-
Re: Userform page type can't be activated

22 January 2013 at 2:22pm Last edited: 22 January 2013 2:22pm
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.
-
Re: Userform page type can't be activated

22 January 2013 at 9:45pm
Wow. As easy as that. ?flush=all worked for me, too.
Thank you both for your help!
| 304 Views | ||
|
Page:
1
|
Go to Top |


