10993 Posts in 2727 Topics by 1818 members
|Go to End|
14 July 2010 at 5:59pm
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.
14 July 2010 at 7:14pm
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.
15 July 2010 at 3:49pm
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
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.
15 July 2010 at 5:22pm
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
15 July 2010 at 8:09pm
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.
|Go to Top|