Jump to:

23360 Posts in 18124 Topics by 2862 members

General Questions

SilverStripe Forums » General Questions » Fatal error: Class 'Debug' not found

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 2
Go to End
Author Topic: 4840 Views
  • sajok
    Avatar
    Community Member
    82 Posts

    Fatal error: Class 'Debug' not found Link to this post

    Hello,

    I have two ss websites installed on the same server, and both are working just fine. One of them is currently under development. I made some changes yesterday and checked everything was right. However, This morning the frontpage shows the following error for the first time. I checked the other website to find the same error on the frontpage! :

    Fatal error: Class 'Debug' not found in /home/bohoich/public_html/sapphire/core/Core.php on line 225

    both websites now are off, could you please help solve this?
    thanks

  • swaiba
    Avatar
    Forum Moderator
    1784 Posts

    Re: Fatal error: Class 'Debug' not found Link to this post

    hmmmm core file.... sapphire\dev\Debug.php... maybe you have created your own 'class Debug' somewhere? a dev/build would indicate this and fail I think...

  • cuSSter
    Avatar
    Community Member
    56 Posts

    Re: Fatal error: Class 'Debug' not found Link to this post

    Should that return a different error? Two class of the same name perhaps?

  • swaiba
    Avatar
    Forum Moderator
    1784 Posts

    Re: Fatal error: Class 'Debug' not found Link to this post

    Absolutely - and that is why I suggest the dev/build because that is where I have seen that error... that is all I can suggest...

  • cuSSter
    Avatar
    Community Member
    56 Posts

    Re: Fatal error: Class 'Debug' not found Link to this post

    Yeah, same here. Sajok maybe you should check if the Debug class exist in the core. Maybe it has been deleted or whatsoever.

  • sajok
    Avatar
    Community Member
    82 Posts

    Re: Fatal error: Class 'Debug' not found Link to this post

    @swaiba, @Pinoy_SS thanks for replying..

    the core file is still there, and I didn't create any class. I run dev/build and it shows a list of ManifestBuilder.php errors. The strange thing is it affects another website on the server with ss 3.4 version and shows the same error. That made me think that maybe something is wrong with server, so I went to the hosting support told me they are fixing something with the server.. now I need to wait to see how they are going to fix this..

    thanks

  • cuSSter
    Avatar
    Community Member
    56 Posts

    Re: Fatal error: Class 'Debug' not found Link to this post

    So maybe it's in the hosting provider that you are using. If that is so, it's a relief.
    No problem.

  • sajok
    Avatar
    Community Member
    82 Posts

    Re: Fatal error: Class 'Debug' not found Link to this post

    I have a reseller account with 5 websites using only 2% of resources. Three websites are silverstripe v2.4, and they suddenly show the above same error. I thought it's a problem with the server but so far the support couldn't do anything about it. They added a php.ini file in public_html folder and asked me to enable the module I want inside that file, but I wasn't sure what to do exactly..!

    the error shows on a white screen not the usual ss blue screen, so maybe something was disabled or misconfigured for php execution which affects only silverstripe websites.

    could you please help if you have any idea what may cause this error?

    thanks

    4840 Views
Page: 1 2
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.