4572 Posts in 1385 Topics by 1376 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1366 Views |
-
SilverStripe-v2.4.0-beta1 and subsites module

23 February 2010 at 11:39pm
Hi, I don't seem to be able to install subsites module with SS2.4. What are the plans to make subsites available to SS2.4? Will it be core functionality or a separate module? Here is the error message I'm getting, in case someone out there would like to help ;)
Line 53 in sapphire/core/model/DataObjectDecorator.php
44 * @param string $class Class name of the owner class (or owner base class)
45 * @param string $extension Class name of the extension class
46 */
47 public static function load_extra_statics($class, $extension) {
48 if(!empty(self::$extra_statics_loaded[$class][$extension])) return;
49 self::$extra_statics_loaded[$class][$extension] = true;
50
51 // @deprecated 2.4 - use extraStatics() now, not extraDBFields()
52 if(method_exists($extension, 'extraDBFields')) {
53 user_error('DataObjectDecorator::extraDBFields() is deprecated. Please use extraStatics() instead.', E_USER_NOTICE);
54 $extraStaticsMethod = 'extraDBFields';
55 } else {
56 $extraStaticsMethod = 'extraStatics';
57 }
58
59 // If the extension has been manually applied to a subclass, we should ignore that. -
Re: SilverStripe-v2.4.0-beta1 and subsites module

24 February 2010 at 12:21am
Might be that the error message doesn't have much to do with subsites module.
| 1366 Views | ||
|
Page:
1
|
Go to Top |

