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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Form Questions /

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

Userform fails to install. Help


Go to End


6 Posts   1486 Views

Avatar
gbart

Community Member, 8 Posts

7 August 2010 at 1:36pm

Edited: 07/08/2010 3:47pm

I downloaded the userform module and followed the install instructions as
listed in the readme file.

After the userform folder was extracted and renamed I copied it to the
root of my site and ran the http://www.test.ca/dev/build.

finnished with a web server not responding.

I then ran the http://www.test.ca/dev/build/?flush=1 and the site appeared
to be back to normal but the user forms did not install.

What other things could I look at doing to get this resolved.

Thanks for the assistance!!!!

Also see attached file.

Web Server
debain 5.0.5
apache2
mysql 5+
php5

Attached Files
Avatar
Willr

Forum Moderator, 5523 Posts

7 August 2010 at 7:06pm

Please put the site into dev mode so you can see the actual error and the trace, not just 'Website Error'. http://doc.silverstripe.org/debugging#dev_mode

Avatar
gbart

Community Member, 8 Posts

8 August 2010 at 2:59am

Thanks Willr for looking at this with me!!

I think that I have it into dev mode, after I run the command this is now what I get.

See attached PDF.

Attached Files
Avatar
gbart

Community Member, 8 Posts

8 August 2010 at 8:20am

UPDATE

In looking at the error I believe that this is a sql permission error so I then granted more access to the database for the account. I then ran the http://www.test.ca/dev/build again and it seemed to complete just fine. I log in to edit the test site again and the form selection was now there but now when I create a new for page it is grey with no controls to do anything.

I will keep working on the issue and if anyone has a suggestion I would be great-full!!

Gerald

Avatar
Willr

Forum Moderator, 5523 Posts

8 August 2010 at 9:54am

but now when I create a new for page it is grey with no controls to do anything.

It will be grey if you do not have permission to edit the form. Make sure under the access tab that you have the correct permissions to edit the page.

Avatar
gbart

Community Member, 8 Posts

8 August 2010 at 10:24am

I did not get the option to choose who could edit the page so for the past few hours I updated to the latest version of SS and Userforms and it just started working for me.

Going forward what would be correct sql permissions that I should assign to the db account so that I do not have this issue?

Willr I really appreciate you assistance in this!

Gerald