Jump to:

4952 Posts in 16066 Topics by 1489 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » shifting SS from hosting server to another

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: 883 Views
  • kasyap5
    Avatar
    Community Member
    1 Post

    shifting SS from hosting server to another Link to this post

    Hi,

    I am trying to shift my SS website from one hosting server to another .. while doing this i am getting the following exception .. i have set the Director::set_environment_type("dev"); to dig the error ..

    i have stuckup here for a long time .. help is needed asap .. thanks in advance ..

    [Notice] Undefined index: MySQLDatabase
    GET /

    Line 157 in /usr/home/bonnybabeschildcare.com.au/www/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(MySQLDatabase)
    Line 512 of Object.php
    * Object->__construct()
    Line 42 of MySQLDatabase.php
    * MySQLDatabase->__construct(Array)
    Line 79 of DB.php
    * DB::connect(Array)
    Line 112 of main.php

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