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.

All other Modules

Discuss all other Modules here.

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

userforms installation not succesful


Reply

14 Posts   1823 Views

Avatar
Willr

27 April 2009 at 1:53pm Forum Moderator, 5511 Posts

Hey aaron you will need to use branches/2.3 or 2.3.2 when it comes out.

Userforms trunk does not work with 2.3.1, you will have to stick with the 0.1 release.

Avatar
Double-A-Ron

27 April 2009 at 2:31pm Community Member, 604 Posts

Yes I got the feeling this was the case.

My post has little to do with it functioning or not. The fact that the official channels give SS users at ability to make this mistake so easily is the concerning part.

I've posted details on how even 0.1 isn't working with 2.3.1 on the other thread:
[url]http://www.silverstripe.org/form-questions/show/257760?start=0#post259272#post259272[/url]

Avatar
nostrad

27 April 2009 at 7:29pm Community Member, 25 Posts

From the Readme file in the UserForms download:

Installation Instructions
-----------------------------------------------
Extract the userforms folder into the top level of your site, and visit
http://www.mysite.com/dev/build to rebuild the database.

So, can someone elaborate the proper procedure? Into a) how many and b) which directories do I need to extract the archive? Why couldnt it just be simple as extracting it into the modules folder?

(really frustrated, as I haven't still got it working until now)

Avatar
nostrad

27 April 2009 at 7:43pm Community Member, 25 Posts

I think you've put it in the wrong place.

The "userforms" directory needs to live as a sibling of the sapphire, cms, jsparty and mysite folders.

Once it's there, dev/build (or db/build if you're running 2.2) should then pick up the module and build the database accordingly.

Good luck!

Cheers,
Sean

So, I just downloaded the latest build "modules_userforms_trunk-r75270.zip" and extracted the 'userforms' directory inside the archive to the cms and jsparty folders and then did a build. It now works. I hope it does not give errors later (as it did earlier). but if it does, I will report here.

Thanks to everyone who participated in this thread.

Avatar
nostrad

27 April 2009 at 8:27pm Community Member, 25 Posts

Now this is the error I get when trying to create the form page after select anything from the dropdown and click Add :

Fatal error: Method name must be a string in /data/15/1/99/97/1751423/user/1892604/htdocs/jethro/sapphire/forms/Form.php on line 232

Avatar
nostrad

27 April 2009 at 9:05pm Community Member, 25 Posts

I finally got it working - thank God !