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.

Installing SilverStripe

Getting SilverStripe up and running on your computer and on your web server.

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

Installing error: Fatal error: Class 'Debug' not found


Reply

3 Posts   1928 Views

Avatar
monnick

14 November 2010 at 10:31pm (Last edited: 14 November 2010 10:32pm), Community Member, 6 Posts

Hi everybody,

Just recently I discovered Silverstripe and I like it very much, it is so simple to configure / design a template! Now I am trying to install a new Silverstripe installation on a new host (from a client), but I get an error...I think it is a problem with the server configuration but I don't know how to fix it. On my own server it works perfectly. Anyway, it says:

Fatal error: Class 'Debug' not found in /var/www/clients/client10/web110/web/sapphire/core/Core.php on line 264

I have tried 2.4.2 and 2.4.3 and both versions give this same error. It occurs directly after I upload all the Silverstripe installation files in to the root folder of the website. I have also tried to chmod every file of the installation, but this doesn't do anything.

Can anyone help me fixing this problem? I don't know what to do anymore...

Avatar
Sean

15 November 2010 at 10:31am Forum Moderator, 921 Posts

It sounds like there is a missing file... are you sure the files were uploaded correctly?

You may also want to create a silverstripe-cache folder in the project and give it web user write access. Then you can easily delete the temp cache files in there if there's a problem.

Cheers,
Sean

Avatar
monnick

17 November 2010 at 5:01am Community Member, 6 Posts

Thanks for your reply! Although I double checked it, something was wrong with the file permissions. Now It just works fine :)