昨日からJoomlaで作成したホームページのアクセスが激減していた。
原因を探るためにWebmaster Toolsをアクセスするとサイトマップがエラーになっている。
それで、ホームページにアクセスしてみると、ページが表示されない。
そして以下のようなエラーメッセージが表示された。
ーーーーーーーーーーーーーーーーーーーーーーーー
jtablesession::store failed
DB function failed with error number 145
Table './tsuzuki/jos_session' is marked as crashed and should be repaired SQL=INSERT INTO `jos_session` ( `session_id`,`time`,`username`,`gid`,`guest`,`client_id` ) VALUES ( 'e5228199b77a14daf86256f9fc4bdedc','1324414318','','0','1','0' )
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 35 bytes) in /home/rslitefc2/users/tsuzuki/public_html/joomla/libraries/joomla/error/exception.php on line 117
-------------------------
ディスクがいっぱいになったのかと思ったが結果的にはまだ十分容量はあった。
Web検索をするとJoomlaで同じようなトラブルが報告されている。
最初に見つかった報告ではjos_sessionというテーブルを復旧という記述があったが、
phpMyadminにはそんな項目はない。
他の投稿を調べるとJoomlaのサポートのブログに同じようなレポートがあったが、
その中に以下のような記述があった。
-------------------------------
http://forum.joomla.org/viewtopic.php?f=428&t=283209&start=0&st=0&sk=t&sd=a
Using phpMyAdmin - 2.10.0.1 in my host's Control Panel, I found no 'table repair' option as advised by pe7er so I simply clicked on jos_session in the table list on the left and then clicked on the 'Empty' tab at the top above the table's list of fields.
I then tried the website again and voila!, problem resolved.
b.t.w - no idea why this happended.
------------------------------
私の場合phpMyadminは日本語なのでEmptyではなく空にするというのがみつかったので、
jos=sessionをクリックして「空にする」を実行した。
これでホームページは無事アクセスできるようになった。
サイトマップも設定はそのままで、チェックを入れて再送信を行ったところ無事インデックスされた。

私の使用しているシステムのバージョンは以下の通り。
- システム情報データベースバージョン: 5.1.33-log
- PHPバージョン: 5.2.9
- ウェブサーバー: Apache
- PHP インターフェイス:apache2handler
- Joomla! バージョン:Joomla! 1.5.16 Stable






