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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Upgrading SilverStripe /

Ask questions about upgrading SilverStripe to the latest version.

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

Warning: require_once(core/Core.php)

Go to End

6 Posts   3818 Views

Robert Dowell

Community Member, 17 Posts

13 April 2010 at 9:24am

I upgraded to 2.4, and after that I get the following error when I try to visit mysite.

Warning: require_once(core/Core.php) [function.require-once]: failed to open stream: No such file or directory in C:\wamp\www\silverstripe\sapphire\main.php on line 61

Fatal error: require_once() [function.require]: Failed opening required 'core/Core.php' (include_path='.;C:\php5\pear') in C:\wamp\www\silverstripe\sapphire\main.php on line 61

I have dataobject_manager, image_gallery and swfupload modules installed.

If anyone can help I would appreciate it.



Forum Moderator, 5523 Posts

13 April 2010 at 10:37pm

No such file error so the first thing to check is to make sure sapphire/core/Core.php exists and is readable by the webserver user. Hmm I wonder if it makes a difference that its core/Core where as on Windows it might need to be core\Core I would be surprised if that was the issue.

Robert Dowell

Community Member, 17 Posts

14 April 2010 at 12:23am

No, there isn't a core directory in sapphire. Should the upgrade put it there?



Community Member, 45 Posts

14 April 2010 at 4:11am

Hi Bob,

It sounds like something went really askew with your upgrade process. The path sapphire/core is a major part of the silverstripe framework, and is something that will have been there in the original installation as well as the upgrade.

Make sure that you followed the upgrade instructions from here (as appropriate for your build)


Robert Dowell

Community Member, 17 Posts

14 April 2010 at 10:22pm

Willr and Owen

Thanks for your help! I'm a dunce, but finally got it figured out. I'm able to see my site and get into the cms, haven't started using it yet but the modules seem to be working.

Thanks again.


Community Member, 2 Posts

24 September 2010 at 12:42pm


I struck the same problem installing Silverstripe on Win XP SP 3, XAMPP. The problem with the missing /core files was with the extractor I used. I used Winace to extract the files initially, and the /core files were missing. Then I tried using 7-zip ( ), and it extracted all files accurately.