A question often asked by native speakers.

A question often asked by native speakers.

Why don’t you speak English?

First, I don’t usually talk in English in Japan.
I taught myself British English when I was a child.
When I was 10 to 11 years old, an Australian came over and we used to talk a lot.
But I responded to them all in Japanese.
The last time I spoke to a native speaker was when I was 20 years old, on a school trip to Hawaii.
I do email and chat with them, but I haven’t spoken English since.
When I in primary school, I ate shortbread and drank tea at snack time.
And I had a stomachache.
I didn’t know at the time that I was lactose intolerant and that tea was not good for my body.
When I knew that, I was extremely shocked to find out that I couldn’t be British.
The Hawaiians say that a lot of my English is British English, and when I relax, I say the Aussie English.
If my father memories are correct, it seems that I was the one who had informed him of the differences in the English used by his workmates coming from Australia about a year before they visited.
I had no memory of it.

(Solved) The truth of Otsuka Corporation server falsification

Introduction

This describes a server falsification that took place at Otsuka Corporation in Japan on January 19, 2019.
This issue had been resolved, and with the appropriate settings, there is no further threat.
At that time, I worked as a company employee, but it was decided to quit my job in early November of that year.
The victim’s site appears to have been successfully reopened.

Remember, there is nothing perfect in this world, so there is always a security hole.
My opinion is that people make the system, and people use it.
Each has different ideas.
There are unlimited uses beyond what system designers expect, and the system does not always work perfectly.
Even if one system does not cause a problem, it is quite possible that another system will cause a problem.
Developers including me should not forget that.

Read more the article for 72 hours for $2.

bacerCMSのV4への移行完了

何とか終わった。

バージョンアップしたサイトは→Fermo

基本的には「nada icons」ほぼそのままなので、見た目の変更は一切無く、スマホサイトが追加されただけです。
ただ、スマホサイトのブロブ記事がどうしてもスマホサイト用に飛ばなかったので、.htaccessへ追記しました。

RewriteEngine on
RewriteBase /base
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{HTTP_USER_AGENT} (iPhone|iPod|Android.*Mobile|Windows.*Phone) [NC]
RewriteRule ^news/archives/(.*)$ s/news/archives/$1 [R,L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{HTTP_USER_AGENT} (iPhone|iPod|Android.*Mobile|Windows.*Phone) [NC]
RewriteRule ^product/archives/(.*)$ s/product/archives/$1 [R,L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php [QSA,L]

あれ?スマホサイトにコメントが表示されていない🤔
後日対応しよう。

【2019年3月11日9時27分追記】
スマホサイトのコメントは未だ解決できていません。

  • 開発環境(Windows)では出てる。
  • テスト環境(CentOS6, MySQL5.6, PHP5.6)では出ない。
  • 本番環境(ロリポップ, PHP5.6)も出てない。

それと、Androidタブレット端末はスマホサイト表示だったようなので、.htaccessを修正しました。

RewriteCond %{HTTP_USER_AGENT} (iPhone|iPod|Android|Windows.*Phone) [NC]
RewriteRule ^news/archives/(.*)$ s/news/archives/$1 [R,L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{HTTP_USER_AGENT} (iPhone|iPod|Android|Windows.*Phone) [NC]

【2019年3月11日16時32分追記】
テスト環境でデバッグモード1でアクセスしたら、

Warning (2): include(/var/www/vhosts/fermo-jp.test/public_html/base/lib/Baser/Plugin/blog/View/Elements/blog_comment.php): failed to open stream: そのようなファイルやディレクトリはありません [CORE/Baser/Plugin/Blog/View/Elements/smartphone/blog_comment.php, line 18]
Code Context
include - CORE/Baser/Plugin/Blog/View/Elements/smartphone/blog_comment.php, line 18
include - CORE/Baser/Plugin/Blog/View/Elements/smartphone/blog_comment.php, line 18
View::_evaluate() - CORE/Cake/View/View.php, line 971
BcAppView::_evaluate() - CORE/Baser/View/BcAppView.php, line 525
View::_render() - CORE/Cake/View/View.php, line 933
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
BcBaserHelper::getElement() - CORE/Baser/View/Helper/BcBaserHelper.php, line 576
BcBaserHelper::element() - CORE/Baser/View/Helper/BcBaserHelper.php, line 613
include - CORE/Baser/Plugin/Blog/View/Elements/blog_comments.php, line 32
include - CORE/Baser/Plugin/Blog/View/Elements/smartphone/blog_comments.php, line 16
View::_evaluate() - CORE/Cake/View/View.php, line 971
BcAppView::_evaluate() - CORE/Baser/View/BcAppView.php, line 525
View::_render() - CORE/Cake/View/View.php, line 933
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
BcBaserHelper::getElement() - CORE/Baser/View/Helper/BcBaserHelper.php, line 576
BcBaserHelper::element() - CORE/Baser/View/Helper/BcBaserHelper.php, line 613
Warning (2): include() [<a href='http://php.net/function.include'>function.include</a>]: Failed opening '/var/www/vhosts/fermo-jp.test/public_html/base/lib/Baser/Plugin/blog/View/Elements/blog_comment.php' for inclusion (include_path='/var/www/vhosts/fermo-jp.test/public_html/base/lib:.:/usr/share/pear:/usr/share/php') [CORE/Baser/Plugin/Blog/View/Elements/smartphone/blog_comment.php, line 18]
Code Context
include - CORE/Baser/Plugin/Blog/View/Elements/smartphone/blog_comment.php, line 18
include - CORE/Baser/Plugin/Blog/View/Elements/smartphone/blog_comment.php, line 18
View::_evaluate() - CORE/Cake/View/View.php, line 971
BcAppView::_evaluate() - CORE/Baser/View/BcAppView.php, line 525
View::_render() - CORE/Cake/View/View.php, line 933
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
BcBaserHelper::getElement() - CORE/Baser/View/Helper/BcBaserHelper.php, line 576
BcBaserHelper::element() - CORE/Baser/View/Helper/BcBaserHelper.php, line 613
include - CORE/Baser/Plugin/Blog/View/Elements/blog_comments.php, line 32
include - CORE/Baser/Plugin/Blog/View/Elements/smartphone/blog_comments.php, line 16
View::_evaluate() - CORE/Cake/View/View.php, line 971
BcAppView::_evaluate() - CORE/Baser/View/BcAppView.php, line 525
View::_render() - CORE/Cake/View/View.php, line 933
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
BcBaserHelper::getElement() - CORE/Baser/View/Helper/BcBaserHelper.php, line 576
BcBaserHelper::element() - CORE/Baser/View/Helper/BcBaserHelper.php, line 613
Warning (2): include(/var/www/vhosts/fermo-jp.test/public_html/base/lib/Baser/Plugin/blog/View/Elements/blog_comment.php) [<a href='http://php.net/function.include'>function.include</a>]: failed to open stream: そのようなファイルやディレクトリはありません [CORE/Baser/Plugin/Blog/View/Elements/smartphone/blog_comment.php, line 18]
Code Context
include - CORE/Baser/Plugin/Blog/View/Elements/smartphone/blog_comment.php, line 18
include - CORE/Baser/Plugin/Blog/View/Elements/smartphone/blog_comment.php, line 18
View::_evaluate() - CORE/Cake/View/View.php, line 971
BcAppView::_evaluate() - CORE/Baser/View/BcAppView.php, line 525
View::_render() - CORE/Cake/View/View.php, line 933
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
BcBaserHelper::getElement() - CORE/Baser/View/Helper/BcBaserHelper.php, line 576
BcBaserHelper::element() - CORE/Baser/View/Helper/BcBaserHelper.php, line 613
include - CORE/Baser/Plugin/Blog/View/Elements/blog_comments.php, line 32
include - CORE/Baser/Plugin/Blog/View/Elements/smartphone/blog_comments.php, line 16
View::_evaluate() - CORE/Cake/View/View.php, line 971
BcAppView::_evaluate() - CORE/Baser/View/BcAppView.php, line 525
View::_render() - CORE/Cake/View/View.php, line 933
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
BcBaserHelper::getElement() - CORE/Baser/View/Helper/BcBaserHelper.php, line 576
BcBaserHelper::element() - CORE/Baser/View/Helper/BcBaserHelper.php, line 613
Warning (2): include() [<a href='http://php.net/function.include'>function.include</a>]: Failed opening '/var/www/vhosts/fermo-jp.test/public_html/base/lib/Baser/Plugin/blog/View/Elements/blog_comment.php' for inclusion (include_path='/var/www/vhosts/fermo-jp.test/public_html/base/lib:.:/usr/share/pear:/usr/share/php') [CORE/Baser/Plugin/Blog/View/Elements/smartphone/blog_comment.php, line 18]
Code Context
include - CORE/Baser/Plugin/Blog/View/Elements/smartphone/blog_comment.php, line 18
include - CORE/Baser/Plugin/Blog/View/Elements/smartphone/blog_comment.php, line 18
View::_evaluate() - CORE/Cake/View/View.php, line 971
BcAppView::_evaluate() - CORE/Baser/View/BcAppView.php, line 525
View::_render() - CORE/Cake/View/View.php, line 933
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
BcBaserHelper::getElement() - CORE/Baser/View/Helper/BcBaserHelper.php, line 576
BcBaserHelper::element() - CORE/Baser/View/Helper/BcBaserHelper.php, line 613
include - CORE/Baser/Plugin/Blog/View/Elements/blog_comments.php, line 32
include - CORE/Baser/Plugin/Blog/View/Elements/smartphone/blog_comments.php, line 16
View::_evaluate() - CORE/Cake/View/View.php, line 971
BcAppView::_evaluate() - CORE/Baser/View/BcAppView.php, line 525
View::_render() - CORE/Cake/View/View.php, line 933
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
BcBaserHelper::getElement() - CORE/Baser/View/Helper/BcBaserHelper.php, line 576
BcBaserHelper::element() - CORE/Baser/View/Helper/BcBaserHelper.php, line 613

のエラーが出た。
この辺を探っていくか。

【2019年3月11日17時23分追記】
「nada_icons/Elements」に「blog_comment.php」と「smartphone/blog_comment.php」をアップロードしたら表示されました。😄👍