1149 Posts in 2553 Topics by 408 members
|Go to End|
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.
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.
14 April 2010 at 12:23am
No, there isn't a core directory in sapphire. Should the upgrade put it there?
14 April 2010 at 4:11am
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 http://doc.silverstripe.org/doku.php?id=upgrading&s=upgrade (as appropriate for your build)
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.
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 ( http://www.7-zip.org/ ), and it extracted all files accurately.
|Go to Top|