-rw-r--r-- 360B Sep 16, 2012 · 5B9E8B9 · ~1 min

Elysium at Aurora, September 15, 2012, video

элизиум видео

Elysium again. The only band I’ve filmed more than them is probably Delfin. They might be our record-holders for number of shows at Aurora. Although I’ve also filmed them a few times at Orlandos.

The first video is the song «Fly Away» — our lighting guy said it was one of the songs that was going to get the best lighting. Came out pretty, I think :)

[↵] open page elizium-v-avrore-15-sentyabrya-2012-video.md
-rw-r--r-- 6.6K Sep 6, 2012 · 747902B · ~6 min

A few thoughts on Nokia and the new Lumias

it nokia аналитики lumia журналисты ненависть

Nokia Lumia 920

Yesterday Nokia announced two new phones running the upcoming Windows Phone 8. This is a hate post aimed at analysts, journalists and other parasites. I’ll try to keep the swearing to a minimum.

[↵] open page para-myslej-o-nokia-i-novyh-lumia.md
-rw-r--r-- 2.8K Aug 29, 2012 · E96414C · ~3 min

How to use «Back to My Mac» via iCloud

доступ к моему mac icloud os x

Back to My Mac iCloud

When I got the chance to play with the new iCloud features in OS X Lion, the only thing that left me puzzled was the feature called «Back to My Mac». Yesterday I finally figured out how it works, and today I gave it a proper try.

[↵] open page kak-pol-zovat-sya-dostup-k-moemu-mac--cherez-icloud-.md
-rw-r--r-- 1.7K Aug 27, 2012 · 6892113 · ~2 min

FCKEditor and the «Access Denied» error

fckeditor php-fpm php шпаргалки

Updated Nginx and PHP on my server to the latest stable versions. PHP is currently 5.4.6.

After the update FCKEditor stopped working — instead of it I was getting an «Access Denied» message.

FCKEditor is rendered on the page through an iframe, and that’s where the message was hanging. I dug through the editor’s sources thinking maybe there was some PHP version check somewhere, but didn’t find anything special. The iframe loads fckeditor/editor/fckeditor.html. Opening that file directly produced the same error. I started suspecting Nginx, but it turned out to be neither Nginx nor the editor’s code — it was PHP itself (php-fpm).

Googling «Access Denied» wasn’t easy, but glancing into the error logs I spotted the keyword security.limit_extensions. From the name, this php-fpm.conf option controls which file extensions PHP code is allowed to execute in. Starting with PHP 5.3.9, for security reasons, if this option isn’t specified in the config, PHP only runs in .php files (I don’t know what it was before). FCKEditor wires itself up through PHP in some clever/messy way that ends up executing code in that very fckeditor.html file (even though there’s no PHP code inside — just a long framework setup). That’s why php-fpm was returning «Access Denied».

Fix: in php-fpm.conf, or better, in the pool .conf file (something like /etc/php-fpm/pulls/mysite.conf), add this line:

security.limit_extensions = .php .html

That’s the fix. Spent almost an hour and a half tracking it down — without knowing the editor’s code I couldn’t immediately figure out where to dig. So I’ll leave this here. Maybe it’ll save someone else the same trouble.

[↵] open page fckeditor-i-oshibka-access-denied.md
makoni@arm1:~/blog$ cd ../page-26/ // ← previous cd ./page-28/ // more posts →