Jump to:

10986 Posts in 2724 Topics by 1817 members

All other Modules

SilverStripe Forums » All other Modules » problem to install userdefined forms

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 943 Views
  • toarx
    Avatar
    Community Member
    34 Posts

    problem to install userdefined forms Link to this post

    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)

  • toarx
    Avatar
    Community Member
    34 Posts

    Re: problem to install userdefined forms Link to this post

    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

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