Jump to:

4873 Posts in 7171 Topics by 1471 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » Error installing 2.3.1

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: 954 Views
  • rbb
    Avatar
    Community Member
    2 Posts

    Error installing 2.3.1 Link to this post

    Here is the error. It is a notice, but I have turned of notice reporting in my php.ini and even tried changing the error_reporting(...) line in install.php. Anyone know how to fix this?

    Thanks!

    --------------------------------------------------------------

    If you receive a fatal error, refresh this page to continue the installation

    Creating 'mysite/_config.php'...
    Creating /usr/local/www/silverstripe/mysite/_config.php
    Creating '.htaccess' file...
    Creating /usr/local/www/silverstripe/.htaccess
    Building database schema...

    [Notice] Undefined index: Controller
    POST /silverstripe/install.php

    Line 157 in /usr/local/www/silverstripe/sapphire/core/ClassInfo.php

    Source

    148    /**
    149     * @todo Improve documentation
    150     */
    151    static function ancestry($class, $onlyWithTables = false) {
    152       global $_ALL_CLASSES;
    153
    154       if(is_object($class)) $class = $class->class;
    155       else if(!is_string($class)) user_error("Bad class value " . var_export($class, true) . " passed to ClassInfo::ancestry()", E_USER_WARNING);
    156
    157       $items = $_ALL_CLASSES['parents'][$class];
    158       $items[$class] = $class;
    159       if($onlyWithTables) foreach($items as $item) {
    160          if(!DataObject::has_own_table($item)) unset($items[$item]);
    161       }
    162       return $items;
    163    }
    Trace

    ClassInfo::ancestry(Controller)
    Line 368 of Object.php
    Object->stat(extensions)
    Line 84 of Object.php
    Object->__construct()
    Line 787 of install.php
    Installer->install(Array)
    Line 124 of install.php

    954 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.