WordPressのcocoonテーマで、下記のエラーが表示される。
/wp-content/themes/cocoon-master/lib/open-graph.php(356)
調べると、curlを使った処理でエラーになっていた。PHPのモジュールでcurlが入っているかみたところ、インストールされていなかった。FreeBSDのパッケージからcurlのモジュールをインストールして、apacheを再起動した。これで、解決した。
pkg install php73-curl
WordPressのcocoonテーマで、下記のエラーが表示される。
/wp-content/themes/cocoon-master/lib/open-graph.php(356)
調べると、curlを使った処理でエラーになっていた。PHPのモジュールでcurlが入っているかみたところ、インストールされていなかった。FreeBSDのパッケージからcurlのモジュールをインストールして、apacheを再起動した。これで、解決した。
pkg install php73-curl
PHPをPHP5.6からPHP7.3に上げたところ、Wordpressで以下のエラーが発生した。
Fatal error: Uncaught Error: Call to undefined function xml_parser_create()
PHPのオプションで、xmlに関するモジュールがインストールされていないことが原因だった。FreeBSDでパッケージからインストールしているので、下記のようにpkgコマンドでインストール。その後、Apacheを再起動し、無事にエラーは解消。
pkg install php73-xml-7.3.8
PHP5.6からPHP7.3にアップデートしたところ、pukiwikiでエラーが発生。このエラーの前に、pukiwikiはPHP7対応版の1.5.2にバージョンアップした。アップグレード用のパッチを当てたが、それでも下記のエラーが発生した。
Parse error: syntax error, unexpected 'new' (T_NEW) in /usr/xxxxxx/xxxxxx/wiki/plugin/rssreader.inc.php on line 56
エラーを調べてみると、PHP7では「NEWで生成されたオブジェクトは参照として代入できない」ので、エラーになっていることが判明。とりあえず、動作するようにしたかったので、参照渡しをやめるようにコードを変更した。
変更した記述は、下記。
//変更前 //$r =& new XML_RSS($rdf); //変更後 =& を = に変更。エラー原因の参照渡しをやめている。 $r = new XML_RSS($rdf);
参考
https://www.shirokuma-systems.com/seisaku/wordpress/284.html
https://www.slideshare.net/yohgaki/php56php70
Visual Studio CodeにCiscoのシンタックスを解釈できるようにするExtension。下記のエクステンションのページからインストールボタンを押して、インストールする。
vscode-cisco-syntax
https://marketplace.visualstudio.com/items?itemName=jamiewoodio.cisco
インストール後は、言語モードの選択で「cisco」と指定する。そうすると、Ciscoのシンタックスで色付けなどをしてくれる。
コンフィグをみるときのサポートくらいに使える。
AWSで、SSL通信を行う設定をすることになったので、ELB(Elastic Load Balancer)+ACM(Amazon Certificate Manager)でSSLを通信を行うときのメリット・デメリットを考えてみた。癖はあったけれど、驚くほど設定が簡単。
デメリット
メリット
別のサイトで、Wordpress 5.2.1にアップデートしたところ、新規投稿画面と編集画面にアクセスすると、真っ白になるようになった。
Webサーバのログも見たが、これと言ったエラーも出ていない。念のため、Webサーバのサービスも再起動したが変わらず。一応、5.2.1の再インストールも行なったが変わらず。そんなわけで、とりあえず、放置。新しいアップデート待ち。
忘れた頃に、不具合を引くなぁ。アップデートする際には、気をつけた方がよいかも。
PokemonGOのAR撮影機能で、Pokemonと桜を撮影してみた。



ubuntu 18.04.02で、Nginx-fullをインストールしたときにインストールされているオプション。
“–with-http_ssl_module” と “–with-http_v2_module” がついているので、SSL化もHTTP/2化もすんなりとできる。
zen:/var/log$ nginx -V nginx version: nginx/1.14.0 (Ubuntu) built with OpenSSL 1.1.0g 2 Nov 2017 TLS SNI support enabled configure arguments: --with-cc-opt='-g -O2 -fdebug-prefix-map=/build/nginx-FIJPpj/nginx-1.14.0=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Wdate-time -D_FORTIFY_SOURCE=2' --with-ld-opt='-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -fPIC' --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --error-log-path=/var/log/nginx/error.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --modules-path=/usr/lib/nginx/modules --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --with-debug --with-pcre-jit --with-http_ssl_module --with-http_stub_status_module --with-http_realip_module --with-http_auth_request_module --with-http_v2_module --with-http_dav_module --with-http_slice_module --with-threads --with-http_addition_module --with-http_geoip_module=dynamic --with-http_gunzip_module --with-http_gzip_static_module --with-http_image_filter_module=dynamic --with-http_sub_module --with-http_xslt_module=dynamic --with-stream=dynamic --with-stream_ssl_module --with-stream_ssl_preread_module --with-mail=dynamic --with-mail_ssl_module --add-dynamic-module=/build/nginx-FIJPpj/nginx-1.14.0/debian/modules/http-auth-pam --add-dynamic-module=/build/nginx-FIJPpj/nginx-1.14.0/debian/modules/http-dav-ext --add-dynamic-module=/build/nginx-FIJPpj/nginx-1.14.0/debian/modules/http-echo --add-dynamic-module=/build/nginx-FIJPpj/nginx-1.14.0/debian/modules/http-upstream-fair --add-dynamic-module=/build/nginx-FIJPpj/nginx-1.14.0/debian/modules/http-subs-filter

提灯の灯りに照らされる河津桜。
今年に入ってから、というか昨年末のあたりから新しいWindows Phoneの端末が出ないから、怪しいとは思っていた。どうやら、Windows Phoneは終息のようだ。セキュリティアップデートなどは行うけれど、新規の機能追加はないとのこと。Windows CEの頃もだけど、悪くはないけど、流行らないんだよね。個人的には残念だ。コンセプトは悪くないから、売り方というか見せ方の問題だったのかな。
あと、先行きが不透明になったから、Windows Phoneを採用しなくてよかった。
Of course we’ll continue to support the platform.. bug fixes, security updates, etc. But building new features/hw aren’t the focus.