Jump to:

10931 Posts in 2614 Topics by 1810 members

All other Modules

SilverStripe Forums » All other Modules » Problem with User Forms

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 1293 Views
  • Scorpiankh
    Avatar
    Community Member
    60 Posts

    Problem with User Forms Link to this post

    Hi

    I installed the User Forms module (version 0.3.0, silverstripe version 2.3.4), in the CMS i tried to change an existing pages page type to 'User Defined Form' and got 'error loading page' ... so I tried to create a new 'User Defined form' and got 'error loading page' and I can't access either page in the CMS, when I try I get an error popup box that's blank except for the error icon and the ok button.
    I tried removing the User Forms module from the root folder, ran dev/build again after removing and got an error message there too.

    any help with getting this fixed would be great, I was hoping to have this website up and running by the end of the week.

    thanks

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: Problem with User Forms Link to this post

    Check out your php error logs or if you have Firebug look at the Console tab when you receive the error - if the site is in devmode then you will get the full error message printed to your console.

  • Scorpiankh
    Avatar
    Community Member
    60 Posts

    Re: Problem with User Forms Link to this post

    My PHP error logs are completely blank.

    I managed to successfully uninstall User Forms on the second attempt and tried reinstalling, got as far as changing a page type to 'User Defined Form' and managed to save it successfully, but again got "error saving content" when I clicked 'save and publish'. I clicked back on the 'content' tab in the cms and got:

    [User Error] Couldn't run query: SELECT COUNT(*) AS "CountRows" FROM "SubmittedForm" WHERE "ParentID" = 6 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"SubmittedForm" WHERE "ParentID" = 6' at line 1
    GET /Ethereal/silverstripe-v2.3.4/admin

    Line 401 in C:\wamp\www\Ethereal\silverstripe-v2.3.4\sapphire\core\model\MySQLDatabase.php

    I'm still fairly noobish at php so I'm not sure how to fix this.

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: Problem with User Forms Link to this post

    UserForms 0.3 is 2.4 only. Looks like your using 2.3 or an earlier version. You want to try 0.2 version of UserForms (link on download page) or upgrade to 2.4

  • Scorpiankh
    Avatar
    Community Member
    60 Posts

    Re: Problem with User Forms Link to this post

    Thanks, I was sure I'd double checked I had a compatible version but I guess I must have misread it.

    I have UserForms 0.2 installed now, took me a little while to figure out that it has to have $UserDefinedForm in the content under the main tab for the form to display on the page, but seems to be working fine now.
    Thanks

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