d3blogを1.02→1.05へバージョンアップしたら、画面真っ白になった。
慌てて、PHPデバッグモードを有効にした。
<pre class="code"><code>
This page cannot be displayed due to an internal error.
If you are the administrator of this site, please visit the XOOPS Cube Project Site for assistance.
Notice [PHP]: Undefined index: com_agent in file /XOOPS_TRUST_PATH/modules/d3blog/class/global.class.php(84) : eval()'d code line 68
Warning [PHP]: opendir() [function.opendir]: Unable to access /XOOPS_ROOT/modules/d3blog/images/caticon in file class/xoopslists.php line 113
Warning [PHP]: opendir(/XOOPS_ROOT/modules/d3blog/images/caticon) [function.opendir]: failed to open dir: ���Τ褦�ʥե������ǥ��쥯�ȥ�Ϥ���ޤ��� in file class/xoopslists.php line 113
Error [Xoops]: Smarty error: [in db:d3blog_main_index.html line 17]: [plugin] modifier 'xoops_pagenavi_markup' is not implemented (core.load_plugins.php, line 118) in file class/smarty/Smarty.class.php line 1092</pre></code>
「Error」以外の「Notice」や「Warning」は、今回の画面真っ白とは、直接関係ない。ただの警告。 <br />
<br />
▼直接的な原因 <br />
/XOOPS_TRUST_PATH/libs/smartyplugins/modifier.xoops_pagenavi_markup.phpをアップロードしていないため <br />
<br />
▼間接的な原因 <br />
ディストリ依存(モジュール配布物をそのままアップロードするだけでは対応できない場合もある意)モジュールなのに、配布物のextra内容を考慮しなかったため。<br />
<br />
>ダウンロードしたd3blogが弊サイトからでしたらroot側class/smarty/plugins、HDでしたらtrust側lib/s /smartypluginsにあります <br />
HDしか触っていないため、よく分からないが、modifier.xoops_pagenavi_markup.phpについては、恐らく、HDかどうかでアップロード先が異なるのではないかと思われる。そのため、extraに入れて配布せざるを得ないと…。しかし、そんなことにまったく気付かず、extra内容を考慮せずに、バージョンアップしようとしたことが原因(だと思う)。 <br />
▼Hodakaの居場所»フォーラム»画面が真っ白に<br />
http://www.kuri3.net/modules/newbb/viewtopic.php?topic_id=409&forum=13
慌てて、PHPデバッグモードを有効にした。
<pre class="code"><code>
This page cannot be displayed due to an internal error.
If you are the administrator of this site, please visit the XOOPS Cube Project Site for assistance.
Notice [PHP]: Undefined index: com_agent in file /XOOPS_TRUST_PATH/modules/d3blog/class/global.class.php(84) : eval()'d code line 68
Warning [PHP]: opendir() [function.opendir]: Unable to access /XOOPS_ROOT/modules/d3blog/images/caticon in file class/xoopslists.php line 113
Warning [PHP]: opendir(/XOOPS_ROOT/modules/d3blog/images/caticon) [function.opendir]: failed to open dir: ���Τ褦�ʥե������ǥ��쥯�ȥ�Ϥ���ޤ��� in file class/xoopslists.php line 113
Error [Xoops]: Smarty error: [in db:d3blog_main_index.html line 17]: [plugin] modifier 'xoops_pagenavi_markup' is not implemented (core.load_plugins.php, line 118) in file class/smarty/Smarty.class.php line 1092</pre></code>
「Error」以外の「Notice」や「Warning」は、今回の画面真っ白とは、直接関係ない。ただの警告。 <br />
<br />
▼直接的な原因 <br />
/XOOPS_TRUST_PATH/libs/smartyplugins/modifier.xoops_pagenavi_markup.phpをアップロードしていないため <br />
<br />
▼間接的な原因 <br />
ディストリ依存(モジュール配布物をそのままアップロードするだけでは対応できない場合もある意)モジュールなのに、配布物のextra内容を考慮しなかったため。<br />
<br />
>ダウンロードしたd3blogが弊サイトからでしたらroot側class/smarty/plugins、HDでしたらtrust側lib/s /smartypluginsにあります <br />
HDしか触っていないため、よく分からないが、modifier.xoops_pagenavi_markup.phpについては、恐らく、HDかどうかでアップロード先が異なるのではないかと思われる。そのため、extraに入れて配布せざるを得ないと…。しかし、そんなことにまったく気付かず、extra内容を考慮せずに、バージョンアップしようとしたことが原因(だと思う)。 <br />
▼Hodakaの居場所»フォーラム»画面が真っ白に<br />
http://www.kuri3.net/modules/newbb/viewtopic.php?topic_id=409&forum=13