Categories
translation

The translation “Seijō no Ran (青条の蘭)”-#4.

   Thanks for your patience (^_^;). Today, I’ve posted the first part of chapter 2, “Seijō no Ran (青条の蘭)”. He-he.

   I have removed the kanjis from the translation “Seijō no Ran (青条の蘭)”, and about the explanations of them I wrote on my notes. Though the older translations still have kanjis in them, I promise I will change them gradually.

Categories
Windows

Updating to PHP5.5.6.

同一記事の日本語版

   At Nov-13 20:57:44UTC, they released PHP5.5.6.

   According to ( ChangeLog ), it fixes some bugs against PHP 5.5.5, and adds some performance improvements.

   I downloaded a Thread Safe version php-5.5.6-Win32-VC11-x86.zip for my server (Windows7HP+SP1(x86)). It requires VC11. If you don’t have VC11 on your Windows, you must install vcredist_x__.exe before the PHP configuration.

   The text in the file php.ini-production has a change as fixed bug #65939 (Space before “;” breaks php.ini parsing —> [; size of the optimized code.]). So, I also fixed the line in my php.ini though the bug had had no influence on my server.

   As the official PHP binary includes php5apache2_4.dll, I extract the zip archive and replace all PHP5.5.5 files with all PHP5.5.6 files except my php.ini. Then, I restart my Apache. That’s it.

   If you need how to configure PHP5.5, please see the post. It is for a mbstrings user, but the information gives some help for you.

Categories
everyday life

Momijigari(紅葉狩-2013)

同一記事の日本語版

   This day was a very clear day following on yesterday, so I went to Momijigari(紅葉狩) at Takasumi jinja(高住神社) as usual. This year I took both pictures and videos. My camera is a Casio product EX-V7, which is a little bit old-fashioned. I am satisfied with its quality of pictures, but I’m not about videos. Of course, the quality of works depends on the creator’s skill, though, ha-ha. Anyway, I’ll show you today’s works. About videos, you maybe have popup windows.

高住神社-video1
高住神社-video1
帰り道-video2
帰り道-video2
Takasumi jinja(高住神社)-1
Takasumi jinja(高住神社)-1
Takasumi jinja(高住神社)-2
Takasumi jinja(高住神社)-2
Takasumi jinja(高住神社)-3
Takasumi jinja(高住神社)-3
Takasumi jinja(高住神社)-4
Takasumi jinja(高住神社)-4
Takasumi jinja(高住神社)-5
Takasumi jinja
(高住神社)-5
Takasumi jinja(高住神社)-6
Takasumi jinja
(高住神社)-6
Takasumi jinja(高住神社)-7
Takasumi jinja
(高住神社)-7
Categories
everyday life

Mantises on Warm Window Screens.

同一記事の日本語版

Brown mantis
Brown mantis
Green mantis
Green mantis
   This morning, I found a mantis when I opened the window of the living room. After a while, I saw a mantis again when I plucked some Satsuma mandarins in the garden. This one was green. Uh-oh, I saw the mantis was brown just a while ago. So, I took pictures of both. Today is very comfortable clear day. For them, I think it’s a very comfortable day to hunt. (^o^)

   “Mantises on Warm Window Screens”. Who am I kidding? Someone, make comeback!! m(_”_)m

Categories
WordPress

About the ca-bundle.crt of WordPress3.7.x.

同一記事の日本語版
Update information      Edit(2014.Jan.30)    Edit2(May.6)    Edit3(Jun.22)

   I wrote something about the ca-bundle.crt of WordPress3.7.x on the post.

   About it, Oiram gave me A useful information. If you get the same issue “Warning! Problem updating https://SITENAME. Your server may not be able to connect to sites running on it. Error message: SSL certificate problem: self signed certificate in certificate chain.“, read the article “Error upgrading WordPress (SSL)”, and do his workaround.

   Thinking back now, in my case, there were some differences from his case. Even now, I do not use his workaround. My SSL certificate system works well after updating to WordPress3.7.1. This time updating did not give me any warnings.

   My server environment is very unique, so, I might have got the issue was slightly different from his.

   Still now, I have two questions.

  1. Why did WordPress ver.3.7 give me the warning about one site only in spite of there were a parent and three child sites on the same WordPress multisite?
    About the setting of the ca-bundle.crt, I found out in the class-http.php. This should have the same effect on all of my sites. Why did one site only have the warning?
  2. Do I need to use Oiram’s workaround though my SSL system works well?

Edit(2014.Jan.30):
   Since January 3rd, I cannot access to the Oiram’s site. For a few people googling by the word “ca-bundle.crt” and reaching here, I uploaded the PDF version of Oiram’s workaround. 「Error upgrading WordPress (SSL)

Edit2(May.6):
   Today, I can access to the the Oiram’s site after a very long interval.

Edit3(Jun.22):
   I wrote an article The solution of “SSL3_READ_BYTES:sslv3 alert handshake failure” on WordPress.

Categories
Windows

Tried Windows8.1 Pro on the laptop PC (NJ2100), and failed.

同一記事の日本語版

   Yesterday, I changed my OS from Windows8 Pro to Windows8.1 Pro on NJ2100. By the way, NJ2100 is an Epson Direct product in Japan. But, I think an ASUS product X51C and this are the same in specs.

   First I backed up my Win8 Pro by AOMEI Backupper.

   Second, I accessed the Store from the Metro UI and tried to update.

Windows8.1 #3
Windows8.1 #3
Windows8.1 #2
Windows8.1 #2
Windows8.1 #1
Windows8.1 #1

   The downloading maybe takes several hours, of course, though it depends on the environment.

   When ending the downloading, it shows us the reboot message. So, reboot the PC.

   I had no problem until this point. However, even after several hours, the installation did not end, the monitor displayed nothing and the HDD indicator never lighted up. I gave it up, and turned off the PC. When I turned it on, the PC restored Windows8 Pro and gave me an error code “0xC1900101 – 0x30018”. According to information on the Internet, the error seems to happen the PC has driver(s) which is older than Windows8.1 Pro requires. As my six sense told me the driver was the driver for “SiS Mirage 3 Graphics” (^_^;), I removed it and tried again.

   This time, I reached the goal. I tried to use the Windows8.1 Pro. The monitor resolution was 1024×768, so I installed the driver for “SiS Mirage 3 Graphics” again. But after that, I had a lot of freezes. Besides, I felt the High Definition Audio driver version 6.0.1.5506 did not work well, either. These two drivers are very necessary for comfortable using NJ2100. I can still use my Windows8 Pro. So, I decided that I kept my Windows8 Pro until updating to Windows8.1 Pro was absolutely required.

   I backed up the new Windows8.1 Pro because I didn’t want to waste my time again, and restored the old Windows8 Pro to my NJ2100.

Categories
Uncategorized

Apache: Use mod_deflate.

同一記事の日本語版

   Yesterday, I changed several settings in Apache conf file.

   Open the httpd.conf.

  1. Uncomment the line to use the module mod_deflate for HTTP compression.
          LoadModule deflate_module modules/mod_deflate.so
  2. Uncomment the line to use the directive AddOutputFilterByType
          LoadModule filter_module modules/mod_filter.so
  3. Uncomment the line to use the directive Header
          LoadModule headers_module modules/mod_headers.so
  4. Uncomment the line to use the module mod_expires.
          LoadModule expires_module modules/mod_expires.so

   Add the next lines to the httpd.conf. About this, I have something not to understand, though.
      # Enables generation of Expires headers
      ExpiresActive On
      # expire images and some applications after a month in the client’s cache
      ExpiresByType image/gif A2592000
      ExpiresByType image/jpeg A2592000
      ExpiresByType image/png A2592000
      ExpiresByType text/javascript A2592000
      ExpiresByType text/css A2592000
      ExpiresByType application/javascript A2592000
      ExpiresByType application/x-font-woff A2592000
      # HTML documents are good for a week from the time they were changed
      ExpiresByType text/html M604800
      ExpiresByType text/plain M604800
      ExpiresByType text/xml M604800
      # Enabling Compression
      AddOutputFilterByType DEFLATE text/html text/plain text/xml text/javascript text/css application/javascript
      BrowserMatch ^Mozilla/4 gzip-only-text/html
      BrowserMatch ^Mozilla/4.0[678] no-gzip
      BrowserMatch bMSIEs(7|8) !no-gzip !gzip-only-text/html
      # Make sure proxies don’t deliver the wrong content
      SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ dont-vary
      Header append Vary User-Agent env=!dont-vary

Categories
Uncategorized

Cleaning of the laptop (LC5505D).

同一記事の日本語版
   I cleaned the laptop inside (LC5505D).
   This PC is an NEC product and my previous server machine. I use it as a temporary server. Yes, temporary, but the fact that I used it from 2012.Apr.14 to 2013.Aug.01 (he-he). Now, I use this PC instead of an old Elite II Elite-4 (a cybernet product called Keyboard PC) in my living room. Recently, I heard uncomfortable fun noise from it. So, I decided to clean it up yesterday.

  1. First remove the main battery. And, remove four screws. (Fig. 1)
  2. Turn upside down. Slide and remove the palmrest assembly carefully (Fig. 2), because the other side of the palmrest has a touchpad ribbon cable (Fig. 3).
  3. Remove the keyboard panel. Carefully, because it also has a ribbon cable (Fig.3).
  4. Finally, I meet the dusty fun (Fig 4). Ha-ha.

(Fig. 4) Dusty fun
(Fig. 4) Dusty fun

   I cleaned the pc inside up. If you try the same thing, wash your hands first. If you use a vacuum cleaner or something, take precautions against static electricity!!

   After cleaning, I feel something better about the pc. It’s just my imagination??? (^_^;)

   By the way, I pasted the Google AdSense code on the left sidebar. But, it shows ADs in Japanese. How can I change it into English? My sites run on sub directory type. I have not found out “HowTo” yet.

(Fig. 1) Remove screws
(Fig. 1) Remove screws

(Fig. 2) Slide the palmrest assembly
(Fig. 2) Slide the palmrest assembly


(Fig. 3) Ribbon cables
(Fig. 3) Ribbon cables
Categories
WordPress

Upgrading to WordPress 3.7.

同一記事の日本語版
Update information      Edit    Edit2(Nov.5)    Edit3(2014.Jun.22)

   Today, Japanese WordPress develop members announced they brought the new Japanese version WordPress for us, according to the Codex for Version 3.7, there are tons of changes.

   My WordPress is a multisite type and the parent site language is English. Probably for this reason, the WordPress Updates page does not show me the Japanese version update message.

   So, I downloaded wordpress-3.7-ja.zip manually and upgraded.

   In the wp-includes folder, I found a certificates folder which contained a ca-bundle.crt. The ca-bundle.crt is for the below.
————————————————————————————————————————–
  ##
  ## ca-bundle.crt — Bundle of CA Root Certificates
  ##
  ## Certificate data from Mozilla as of: Sat Dec 29 20:03:40 2012
  ##
  ## This is a bundle of X.509 certificates of public Certificate Authorities
  ## (CA). These were automatically extracted from Mozilla’s root certificates
  ## file (certdata.txt). This file can be found in the mozilla source tree:
  ## http://mxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1
  ##
  ## It contains the certificates in PEM format and therefore
  ## can be directly used with curl / libcurl / php_curl, or with
  ## an Apache+mod_ssl webserver for SSL client authentication.
  ## Just configure this file as the SSLCACertificateFile.
  ##
————————————————————————————————————————–

   I have no error about this upgrade, but I have a warning about the site “o6asan’s netradi” like the below.

  Warning! Problem updating https://MySiteName. Your server may not be able to connect
  to sites running on it. Error message: SSL certificate problem: self signed certificate in
  certificate chain

   But I can log in the site. About using “SSL certificate: self signed certificate in certificate chain”, my sites are all in the same condition. But, on the site, I use a streaming server. I think the warning happens due to this situation. As pointed out above, the new version of WordPress gives us “Bundle of CA Root Certificates”, so, should I make a new certificate by it? I don’t get it exactly. If someone knows about the warning, please tell me in detail.

   Anyway, I completed the upgrade.

Edit:
   I slightly concern about one of the new features of version 3.7 that is automatic updates for maintenance and security updates. But I think it’s probably O.K. because the automatic updates are only for maintenance and security updates. There are no differences between JP version and global version about such minor update. Am I right?

Edit2(Nov.5):
   I wrote a new article about the ca-bundle.crt.

   By the way, if you have the “Warning! Problem updating https://SITENAME. Your server may not be able to connect to sites running on it. Error message: SSL certificate problem: self signed certificate in certificate chain.“, please try Oiram’s workaround (PDF version).

Edit3(2014.Jun.22):
   I wrote an article The solution of “SSL3_READ_BYTES:sslv3 alert handshake failure” on WordPress.

Categories
Windows

Updating to PHP5.5.5.

同一記事の日本語版

   At Oct-17 00:30:06UTC, they released PHP5.5.5.

   According to ( ChangeLog ), it fixes about twenty bugs against PHP 5.5.4, some of them regarding the build system.

   I downloaded a Thread Safe version php-5.5.5-Win32-VC11-x86.zip for my server (Windows7HP+SP1(x86)). It requires VC11. If you don’t have VC11 on your Windows, you must install vcredist_x__.exe before the PHP configuration.

   The text in the file php.ini-production is no changed except adding a comment line “; This is php.ini-production INI file.”.

   As the official PHP binary includes php5apache2_4.dll, I extract the zip archive and replace all PHP5.5.4 files with all PHP5.5.5 files except my php.ini. Then, I restart my Apache. That’s it.

   If you need how to configure PHP5.5, please see the post. It is for a mbstrings user, but the information gives some help for you.