Jump to:

4939 Posts in 16621 Topics by 1491 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Error message

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

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

Page: 1
Go to End
Author Topic: 716 Views
  • jensolav
    Avatar
    Community Member
    1 Post

    Error message Link to this 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

    716 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.