Categories
WordPress

WordPress: Administration Over SSL #3

同一記事の日本語版

   When I activated the Administration Over SSL, I didn’t set “define( ‘FORCE_SSL_ADMIN’, true );” because at that moment I used a laptop pc (LaVie PC-LC5505D) as the server and it was already slow.

   Today, I had an update message about the plugin Ajax Edit Comments Version 5.0.30.0 and the Changelog read:

Fixing SSL error when FORCE_SSL_ADMIN is set to true. See trac ticket: http://buddypress.trac.wordpress.org/ticket/4761

   That made me remember the setting of the Administration Over SSL.

   I opened my wp-config.php and commented out the line “define( ‘FORCE_SSL_LOGIN’, true );” under which I added the line “define( ‘FORCE_SSL_ADMIN’, true );”. Saved and closed the wp-config.php.

   After this, when I access all the administration area of my WordPress, I need my own certificate because the WordPress works over SSL. Fortunately, I don’t feel the server response is slower. How about you?

   By the way, I also had an update message about the phpMyAdmin 4.0.6, so I used this opportunity to update it.

Categories
everyday life

An advance order of the “Juuni Kokuki” calendar 2014.

   On Aug. 1st, Shinchōsha announced they would publish a “Juuni Kokuki” calendar 2014. It has Yamada Akihiro illustrations for the entire “Juuni Kokuki” edition. But, I didn’t know they were going to accept orders from out of Japan. Today, I found a page on Japanese Amazon. It seems you, who don’t live in Japan, can get the calender.

   If you care a great deal about it, please jump to the page “Juuni Kokuki” calendar 2014. (^o^)

   For you it might not be reasonable about its price. It is ¥1890 in Japan.

Categories
translation

I am depressed for some reason.

   Can I complain the difficulty of my translation?

   Actually, for about 10 days, I have been depressed for some reason. I know my English is bad, so my translation is not good. But when I find that someone says about it not here but somewhere on the Internet, which lets me down. Because it is the same as to talk behind my back, I can do nothing against it.

   Previously, one of my blog visitors offered me some help, and I was very glad though it was not done well. Now, another visitor are giving me some help. The two told me straight “this is better than that”. I really appreciate their help. My English is not good, so I think the translation has a lot of points to be corrected. But the problem is I cannot get them by myself. If I know about them by myself, I can correct them, of course.

   You know, I am NOT a professional translator and I am NOT a native English speaker. Like some software developers who volunteered sometimes ask for donations, I want your correction as a donation for my translation if you are good at English. (^^;)

   Thanks in advance!!

Categories
everyday life

Finally, autumn has come.

同一記事の日本語版

I think autumn has come.
I think autumn has come.
   From Wednesday to Monday, we had rain after a certain interval in my town. Especially, we had a good amount of rainfall from 24th to 26th. Though the rain made disasters some other areas, we had good rain for us because some crops wanted water in my town. And, the rain brought autumn to my town. The rain stopped on 26th and we have very sunny days yesterday and today, so the heat comes back again during the day. But, very much different compared to a week ago. I made a graph, please take a look!

   The graph based on the data of my town AMeDAS(アメダス). Do you know Japanese AMeDAS? First, “AMeDAS” is an abbreviation of “automated meteorological data acquisition system”. Second, AMeDAS instruments exist throughout Japan. Of course, in my town. Third, we use its data anytime we need them. Where can we find them? At JMA official site. So, I used them and made the graph. Actually, my town AMeDAS is a miner version and does not give us the humidity data, so I took the data of it from the nearest city AMeDAS.

   If you want to visit Japan except Hokkaidō someday, and if the length of the visit is very short, I am never going to recommend a summer travel to you. (^^;)(^^;)(^^;)

Note for the graph:
 8月:August
 気温(℃):Temperature(℃)

What is the name of this caterpillar? #2
What is the name of this caterpillar? #2
What is the name of this caterpillar?
What is the name of this caterpillar?
 湿度(%):Humidity(%)
 降水量(㎜):Precipitation(㎜)
 於わが町:at mytown
 昨日まで:until yesterday
 最高気温(℃):Highest temperature(℃)
 平均:Mean/Average
 最低気温(℃):Lowest temperature(℃)
 最高:Maximum
 最低:Minimum

   By the way, I found a caterpillar in my garden. Of course, in the garden some insects live everyday. But this kind of caterpillar is very first time for me. Do you know the name of this caterpillar?

Edit:
   One of my Japanese Blog visitors told me the name of the caterpillar. It is a caterpillar of Theretra japonica. Now, my head was cleared. (^^)

   Thanks a lot, FHさん.

Categories
Windows

Updating to PHP5.5.3.

同一記事の日本語版

   At Aug-21 17:44:24UTC, they released PHP5.5.3.

   Acoording to the ChangeLog, they fixed UMR(unInitialized Memory Read) in fix for CVE-2013-4248. A fix for CVE-2013-4248 again?

   Anyway, I downloaded a Thread Safe version php-5.5.3-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.

   As the official PHP binary includes php5apache2_4.dll, I extract the zip archive and replace all PHP5.5.2 files with all PHP5.5.3 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
Windows

Updating to PHP5.5.2.

同一記事の日本語版

   At Aug-16 02:13:06UTC, they released PHP5.5.2. So, I downloaded a Thread Safe version php-5.5.2-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.

   Acoording to the ChangeLog, it has some bug fixes and includes the patch for CVE-2013-4248.

   The new php.ini-production has two difference from the php.ini-production of version 5.5.1.
   The line “;extension=php_zip.dll” doesn’t exist anymore.
   Edit typos: mssql.compatability_mode = Off —> mssql.compatibility_mode = Off

   As the official PHP binary includes php5apache2_4.dll, I extract the zip archive and replace all PHP5.5.1 files with all PHP5.5.2 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
WordPress

Memorandum #4.

同一記事の日本語版

   How to create from the mo file to the po file on Windows OS.

  1. Install Poedit.
  2. Run cmd.exe
    >cd (Poedit bin Path)
    >msgunfmt -o (po file) (mo file)   —>See Command Line Help.
  3. That’s it. I have the po file. Happy.

   I stopped using the three plugins because they haven’t been updated in over 2 years.

  • Similar Posts
  • Post-Plugin Library
  • Picbox

   I started using the next plugins instead of the three plugins above.

Categories
WordPress

Upgrading to WordPress 3.6.

同一記事の日本語版

   Today, Japanese WordPress develop members announced they brought the new Japanese version WordPress for us, according to the Codex for Version 3.6, 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.6-ja.zip manually and upgraded.

   Happy upgrade!! But, to use the new features I should update my themes I made by myself. Sigh!

Categories
everyday life

The Return of the Prodigal Server.

同一記事の日本語版

   This early morning, I moved my live production site from the old laptop PC to the xw4200 in which I made a wamp-like server until yesterday.

   The xw4200 is my previous server machine. In the mid-April of last year, its SCSI HDD was broken. It took a long time before I found out the SCSI HDD was broken. At that time, the PC gave me a lot of trouble.

   But now, the PC works in a very cheerful way. That is “The Return of the Prodigal Server”. (^o^)(^o^)(^o^)

【Current server applications】
 Windows7 Home Premium SP1(x86)
 httpd-2.4.6-win32-VC11.zip
 ActivePerl-5.16.3.1603-MSWin32-x86-296746.msi
 php-5.5.1-Win32-VC11-x86.zip
 mysql-5.6.12-win32.zip
 phpMyAdmin-4.0.4.2-english.zip

Categories
Windows

To create a Wamp-like Web Server in Windows7-#4.

同一記事の日本語版

   Continued from my last post.

Enabled SSL.

  1. Copy cacert.pem, server.crt, server.key to the Apache conf directory.

    If you need how to make these three files, please see WordPress: Administration Over SSL #1.

    I think a cmd.exe on a Windows7 recognizes both slashes(/) and backslashes() in a openssl.cnf. Maybe, you need not use “” in the openssl.cnf when you customize it. On a Windows7, you can see a openssl.cnf as a openssl.conf instead of openssl, a file type “SpeedDial”. Ha-ha-ha.

  2. Customize the file httpd-ssl.conf in the Apache extra conf directory.
    If you need how to customize, please see WordPress: Administration Over SSL #1.
  3. Customize the file httpd.conf.
    If you need how to customize, please see WordPress: Administration Over SSL #1.
  4. Control Panel >> Administrative tools >> Windows Firewall with Advanced Security >> Inbound Rules
    Add the port 443 to “Apache HTTP Server”.

    By the way, if you accept about the port alert from your Windows Firewall, the rules are created automatically. But they seem too looser for the Web Server wares. At “Windows Firewall with Advanced Security” you can strictly set up them. So, you should use this advanced feature.

  5. Restart the Apache.

   Mission Complete!