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

Error message


Reply

724 Views

Avatar
jensolav

6 May 2009 at 4:19am Community Member, 1 Post

Hi

Can somebody help me?

What's going on -- how can it be corrected?

Source

237 * Sapphire class autoloader. Requires the ManifestBuilder to work.
238 * $_CLASS_MANIFEST must have been loaded up by ManifestBuilder for this to successfully load
239 * classes. Classes will be loaded from any PHP file within the application.
240 * If your class contains an underscore, for example, Page_Controller, then the filename is
241 * expected to be the stuff before the underscore. In this case, Page.php.
242 */
243 function __autoload($className) {
244    global $_CLASS_MANIFEST;
245    if(($pos = strpos($className,'_')) !== false) $className = substr($className,0,$pos);
246    if(isset($_CLASS_MANIFEST[$className])) include_once($_CLASS_MANIFEST[$className]);
247 }
248
249 /**
250 * Return the file where that class is stored
251 */
252 function getClassFile($className) {

Trace

* __autoload
Line 246 of Core.php
* __autoload(Extension)
Line 9 of DataObjectDecorator.php
* include_once(/usr/home/web/web3684/SilverStriperc/sapphire/core/model/DataObjectDecorator.php)
Line 246 of Core.php
* __autoload(DataObjectDecorator)
Line 8 of Hierarchy.php
* include_once(/usr/home/web/web3684/SilverStriperc/sapphire/core/model/Hierarchy.php)
Line 246 of Core.php
* __autoload(Hierarchy)
Line 1 of Object.php(86) : eval()'d code
* eval
Line 86 of Object.php
* Object->__construct()
Line 163 of DataObject.php
* DataObject->__construct(,1,,,,,,,)
Line 208 of Object.php
* Object::strong_create(SiteTree,,1)
Line 264 of Core.php
* singleton(SiteTree)
Line 36 of ModelAsController.php
* ModelAsController->init()
Line 15 of ModelAsController.php
* ModelAsController->handleRequest(HTTPRequest)
Line 262 of Director.php
* Director::handleRequest(HTTPRequest,Session)
Line 106 of Director.php
* Director::direct(/home/function.scandir)
Line 115 of main.php

Kind regards

jensolav