January 12, 2020

Updating MovableType

Picking up where I've left off. While MT5 runs on Perl 5.20 well enough, it wouldn't be a good idea to stay on unsupported version for long, so for the next step, I've though to udpate to the currently installed version, Perl 5.26. After a bit of trial and error, it was much easier than I thought, it had required only a couple of changes to the CMS.pm file, and an update to the URI::Escape.

For the good measure, I've updated Data::ObjectDriver module, and put all that up on GitHub, in case someone else is looking to make his MovableType install run on current environment.

Posted by Vadim at 5:40 PM | Comments (0) | TrackBack (0)

January 5, 2020

MovableType Lives On

What do you know, you don't post a decade or so, and things stop working for no reason? I've noticed recently that MovableType 4.12 install I had here was no longer working, oh, since about April 2018 or so, and so I have decided to have a look and see what is going on and figure out what is needed to make it run again.

I started looking for error logs first, and quickly found out that my provider no longer keeps error logs for shared hosting plans at all. When that became a feature reserved for private hosting? Packed everything I did and moved to another webhost. Good bye, 1&1, and no thanks, Ionos.

With error logs access and CGI running on a new host, my next discovery was that Perl was not standing still all these years, either. MT4 no longer can be run on the current version of Perl (5.26 at the moment), and wouldn't run even on earlier versions as there has been several changes to the language syntax. Even the latest release, MT5.2.13, which is still available for download and availabe in its entirety from this GitHub repository, wouldn't run on Perl 5.26. Changes to regexp syntax introduced in Perl 5.22 as warnings now fail starting with Perl 5.24 and later. So it's either updating MT5's code to run on Perl 5.26, or installing Perl 5.20.

Since I don't have much real life experience with Perl hacking, I've decided to start with an easier path. Installing Perl. There are even easy to follow guides available on the web to make this process a breeze. Except that, in addition to Perl itself, there are a few more steps:

  • Edit ever CGI script (11 total) to change #! to point to the custom Perl install;
  • Install DBI package;
  • Install DBD::mysql package;
  • Install Devel::CheckLib package.

That last one was tiny. And I also had to muck around with user permissions... MT upgrade script haven't given me permissions for the site it has automatically created. How odd!

... and, how the saying goes, Bob's your uncle!

Posted by Vadim at 5:37 PM | Comments (0) | TrackBack (0)

November 3, 2008

Updated Cocoon Classic Webapp

Since last update of the 'Cocoon 2.2 Classic' sample app, Cocoon Core 2.2.0 final have been released, as well as there were releases of popular Cocoon Forms 1.1.0 and Cocoon Templates 1.1.0 block, which now have their components configured as Spring Beans, instead of being Avalon Components. So today I've updated this sample Cocoon 2.2 Classic webapp to use latest released version of Cocoon dependencies.

Files changed the most were cocoon.xconf and cocoon/spring/core.xml (both in WEB-INF), while pom.xml had only few changes to version numbers.

Posted by Vadim at 6:14 PM

July 10, 2008

GuitarToolkit for iPhone

Our first iPhone application - GuitarToolkit - Essential guitar utilities for your iPhone - is out. Combines real chromatic tuner (uses iPhone's microphone), chord database, metronome, and set of tones (play one tone at a time, or strum with your finger).

Beats my Korg CA-30 any time.

Posted by Vadim at 2:10 PM

January 7, 2008

Leopard Bites

Specifically, Leopard's tar command. Now it, when you are creating good old .tar.gz archive, will also try to slip into it a bunch of files with names like ._.foo.xml, if your archive to contain foo.xml file.

Wisdom of internets (Leopard's tar is broken, OSX considered harmful) pointed to the solution:

It's going straight into my ~/.profile.

Posted by Vadim at 9:44 PM

October 12, 2007

Cocoon GetTogether 2007 Photos

Yep. I finally succumbed to the peer pressure (Hey Marcus! How it's going, mate?)... and joined - no, not Dopplr or Twitter - but Flickr, and just uploaded a bunch of photos from the latest Cocoon GetTogether 2007 in Rome. In addition to the requisite pictures with faces, I have included few photos of Rome for those of you who had not had a chance to step outside of Rome Bioparco. They all are tagged with cocoongt2007, and if Flickr is not lying to me, should soon join all other photos with this tag. Enjoy!

Posted by Vadim at 10:41 AM