Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Fatal error during Install

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

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

Page: 1
Go to End
Author Topic: 1504 Views
  • Ittia
    Avatar
    Community Member
    2 Posts

    Fatal error during Install Link to this post

    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,

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: Fatal error during Install Link to this post

    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.

  • Ittia
    Avatar
    Community Member
    2 Posts

    Re: Fatal error during Install Link to this post

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

  • Nathan Cox
    Avatar
    Community Member
    99 Posts

    Re: Fatal error during Install Link to this post

    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?

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