I'm new to SilverStripe — new job, first exposure to SilverStripe, etc. We're on 2.4.5 for now and just did some changes with our code repositories and I'm struggling to figure out an issue preventing me from viewing things locally and hoping somebody has experienced this and knows the fix ...
For starters, it's running on a CentOS 6.4 VM on VirtualBox that runs on a virtual network and pulls the web files from a mounted folder from the host. Fairly certain the setup there is not the issue — I've run other things with it successfully and I'm getting some feedback from the code.
Anyways, I'm getting a white screen of death, but when I break it down to get thee error, it goes to the manifest file, it requires a file advancedworkflow/_config.php which calls Object::add_extension. Now, when I just run the site from what is essentially localhost (I have an alias I use that's config'd in my hosts file, but same difference ... I hope?) and the .htaccess rewrites to run sapphire/main.php, I get the white screen. Like I said though, with my var_dumping to track the error, it was in the manifest, which I copied over from the tmp directory and ran it. Doing that threw a fatal "Class Object not found" error.
In $_CLASS_MANIFEST, 'object' => '/{{ ... path ... }}/sapphire/core/Object.php' is in the array. In that file, there's an Object class, but it's an abstract class. Part of my head-scratching brought me to the conclusion that it's an abstract class and calling a static method from an abstract class is a problem (I know you can't instantiate an abstract class ... I've never even thought of calling a static method from one, but I don't think abstract is the issue, otherwise class not found wouldn't be the error). I also know (think?) that class is part of the framework, so I'm not going to touch it.
Obviously, I don't know much about Silverstripe, so I'm not sure what's causing this, and I'm not sure what SilverStripe does to autoload beyond that $_CLASS_MANIFEST array.
If anybody has any ideas or suggestions I would GREATLY appreciate your feedback!
Thanks,
Sam