4577 Posts in 1388 Topics by 1377 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 757 Views |
-
shifting SS from hosting server to another

26 February 2010 at 9:30pm
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
Source148 /**
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
| 757 Views | ||
|
Page:
1
|
Go to Top |

