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.

Archive /

Our old forums are still available as a read-only archive.

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

Fatal error during Install


Reply


4 Posts   1540 Views

Avatar
Ittia

Community Member, 2 Posts

22 February 2008 at 4:20pm

Hi,

I'm trying to install SilverStripe v2.2.1 php install on my Web Drive hosting. I managed to satisfy all the requirements needed for the install and even when I tried uploading a totally clean set of files to install from I still got the following fatal error.

Fatal error: Cannot redeclare class UserDefinedForm in/home/varphidesign/varphidesign/silverstripe/cms/code/PageTypes/UserDefinedForm.php on line 150

Has anybody else had this problem? And if so how could I get rid of it?

Thanks,

Avatar
Sigurd

Forum Moderator, 628 Posts

22 February 2008 at 4:31pm

This normally happens because you've duplicated the files in your host, e.g. you might have

sapphire/
cms/
jsparty/
...etc.
sapphire_old/
cms_old/
jsparty_old/

where the _old folders are ones you've manually renamed whilst playing around.

Avatar
Ittia

Community Member, 2 Posts

22 February 2008 at 5:41pm

I've had a double check but there's no duplicate files.

Avatar
Nathan Cox

Community Member, 99 Posts

28 February 2008 at 4:45pm

I'm having this same problem, also on Web Drive...I tried uploading an existing site that works fine locally and I've tried a completely fresh install. I definitely don't have multiple copies of anything but I still always get the same error message.

Has anyone figured this out?