Strict Standards: Non-static method Protector::getInstance() should not be called statically in /home/suehirogari/suehirogari.com/xoops_trust_path/modules/protector/include/precheck_functions.php on line 12

Strict Standards: Non-static method XCube_Root::getSingleton() should not be called statically in /home/suehirogari/suehirogari.com/public_html/include/common.php on line 18

Deprecated: Non-static method XCube_Root::getSingleton() should not be called statically, assuming $this from incompatible context in /home/suehirogari/suehirogari.com/public_html/modules/user/preload/Primary/Primary.class.php on line 13
xoops2.2.0でaltsysをインストールした後、ブロック部分と管理ページの日付が文字化けしたときの対処法 | 社内SEのウェブ制作

2011.07.23xoopsズープス

xoops2.2.0でaltsysをインストールした後、ブロック部分と管理ページの日付が文字化けしたときの対処法

【環境】
ホスティングサーバーxserver
PHPバージョン:PHP5.1.6,MySQLバージョン:5.0.77,Legacy:2.2.0,altsys:0.7
【データベース文字コード】 ja_utf8

 

Legacy:2.2.0を「ja_utf8」でインストール。
問題なく終了するも,altsysモジュールをインストールしたとたんに文字化け。
下記方法で問題解消。
-----------------------------------------------------------------------------------------------------------
1.xoops_trust_path/libs/altsys/class フォルダの中の
SetupAltsysLangMgr.class.php ファイル をコピー
------------------------------------------------------------------------------------------------------------


------------------------------------------------------------------------------------------------------------
2.xoops_root_path/preload フォルダに SetupAltsysLangMgr.class.php ファイルをペースト
-----------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------------
3.xoops_root_path/preload フォルダに入れたSetupAltsysLangMgr.class.php ファイルの赤字部分を追記する
-----------------------------------------------------------------------------------------------------------
***************************************************
function loadGlobalMessageCatalog()
 {
  /* if (!$this->_loadFile(XOOPS_ROOT_PATH . “/modules/legacy/language/” . $this->mLanguageName . “/global.php”)) {
   $this->_loadFile(XOOPS_ROOT_PATH . “/modules/legacy/language/english/global.php”);
  } */
  $this->_loadLanguage( ‘legacy’ , ‘global’ ) ;
  $this->_loadLanguage( ‘legacy’ , ‘setting’ ) ;

  //
  // Now, if XOOPS_USE_MULTIBYTES isn’t defined, set zero to it.
  //
  if (!defined(“XOOPS_USE_MULTIBYTES”)) {
   define(“XOOPS_USE_MULTIBYTES”, 0);
  }
***************************************************


このカテゴリの人気記事



  • コメント (0)
  • トラックバック (0)
  • 閲覧 (28337)

トラックバック

トラックバックpingアドレス http://www.suehirogari.com/modules/blog/tb.php/253

コメントの投稿

コメント投稿に関するルール : コメントは全て承認が必要

キーワードでサイト内を検索
人気のエントリ