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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

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

Removing userforms


Go to End


3 Posts   1554 Views

Avatar
fishe

Community Member, 42 Posts

17 January 2009 at 2:26pm

I decided I don't need the userforms module anymore, so I just deleted the directory userforms from the root installation dir.

I then rebuilt the database and flushed the admin panel, but I get the following error: [User Error] Bad class to singleton() - UserDefinedForm

None of my existing files link to anything to do with userforms anymore.

I then did something probably not so smart and manually deleted the 3 UserDefinedForm tables from the database. This didn't do anything though.

I even tried to put the files back but now I just get other errors.

Any help please? :)

Avatar
Ingo

Forum Moderator, 801 Posts

25 January 2009 at 9:05pm

Do you still have UserDefinedForm as a enum-value in the "ClassName" column in one of your SiteTree (*_live, *_versions) tables, or subclasses thereof? Do you have a page which used to contain a UserDefinedForm which you haven't switched to an existing pagetype yet?

Avatar
fishe

Community Member, 42 Posts

25 January 2009 at 11:35pm

Ta for the reply, but I've already just reinstalled and moved across certain files (I'm developing so there was only test data in the database)