( ! ) Strict standards: Redefining already defined constructor for class wpdb in /usr/home0/kotat3/virtual_html/lab/wp-includes/wp-db.php on line 52
Call Stack
#TimeMemoryFunctionLocation
10.0001232256{main}( ).../index.php:0
20.0003242208require( '/usr/home0/kotat3/virtual_html/lab/wp-blog-header.php' ).../index.php:4
30.0003249384require_once( '/usr/home0/kotat3/virtual_html/lab/wp-config.php' ).../wp-blog-header.php:17
40.0010368064require_once( '/usr/home0/kotat3/virtual_html/lab/wp-settings.php' ).../wp-config.php:25

( ! ) Deprecated: Assigning the return value of new by reference is deprecated in /usr/home0/kotat3/virtual_html/lab/wp-includes/cache.php on line 36
Call Stack
#TimeMemoryFunctionLocation
10.0001232256{main}( ).../index.php:0
20.0003242208require( '/usr/home0/kotat3/virtual_html/lab/wp-blog-header.php' ).../index.php:4
30.0003249384require_once( '/usr/home0/kotat3/virtual_html/lab/wp-config.php' ).../wp-blog-header.php:17
40.0010368064require_once( '/usr/home0/kotat3/virtual_html/lab/wp-settings.php' ).../wp-config.php:25

( ! ) Strict standards: Redefining already defined constructor for class WP_Object_Cache in /usr/home0/kotat3/virtual_html/lab/wp-includes/cache.php on line 389
Call Stack
#TimeMemoryFunctionLocation
10.0001232256{main}( ).../index.php:0
20.0003242208require( '/usr/home0/kotat3/virtual_html/lab/wp-blog-header.php' ).../index.php:4
30.0003249384require_once( '/usr/home0/kotat3/virtual_html/lab/wp-config.php' ).../wp-blog-header.php:17
40.0010368064require_once( '/usr/home0/kotat3/virtual_html/lab/wp-settings.php' ).../wp-config.php:25

( ! ) Strict standards: Declaration of Walker_Page::start_lvl() should be compatible with Walker::start_lvl($output) in /usr/home0/kotat3/virtual_html/lab/wp-includes/classes.php on line 537
Call Stack
#TimeMemoryFunctionLocation
10.0001232256{main}( ).../index.php:0
20.0003242208require( '/usr/home0/kotat3/virtual_html/lab/wp-blog-header.php' ).../index.php:4
30.0003249384require_once( '/usr/home0/kotat3/virtual_html/lab/wp-config.php' ).../wp-blog-header.php:17
40.0010368064require_once( '/usr/home0/kotat3/virtual_html/lab/wp-settings.php' ).../wp-config.php:25

( ! ) Strict standards: Declaration of Walker_Page::end_lvl() should be compatible with Walker::end_lvl($output) in /usr/home0/kotat3/virtual_html/lab/wp-includes/classes.php on line 537
Call Stack
#TimeMemoryFunctionLocation
10.0001232256{main}( ).../index.php:0
20.0003242208require( '/usr/home0/kotat3/virtual_html/lab/wp-blog-header.php' ).../index.php:4
30.0003249384require_once( '/usr/home0/kotat3/virtual_html/lab/wp-config.php' ).../wp-blog-header.php:17
40.0010368064require_once( '/usr/home0/kotat3/virtual_html/lab/wp-settings.php' ).../wp-config.php:25

( ! ) Strict standards: Declaration of Walker_Page::start_el() should be compatible with Walker::start_el($output) in /usr/home0/kotat3/virtual_html/lab/wp-includes/classes.php on line 537
Call Stack
#TimeMemoryFunctionLocation
10.0001232256{main}( ).../index.php:0
20.0003242208require( '/usr/home0/kotat3/virtual_html/lab/wp-blog-header.php' ).../index.php:4
30.0003249384require_once( '/usr/home0/kotat3/virtual_html/lab/wp-config.php' ).../wp-blog-header.php:17
40.0010368064require_once( '/usr/home0/kotat3/virtual_html/lab/wp-settings.php' ).../wp-config.php:25

( ! ) Strict standards: Declaration of Walker_Page::end_el() should be compatible with Walker::end_el($output) in /usr/home0/kotat3/virtual_html/lab/wp-includes/classes.php on line 537
Call Stack
#TimeMemoryFunctionLocation
10.0001232256{main}( ).../index.php:0
20.0003242208require( '/usr/home0/kotat3/virtual_html/lab/wp-blog-header.php' ).../index.php:4
30.0003249384require_once( '/usr/home0/kotat3/virtual_html/lab/wp-config.php' ).../wp-blog-header.php:17
40.0010368064require_once( '/usr/home0/kotat3/virtual_html/lab/wp-settings.php' ).../wp-config.php:25

( ! ) Strict standards: Declaration of Walker_PageDropdown::start_el() should be compatible with Walker::start_el($output) in /usr/home0/kotat3/virtual_html/lab/wp-includes/classes.php on line 556
Call Stack
#TimeMemoryFunctionLocation
10.0001232256{main}( ).../index.php:0
20.0003242208require( '/usr/home0/kotat3/virtual_html/lab/wp-blog-header.php' ).../index.php:4
30.0003249384require_once( '/usr/home0/kotat3/virtual_html/lab/wp-config.php' ).../wp-blog-header.php:17
40.0010368064require_once( '/usr/home0/kotat3/virtual_html/lab/wp-settings.php' ).../wp-config.php:25

( ! ) Strict standards: Declaration of Walker_Category::start_lvl() should be compatible with Walker::start_lvl($output) in /usr/home0/kotat3/virtual_html/lab/wp-includes/classes.php on line 653
Call Stack
#TimeMemoryFunctionLocation
10.0001232256{main}( ).../index.php:0
20.0003242208require( '/usr/home0/kotat3/virtual_html/lab/wp-blog-header.php' ).../index.php:4
30.0003249384require_once( '/usr/home0/kotat3/virtual_html/lab/wp-config.php' ).../wp-blog-header.php:17
40.0010368064require_once( '/usr/home0/kotat3/virtual_html/lab/wp-settings.php' ).../wp-config.php:25

( ! ) Strict standards: Declaration of Walker_Category::end_lvl() should be compatible with Walker::end_lvl($output) in /usr/home0/kotat3/virtual_html/lab/wp-includes/classes.php on line 653
Call Stack
#TimeMemoryFunctionLocation
10.0001232256{main}( ).../index.php:0
20.0003242208require( '/usr/home0/kotat3/virtual_html/lab/wp-blog-header.php' ).../index.php:4
30.0003249384require_once( '/usr/home0/kotat3/virtual_html/lab/wp-config.php' ).../wp-blog-header.php:17
40.0010368064require_once( '/usr/home0/kotat3/virtual_html/lab/wp-settings.php' ).../wp-config.php:25

( ! ) Strict standards: Declaration of Walker_Category::start_el() should be compatible with Walker::start_el($output) in /usr/home0/kotat3/virtual_html/lab/wp-includes/classes.php on line 653
Call Stack
#TimeMemoryFunctionLocation
10.0001232256{main}( ).../index.php:0
20.0003242208require( '/usr/home0/kotat3/virtual_html/lab/wp-blog-header.php' ).../index.php:4
30.0003249384require_once( '/usr/home0/kotat3/virtual_html/lab/wp-config.php' ).../wp-blog-header.php:17
40.0010368064require_once( '/usr/home0/kotat3/virtual_html/lab/wp-settings.php' ).../wp-config.php:25

( ! ) Strict standards: Declaration of Walker_Category::end_el() should be compatible with Walker::end_el($output) in /usr/home0/kotat3/virtual_html/lab/wp-includes/classes.php on line 653
Call Stack
#TimeMemoryFunctionLocation
10.0001232256{main}( ).../index.php:0
20.0003242208require( '/usr/home0/kotat3/virtual_html/lab/wp-blog-header.php' ).../index.php:4
30.0003249384require_once( '/usr/home0/kotat3/virtual_html/lab/wp-config.php' ).../wp-blog-header.php:17
40.0010368064require_once( '/usr/home0/kotat3/virtual_html/lab/wp-settings.php' ).../wp-config.php:25

( ! ) Strict standards: Declaration of Walker_CategoryDropdown::start_el() should be compatible with Walker::start_el($output) in /usr/home0/kotat3/virtual_html/lab/wp-includes/classes.php on line 678
Call Stack
#TimeMemoryFunctionLocation
10.0001232256{main}( ).../index.php:0
20.0003242208require( '/usr/home0/kotat3/virtual_html/lab/wp-blog-header.php' ).../index.php:4
30.0003249384require_once( '/usr/home0/kotat3/virtual_html/lab/wp-config.php' ).../wp-blog-header.php:17
40.0010368064require_once( '/usr/home0/kotat3/virtual_html/lab/wp-settings.php' ).../wp-config.php:25

( ! ) Deprecated: Assigning the return value of new by reference is deprecated in /usr/home0/kotat3/virtual_html/lab/wp-includes/query.php on line 21
Call Stack
#TimeMemoryFunctionLocation
10.0001232256{main}( ).../index.php:0
20.0003242208require( '/usr/home0/kotat3/virtual_html/lab/wp-blog-header.php' ).../index.php:4
30.0003249384require_once( '/usr/home0/kotat3/virtual_html/lab/wp-config.php' ).../wp-blog-header.php:17
40.0010368064require_once( '/usr/home0/kotat3/virtual_html/lab/wp-settings.php' ).../wp-config.php:25

( ! ) Deprecated: Assigning the return value of new by reference is deprecated in /usr/home0/kotat3/virtual_html/lab/wp-includes/theme.php on line 508
Call Stack
#TimeMemoryFunctionLocation
10.0001232256{main}( ).../index.php:0
20.0003242208require( '/usr/home0/kotat3/virtual_html/lab/wp-blog-header.php' ).../index.php:4
30.0003249384require_once( '/usr/home0/kotat3/virtual_html/lab/wp-config.php' ).../wp-blog-header.php:17
40.0010368064require_once( '/usr/home0/kotat3/virtual_html/lab/wp-settings.php' ).../wp-config.php:25
2008 2月
2月 14

( ! ) Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /usr/home0/kotat3/virtual_html/lab/wp-includes/formatting.php on line 74
Call Stack
#TimeMemoryFunctionLocation
10.0001232256{main}( ).../index.php:0
20.0003242208require( '/usr/home0/kotat3/virtual_html/lab/wp-blog-header.php' ).../index.php:4
30.25527307352require_once( '/usr/home0/kotat3/virtual_html/lab/wp-includes/template-loader.php' ).../wp-blog-header.php:22
40.25557320352include( '/usr/home0/kotat3/virtual_html/lab/wp-content/themes/itheme-1-1/index.php' ).../template-loader.php:56
50.26277369688the_content( ).../index.php:16
60.26297375688apply_filters( ).../post-template.php:55
70.26407381472call_user_func_array:{/usr/home0/kotat3/virtual_html/lab/wp-includes/plugin.php:57} ( ).../plugin.php:57
80.26407381704wpautop( ).../plugin.php:57
90.26457390584preg_replace ( ).../formatting.php:74

WordPress1日目。
早くも問題発生。
どういうわけだか、改行ができない!

とりあえず動作検証してみる

なにはともあれ、まずは動作検証。

WordPress改行テスト1

まず、「ビジュアルエディタ」で改行付きの文字列を入力する。
きちんと改行されたのを確認したら、今度は「コード」タブをクリック。
コードエディタに切り替える。

WordPress改行テスト2

コードエディタの画面。
すでに改行が消えてて、かなりあやしい。
ここで、「ビジュアル」をクリックし、ビジュアルエディタに切り替えてみると・・・。

WordPress改行テスト3

さっきの入力から改行がきれいさっぱり消えているのがわかる。

できない。できない。できない。

とにかく改行ができない。
どうやってもできない。

保存するときや、ビジュアルエディタ⇔コードエディタの切り替え時にいつのまにか改行が消えてしまうようだ。
ビジュアルエディタで入力した改行は、さっきのケースみたいにコードエディタに切り替えると消えてしまう。
そればかりか、コードエディタで<p>タグや<br />タグを直接書き込んでも、ビジュアルエディタに切り替えるとすっかり消え去っていた。

まだ使いこなすには時間がかかりそうだ。

2月 12

( ! ) Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /usr/home0/kotat3/virtual_html/lab/wp-includes/formatting.php on line 74
Call Stack
#TimeMemoryFunctionLocation
10.0001232256{main}( ).../index.php:0
20.0003242208require( '/usr/home0/kotat3/virtual_html/lab/wp-blog-header.php' ).../index.php:4
30.25527307352require_once( '/usr/home0/kotat3/virtual_html/lab/wp-includes/template-loader.php' ).../wp-blog-header.php:22
40.25557320352include( '/usr/home0/kotat3/virtual_html/lab/wp-content/themes/itheme-1-1/index.php' ).../template-loader.php:56
50.26617367976the_content( ).../index.php:16
60.26617370816apply_filters( ).../post-template.php:55
70.26667374816call_user_func_array:{/usr/home0/kotat3/virtual_html/lab/wp-includes/plugin.php:57} ( ).../plugin.php:57
80.26667374848wpautop( ).../plugin.php:57
90.26697380632preg_replace ( ).../formatting.php:74

WordPressを使うことに決めたものの、
ややこしいことに、WordPressにはいくつかの種類があるらしい。
どんなものがあるのか、とりあえず調べてみる。


本家のWordPress

まずは本家のWordPress。
当然、英語。管理画面やエラーメッセージがすべて英語。英語。英語。
とはいえ、blog本体はUTF-8なので日本語の表示事態はOK。

WordPress日本語版  

2つめが、WordPress日本語版 。
管理画面やエラーメッセージを日本語に翻訳してあるだけで、
WordPress自体に手は入っていないとのこと。

WordPress ME

3つめがWordPress ME。管理画面やメッセージを日本語にするだけじゃなくて、WordPressに日本語入出力用の改造をしたもの。改造が入っているので、本家がバージョンアップした後も、リリースまで間が空くことも。


日本語に強いのはWordPress MEのようなので、とりあえずWordPress MEを採用することに。
これ以外にも、プロバイダ向けのWordPress MUなんていうのもあるらしい。   

2月 12

( ! ) Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /usr/home0/kotat3/virtual_html/lab/wp-includes/formatting.php on line 74
Call Stack
#TimeMemoryFunctionLocation
10.0001232256{main}( ).../index.php:0
20.0003242208require( '/usr/home0/kotat3/virtual_html/lab/wp-blog-header.php' ).../index.php:4
30.25527307352require_once( '/usr/home0/kotat3/virtual_html/lab/wp-includes/template-loader.php' ).../wp-blog-header.php:22
40.25557320352include( '/usr/home0/kotat3/virtual_html/lab/wp-content/themes/itheme-1-1/index.php' ).../template-loader.php:56
50.36827367976the_content( ).../index.php:16
60.36827369256apply_filters( ).../post-template.php:55
70.36867371696call_user_func_array:{/usr/home0/kotat3/virtual_html/lab/wp-includes/plugin.php:57} ( ).../plugin.php:57
80.36867371728wpautop( ).../plugin.php:57
90.36877374368preg_replace ( ).../formatting.php:74

 サイト構築にあたって、まずはCMSを選ぶ。まずはネットや書籍で調査。 blogに特化したCMSとしては次の3つが有名らしい。 

  • MovableType
  • Nucleus
  • WordPress

MovableTypeとNucleusは知っていたけど、WordPress知らない。 blog用のCMSといえば、MovableTypeが代表格・・・というのは昔の話。今の主流はWordPressらしい。ライセンス的にも面倒くさくなさそうだし、WordPressを採用することに決定! 

2月 11

( ! ) Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /usr/home0/kotat3/virtual_html/lab/wp-includes/formatting.php on line 74
Call Stack
#TimeMemoryFunctionLocation
10.0001232256{main}( ).../index.php:0
20.0003242208require( '/usr/home0/kotat3/virtual_html/lab/wp-blog-header.php' ).../index.php:4
30.25527307352require_once( '/usr/home0/kotat3/virtual_html/lab/wp-includes/template-loader.php' ).../wp-blog-header.php:22
40.25557320352include( '/usr/home0/kotat3/virtual_html/lab/wp-content/themes/itheme-1-1/index.php' ).../template-loader.php:56
50.37017367976the_content( ).../index.php:16
60.37017369056apply_filters( ).../post-template.php:55
70.37027371296call_user_func_array:{/usr/home0/kotat3/virtual_html/lab/wp-includes/plugin.php:57} ( ).../plugin.php:57
80.37027371328wpautop( ).../plugin.php:57
90.37037373552preg_replace ( ).../formatting.php:74

プログラミングとかシステム管理とか、趣味に仕事にいろいろ触ることが多くなってきたので、メモ書きを残しておこうということで、blogサイトを作ることにする。基本的には、世界に向けて発信するというより自分のメモ用。 お暇ならつきあっていただけると幸いです。