システム管理をアップデートしたらほとんど何も表示されなくなりました
投稿者: yoji | 投稿日時: 2009-5-18 18:38 | 閲覧: 6471回
時々ユーザーメニューの「管理者メニュー」が表示されなくなったのですが、「システム管理」モジュールをアップデートすれば直っていたので、それをしました。
するとホームページの表示がヘッダーとフッターのみとなり、管理メニューも白紙になってしまいました。
いったいどうすればいいのでしょうか?
xoops2.0.16aのためのモジュールのアップデートファイルがなくなったのでしょうか?
どなたかご存じの方は教えてください。
よろしくお願いいたします。
コメント(9)
新しいものから |
古いものから |
ネスト表示 |
Re: システム管理をアップデートしたらほとんど何も表示されなくなりました
投稿者: yoji | 投稿日時: 2009-5-18 19:11
いまホームページを確認したら、だいぶモジュールは戻っていました。ただし、「メインメニュー」と「ユーザーメニュー」が表示されません。
URLを直接入れて管理ページに行くと白紙なので、何も操作できません。
「module」の「system」ファイルをftpで入れ直しても平気でしょうか?
ちなみにサイトはこちらです。
http://www.tokyoworkshop.com/
引用:
時々ユーザーメニューの「管理者メニュー」が表示されなくなったのですが、「システム管理」モジュールをアップデートすれば直っていたので、それをしました。
するとホームページの表示がヘッダーとフッターのみとなり、管理メニューも白紙になってしまいました。
いったいどうすればいいのでしょうか?
xoops2.0.16aのためのモジュールのアップデートファイルがなくなったのでしょうか?
どなたかご存じの方は教えてください。
よろしくお願いいたします。
Re: システム管理をアップデートしたらほとんど何も表示されなくなりました
tokyoworkshopのadmin.phpに行くと、前にも書いたとおり白紙ですが、ソースを調べるとこれだけが書かれています。
<!DOCTYPE html PUBLIC '//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
<head>
<meta http-equiv="content-type" content="text/html; charset=EUC-JP" />
<meta http-equiv="content-language" content="ja" />
<title>Tokyo workshop Administration</title>
<script type="text/javascript" src="http://www.tokyoworkshop.com/include/xoops.js"></script>
<link rel="stylesheet" type="text/css" media="all" href="http://www.tokyoworkshop.com/xoops.css" /><link rel="stylesheet" type="text/css" media="all" href="http://www.tokyoworkshop.com/modules/system/style.css" />
あとは何も表示されていません。
admin.phpを書き換えても意味がなさそうですが、どうすればいいのかご存じの方はぜひ教えてください。
よろしくお願いいたします。
引用:
いまホームページを確認したら、だいぶモジュールは戻っていました。ただし、「メインメニュー」と「ユーザーメニュー」が表示されません。
URLを直接入れて管理ページに行くと白紙なので、何も操作できません。
「module」の「system」ファイルをftpで入れ直しても平気でしょうか?
ちなみにサイトはこちらです。
http://www.tokyoworkshop.com/
引用:時々ユーザーメニューの「管理者メニュー」が表示されなくなったのですが、「システム管理」モジュールをアップデートすれば直っていたので、それをしました。
するとホームページの表示がヘッダーとフッターのみとなり、管理メニューも白紙になってしまいました。
いったいどうすればいいのでしょうか?
xoops2.0.16aのためのモジュールのアップデートファイルがなくなったのでしょうか?
どなたかご存じの方は教えてください。
よろしくお願いいたします。
Re: システム管理をアップデートしたらほとんど何も表示されなくなりました
まずは真っ白の場合には取るべき方法がありますので、
「真っ白 common.php error_reporting」
等で当サイトにて検索を行ってください。検索結果にある対処方法を
行うと、何らかのエラーメッセージ等が表示される場合があると思います。
引用:
tokyoworkshopのadmin.phpに行くと、前にも書いたとおり白紙ですが、ソースを調べるとこれだけが書かれています。
<!DOCTYPE html PUBLIC '//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
<head>
<meta http-equiv="content-type" content="text/html; charset=EUC-JP" />
<meta http-equiv="content-language" content="ja" />
<title>Tokyo workshop Administration</title>
<script type="text/javascript" src="http://www.tokyoworkshop.com/include/xoops.js"></script>
<link rel="stylesheet" type="text/css" media="all" href="http://www.tokyoworkshop.com/xoops.css" /><link rel="stylesheet" type="text/css" media="all" href="http://www.tokyoworkshop.com/modules/system/style.css" />
あとは何も表示されていません。
admin.phpを書き換えても意味がなさそうですが、どうすればいいのかご存じの方はぜひ教えてください。
よろしくお願いいたします。
引用:いまホームページを確認したら、だいぶモジュールは戻っていました。ただし、「メインメニュー」と「ユーザーメニュー」が表示されません。
URLを直接入れて管理ページに行くと白紙なので、何も操作できません。
「module」の「system」ファイルをftpで入れ直しても平気でしょうか?
ちなみにサイトはこちらです。
http://www.tokyoworkshop.com/
引用:時々ユーザーメニューの「管理者メニュー」が表示されなくなったのですが、「システム管理」モジュールをアップデートすれば直っていたので、それをしました。
するとホームページの表示がヘッダーとフッターのみとなり、管理メニューも白紙になってしまいました。
いったいどうすればいいのでしょうか?
xoops2.0.16aのためのモジュールのアップデートファイルがなくなったのでしょうか?
どなたかご存じの方は教えてください。
よろしくお願いいたします。
Re: システム管理をアップデートしたらほとんど何も表示されなくなりました
モジュールファイルのなかのシステムファイルを上書きしてみましたが、変化がありません。
ソースを表示させると、下と何ら変わりがありませんでした。
引用:
tokyoworkshopのadmin.phpに行くと、前にも書いたとおり白紙ですが、ソースを調べるとこれだけが書かれています。
<!DOCTYPE html PUBLIC '//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
<head>
<meta http-equiv="content-type" content="text/html; charset=EUC-JP" />
<meta http-equiv="content-language" content="ja" />
<title>Tokyo workshop Administration</title>
<script type="text/javascript" src="http://www.tokyoworkshop.com/include/xoops.js"></script>
<link rel="stylesheet" type="text/css" media="all" href="http://www.tokyoworkshop.com/xoops.css" /><link rel="stylesheet" type="text/css" media="all" href="http://www.tokyoworkshop.com/modules/system/style.css" />
あとは何も表示されていません。
admin.phpを書き換えても意味がなさそうですが、どうすればいいのかご存じの方はぜひ教えてください。
よろしくお願いいたします。
引用:いまホームページを確認したら、だいぶモジュールは戻っていました。ただし、「メインメニュー」と「ユーザーメニュー」が表示されません。
URLを直接入れて管理ページに行くと白紙なので、何も操作できません。
「module」の「system」ファイルをftpで入れ直しても平気でしょうか?
ちなみにサイトはこちらです。
http://www.tokyoworkshop.com/
引用:時々ユーザーメニューの「管理者メニュー」が表示されなくなったのですが、「システム管理」モジュールをアップデートすれば直っていたので、それをしました。
するとホームページの表示がヘッダーとフッターのみとなり、管理メニューも白紙になってしまいました。
いったいどうすればいいのでしょうか?
xoops2.0.16aのためのモジュールのアップデートファイルがなくなったのでしょうか?
どなたかご存じの方は教えてください。
よろしくお願いいたします。
Re: システム管理をアップデートしたらほとんど何も表示されなくなりました
onokazuさん、ご返信ありがとうございます。
こちらに書かれているようにやってみました。
http://xoopscube.jp/modules/newbb/viewtopic.php?post_id=51517&topic_id=10738&forum=15#forumpost51517
すると「Parse error: syntax error, unexpected $end in /virtual/tsuna/public_html/cache/adminmenu.php on line 193」と表示されました。
そこで「adminmenu.php」のファイルを取り出して見ると、193行の途中でコードが切れているようです。
これを再生すべく、以前にダウンロードした「xoops-2.0.16a-jp」のファイルを見ると「cache」ファイルのなかには「index.html」ファイルしかありません。
エラーメッセージをこのサイトで検索したのですが、表示されません。
「adminmenu.php」の193行目は以下のようになっています。
「<img src='".XOOPS_URL."/images/pointer.gif' widt」
そしてこの行以下はありません。
この先は手が出ません。このあとをどうすればいいか教えてください。
よろしくお願いいたします。
引用:
まずは真っ白の場合には取るべき方法がありますので、
「真っ白 common.php error_reporting」
等で当サイトにて検索を行ってください。検索結果にある対処方法を
行うと、何らかのエラーメッセージ等が表示される場合があると思います。
引用:tokyoworkshopのadmin.phpに行くと、前にも書いたとおり白紙ですが、ソースを調べるとこれだけが書かれています。
<!DOCTYPE html PUBLIC '//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja">
<head>
<meta http-equiv="content-type" content="text/html; charset=EUC-JP" />
<meta http-equiv="content-language" content="ja" />
<title>Tokyo workshop Administration</title>
<script type="text/javascript" src="http://www.tokyoworkshop.com/include/xoops.js"></script>
<link rel="stylesheet" type="text/css" media="all" href="http://www.tokyoworkshop.com/xoops.css" /><link rel="stylesheet" type="text/css" media="all" href="http://www.tokyoworkshop.com/modules/system/style.css" />
あとは何も表示されていません。
admin.phpを書き換えても意味がなさそうですが、どうすればいいのかご存じの方はぜひ教えてください。
よろしくお願いいたします。
引用:いまホームページを確認したら、だいぶモジュールは戻っていました。ただし、「メインメニュー」と「ユーザーメニュー」が表示されません。
URLを直接入れて管理ページに行くと白紙なので、何も操作できません。
「module」の「system」ファイルをftpで入れ直しても平気でしょうか?
ちなみにサイトはこちらです。
http://www.tokyoworkshop.com/
引用:時々ユーザーメニューの「管理者メニュー」が表示されなくなったのですが、「システム管理」モジュールをアップデートすれば直っていたので、それをしました。
するとホームページの表示がヘッダーとフッターのみとなり、管理メニューも白紙になってしまいました。
いったいどうすればいいのでしょうか?
xoops2.0.16aのためのモジュールのアップデートファイルがなくなったのでしょうか?
どなたかご存じの方は教えてください。
よろしくお願いいたします。
Re: システム管理をアップデートしたらほとんど何も表示されなくなりました
Re: システム管理をアップデートしたらほとんど何も表示されなくなりました
ご返信ありがとうございます。
adminmenu.phpを別の名前に書き換えて、管理画面にアクセスしたら、画面が現れ、ほぼ復旧しました。
サイトのトップページに行くと「メインメニュー」と「ユーザーメニュー」の中身が表示されません。タイトルの部分だけが表示されます。
そこで、管理画面に行き、「PHPデバグ」をオンにしてみました。
するとトップページの下に以下のような表示が現れました。
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 278
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 119
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
最初の二行が問題なのではないかと思います。
そこで、「system_blocks.php」を取り出して、問題の行を見てみました。
278行目
$newmembers =& $member_handler->getUsers($criteria);
119行目
$read_allowed =& $moduleperm_handler->getItemIds('module_read', $groups);
この先はどうすればいいのかわからないので、とりあえず管理メニューの「モジュール管理」をクリックして、再度「システム管理」のモジュールをアップデートしてみました。ヒヤヒヤしましたが、トップページの「メインメニュー」と「ユーザーメニュー」は表示されるようになりました。
これでいいだろうと思い、「PHPデバグ」をオフにしたのですが、トップページの下に以下の表示が出てきます。
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 278
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 119
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
ログアウトしても、この表示が消えません。
この先はどうすればいいのか教えてください。
何度もすみません。
よろしくお願いいたします。
引用:
正常であればadminmenu.phpは削除しても管理画面へとアクセスすると再度作成されるはずです。念のため、現在のadminmenu.phpのファイル名を変更して管理画面へとアクセスしてみてはいかがでしょう。
Re: システム管理をアップデートしたらほとんど何も表示されなくなりました
前の書き込みを送信していま気づいたのですが、システム設定メイン>一般設定 のページの一番下に以下の表示がなされています。
Notice [PHP]: Only variables should be assigned by reference in file modules/system/admin.php line 81
admin.phpの81行目には以下のように書かれています。
$groups =& $xoopsUser->getGroups();
ご教授よろしくお願いいたします。
引用:
ご返信ありがとうございます。
adminmenu.phpを別の名前に書き換えて、管理画面にアクセスしたら、画面が現れ、ほぼ復旧しました。
サイトのトップページに行くと「メインメニュー」と「ユーザーメニュー」の中身が表示されません。タイトルの部分だけが表示されます。
そこで、管理画面に行き、「PHPデバグ」をオンにしてみました。
するとトップページの下に以下のような表示が現れました。
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 278
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 119
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
最初の二行が問題なのではないかと思います。
そこで、「system_blocks.php」を取り出して、問題の行を見てみました。
278行目
$newmembers =& $member_handler->getUsers($criteria);
119行目
$read_allowed =& $moduleperm_handler->getItemIds('module_read', $groups);
この先はどうすればいいのかわからないので、とりあえず管理メニューの「モジュール管理」をクリックして、再度「システム管理」のモジュールをアップデートしてみました。ヒヤヒヤしましたが、トップページの「メインメニュー」と「ユーザーメニュー」は表示されるようになりました。
これでいいだろうと思い、「PHPデバグ」をオフにしたのですが、トップページの下に以下の表示が出てきます。
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 278
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 119
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
ログアウトしても、この表示が消えません。
この先はどうすればいいのか教えてください。
何度もすみません。
よろしくお願いいたします。
引用:正常であればadminmenu.phpは削除しても管理画面へとアクセスすると再度作成されるはずです。念のため、現在のadminmenu.phpのファイル名を変更して管理画面へとアクセスしてみてはいかがでしょう。
Re: システム管理をアップデートしたらほとんど何も表示されなくなりました
include/common.php ファイルを元に戻したら直りました。
onokazuさん、ご教授ありがとうございました。
引用:
前の書き込みを送信していま気づいたのですが、システム設定メイン>一般設定 のページの一番下に以下の表示がなされています。
Notice [PHP]: Only variables should be assigned by reference in file modules/system/admin.php line 81
admin.phpの81行目には以下のように書かれています。
$groups =& $xoopsUser->getGroups();
ご教授よろしくお願いいたします。
引用:ご返信ありがとうございます。
adminmenu.phpを別の名前に書き換えて、管理画面にアクセスしたら、画面が現れ、ほぼ復旧しました。
サイトのトップページに行くと「メインメニュー」と「ユーザーメニュー」の中身が表示されません。タイトルの部分だけが表示されます。
そこで、管理画面に行き、「PHPデバグ」をオンにしてみました。
するとトップページの下に以下のような表示が現れました。
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 278
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 119
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
最初の二行が問題なのではないかと思います。
そこで、「system_blocks.php」を取り出して、問題の行を見てみました。
278行目
$newmembers =& $member_handler->getUsers($criteria);
119行目
$read_allowed =& $moduleperm_handler->getItemIds('module_read', $groups);
この先はどうすればいいのかわからないので、とりあえず管理メニューの「モジュール管理」をクリックして、再度「システム管理」のモジュールをアップデートしてみました。ヒヤヒヤしましたが、トップページの「メインメニュー」と「ユーザーメニュー」は表示されるようになりました。
これでいいだろうと思い、「PHPデバグ」をオフにしたのですが、トップページの下に以下の表示が出てきます。
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 278
Notice [PHP]: Only variables should be assigned by reference in file modules/system/blocks/system_blocks.php line 119
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/include/functions.php line 9
Notice [PHP]: Only variable references should be returned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 170
Notice [PHP]: Only variables should be assigned by reference in file modules/xoopsheadline/class/headlinerenderer.php line 140
ログアウトしても、この表示が消えません。
この先はどうすればいいのか教えてください。
何度もすみません。
よろしくお願いいたします。
引用:正常であればadminmenu.phpは削除しても管理画面へとアクセスすると再度作成されるはずです。念のため、現在のadminmenu.phpのファイル名を変更して管理画面へとアクセスしてみてはいかがでしょう。


