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

problem to install userdefined forms


Reply


2 Posts   971 Views

Avatar
toarx

Community Member, 34 Posts

22 April 2009 at 5:33pm

my procedure to install userdefined forms
1. http://doc.silverstripe.com/doku.php?id=modules:userforms
2. download http://open.silverstripe.com/changeset/latest/modules/userforms/trunk?old_path=/&filename=/modules/userforms/trunk&format=zip
3. unzip modules_userforms_trunk-r74892.gz
4. get modules/userforms/trunk all parts
like
-rw-r--r-- 1 uwe uwe 141 Sep 29 2008 _config.php
drwxrwxr-x 4 uwe uwe 4096 Apr 21 19:51 code
drwxrwxr-x 2 uwe uwe 4096 Apr 21 19:51 css
drwxrwxr-x 2 uwe uwe 4096 Apr 21 19:51 images
drwxrwxr-x 2 uwe uwe 4096 Apr 21 19:51 javascript
drwxrwxr-x 2 uwe uwe 4096 Apr 21 19:51 lang
drwxrwxr-x 3 uwe uwe 4096 Apr 21 19:51 templates
drwxrwxr-x 2 uwe uwe 4096 Apr 21 19:51 tests
5. I copy the files of this parts in my prj-parts
code in $PRJ/site/mysite/code
css in $PRJ/site/themes/itheme/css
images in $PRJ/site/themes/itheme/images
a.s.o.
6. http://$PRJ.de/dev/build?flush=all
7. http://$PRJ.de/admin
8. I get Pagetype "A User Form (UserDefinedForm)
9. I create a new Page with this Pagetype
10. I found the register 'form'
11. I see all HTML-Controls as link to add it.
12. No result, action if I want to add it.

In the php-Error-log I found
[22-Apr-2009 07:15:48] PHP Fatal error: Class '<' not found in /opt/silverstripe-2.3.1-3/sapphire/core/model/SiteTree.php on line 966
/opt/silverstripe-2.3.1-3/sapphire/core/model/SiteTree.php on line 966: $task = new UpgradeSiteTreePermissionSchemaTask();

it is not understandable (for me)

Avatar
toarx

Community Member, 34 Posts

22 April 2009 at 8:27pm

solvedf ;-)

I use now userforms-v0.1.0 and it works.

cd $MYPRJ/site
cp /tmp/userforms-v0.1.0.tar.gz .
tar xzvf userforms-v0.1.0.tar.gz
mv userforms-v0.1.0 userforms
http://$PRJ.de/dev/build?flush=all
http://$PRJ.de/admin?flush=all

ready