Jump to:

23376 Posts in 18218 Topics by 2867 members

General Questions

SilverStripe Forums » General Questions » Fatal error on backend interface.

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 443 Views
  • rsilvajls
    Avatar
    Community Member
    7 Posts

    Fatal error on backend interface. Link to this post

    Recently I logged into a clients site that I had not logged on to in a long time. And in the interface I am getting this Fatal Error Message

    Fatal error: Cannot redeclare class Form in /home/alsm_admin/alsm.org/www/sapphire/forms/Form.php on line 1289

    I know what the issue is, I jsut dont know how to find it. I have alerady done a site wide search for this class Form and I only find one instance.

    If anyone can help I would really appreciate it!

  • nicknick
    Avatar
    Community Member
    15 Posts

    Re: Fatal error on backend interface. Link to this post

    Not had this error but often a fail to redeclare error when there is only one instance can be caused by having the call positioned below some html. I.e ensure the call is loaded before any other line. If this is something you have done in your code it could be that its only showed the error after its been flushed or it could be that you have inadvertently included form.php in another file.
    But just guessing and after all my guess is the best response u have had so far on here

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