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

Silverstripe 2.3 installation problem


Reply

1046 Views

Avatar
danbalbo

24 February 2009 at 1:01pm Community Member, 6 Posts

I am trying to install ss 2.3 on a shared server and it doesnt work. The installation process stops on the database build and the error is :

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

Line 146 in /usr/local/psa/home/vhosts/northstargroupsrl.com/httpdocs/sapphire/core/ClassInfo.php

137    /**
138     * @todo Improve documentation
139     */
140    static function ancestry($class, $onlyWithTables = false) {
141       global $_ALL_CLASSES;
142
143       if(is_object($class)) $class = $class->class;
144       else if(!is_string($class)) user_error("Bad class value " . var_export($class, true) . " passed to ClassInfo::ancestry()", E_USER_WARNING);
145
146       $items = $_ALL_CLASSES['parents'][$class];
147       $items[$class] = $class;
148       if($onlyWithTables) foreach($items as $item) {
149          if(!DataObject::has_own_table($item)) unset($items[$item]);
150       }
151       return $items;
152    }

SS 2.2.3 works like a charme on the same shared server.Any help is appreciated