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 installing 2.3.1


Reply

1006 Views

Avatar
rbb

9 April 2009 at 11:19am Community Member, 2 Posts

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