Cześć

Mam problem.
Zainstalowałem silverstripe 2.4 oraz moduł Multilingual Module. Ale przy próbie instalacji. Mam Następujący komunikat:
Fatal error: Class 'Requirements' not found in /public_html/ss/multilingual/_config.php on line 10
Fragment pliku _config.php
  1. <?php
  2.  
  3. // Config is set in z_site/_config.php for the site using multilingual module
  4.  
  5. /********************************************************************************
    **********************
  6.  * Multilingual module with i18n support
  7.  *
  8.  /********************************************************************************
    **********************/
  9.  
  10. Requirements::css("multilingual/css/langselector.css");
  11.  
  12. i18n::set_default_locale("sv_SE");
  13. Multilingual::set_default_lang("sv");
  14.  
  15. Multilingual::set_langs(array(
  16. "Swedish"=>array(
  17. "sv"=>"sv_SE"
  18. ),
  19. "English"=>array(
  20. "en"=>"en_GB"
  21. ),
  22. "German"=>array(
  23. "de"=>"de_DE"
  24. )
  25. ));


Oraz fragment pliku
multilingual/css/langselector.css
  1. #lang {
  2. position: relative;
  3. z-index: 999;
  4. }
  5. #lang ul{
  6. float:right;
  7. margin:5px 0px 10px 0;
  8. list-style-type: none;
  9. }
  10. #lang li{
  11. font-size:10px;
  12. float:right;
  13. margin:0 10px 0 0;
  14.  
  15. }
  16. #lang li a{
  17. font-size:12px;
  18. }
  19. #lang li a,
  20. #lang li a span{
  21. line-height: 1.4em;
  22. float:left;
  23. opacity:0.6;
  24. color:#111;
  25. }
  26. #lang li a.selected,
  27. #lang li a:hover{
  28. opacity:1;
  29. text-decoration: underline;
  30. }
  31. #lang li img{
  32. float:left;
  33. margin:0 2px 0 0;
  34. }
  35.  


a na głównej stronie

Parse error: syntax error, unexpected T_STATIC in /public_html/ss/multilingual/code/Multilingual.php on line 12

fragment multilingual/code/Multilingual.php
  1. <?php
  2.  
  3. class Multilingual extends DataObjectDecorator {
  4. /* * ********************************************************************************
    ********************
  5. /* lang statics, getter, setters
  6. /********************************************************************************
    ********************* */
  7.  
  8. static $use_URLSegment = false;
  9. static $decorated_class; // used in the child classes to get what we are decorating
  10.  
  11. function get_decorated_class() {
  12. return static::$decorated_class;
  13. }
  14.  
  15. private static $lang;
  16. private static $default_lang = "sv";
  17.  
  18. /*
  19. * All the languages available for the site, as an associative array
  20. */
  21. static $langs = array(
  22. "Swedish" => array("sv" => "sv_SE"),
  23. "English" => array("en" => "en_US"),
  24. );
  25.  
  26. static function set_langs($array) {
  27. static::$langs = $array;
  28. }


W czym może być problem questionmark.gif
Z góry dziękuję za pomoc.