Recently in Movable Type Category

Don't try this at home. I mean it.

| No Comments | No TrackBacks

Yesterday, I thought it might be a good time to give my MT5 blog a much needed refresh. I installed a new theme into the blog system, and switched over. Well when I went to publish this new layout i encountered publishing errors, and so decided to go back to the old theme. That published just fine, but to my horror when I went to view my page everything custom that I had installed was gone. My ads, twitter button, toolbar, everything. I immediately began the long and laborious process of installing everything again, only to discover that since i had built everything in MT4 that all of the components I was editing had moved to a different place. I spent the greater part of last night and today finding everything again, and installing everything I thought i had. As of right now it is back up and fully operational, although i still feel as if I'm missing something. If there's anything I am missing that you as loyal readers remember being there, please let me know. I want to have everything back, and I can't remember what is missing so please help me out.

My message to all you MTers out there who would like to give their blogs a refresh: BACKUP EVERYTHING!! I can't stress that enough. Make sure everything in your system is backed up as to not end up like me. You will thank yourself afterwords.

All for now!

Quoted from http://www.jameslockman.com/jamesblog/2009/09/fix-for-perl-gd-imagemagick-an.html:

Fix for Perl, GD, ImageMagick and more on MacOSX Tiger Server - James Lockman's Blog

A week of frustration followed my attempt at upgrading my XServe G5 Dual Processor from Tiger Server to Leopard Server. Silly me, I made the bold assumption that Apple would have the decency to leave the underlying server parts untouched and add their secret sauce for blogs, ical, collaboration, and the like, on top of what was proven. What do I mean by proven, you ask?


How about perl, or PHP, or MySQL? I used to have a perfectly acceptable Movable Type blog (this one, in fact) running happy as a clam on this server. I had never been able to get ImageMagick to properly install, though, as well as some convenience modules like Compress, but hey, Leopard was going to make everything all better. However, when we (props to my son Arthur, whose patience and tenacity led to success) "upgraded," nothing worked anymore. The web is full of complaints about various pieces of this puzzle, so I will leave it up to you to go digging. As for my blog and other data-driven and dynamic graphics-based sites that used to reside on this server, they were defunct. Dead. Doornail dead.
GD is important, as is DBI, DBI::MySql, ImageMagick, PerlMagick, and others. Without them, the Blog just doesn't go. Of course, the major technologies like MySQL and PHP are essential, but the versions provided by Apple were either just plain broken, or were inadequate for the tasks at hand. Of course, we reinstalled!
MySQL and PHP installers are available and we installed them according to the clear instructions provided by MySQL.com and Marc Liyanage, respectively. The tricky part was getting the built-in PHP to shut off and the new one to turn on, but judicious application of the "refresh view" button on the server manager cured that.


Then we turned to MacPortsto install the additional modules. What a disaster.Not MacPorts, mind you, it performed admirably. None of the ports we installed appeared in the list of installed perl modules, despite getting successful reports from MacPorts. I admit that after a few days of banging my head against the wall, I had had enough.Giving up, we scrapped Leopard Server and went back to Tiger Server. But, we were still without some modules.


It turns out that Apple's installation location for the remaining items is not where the rest of the world expects them to be. In the case of perl, when we check our version with CPAN, it reports that we have the current version of perl, and that our modules are installed. We were successfully able to install modules, and they all appear to install without issue, except for PerlMagick, which reports a whole pile of errors. More on that later. When we run the mt-check.cgi from the Movable Type installation, however, we get paths to multiple perl installs, none of which are the current version. Clearly, there is some major confusion here.


The solution turns out to be easy: ditch Apple's mangled perl distribution and put in a link to the good, current installation in its place. The following two lines in the terminal move the old perl installation to a safe place where it can do no harm, and then create the appropriate symbolic link to the /opt/local/bin/perl folder, where we have all of our modules installed.

sudo mv /usr/bin/perl /usr/bin/perl.orig

sudo ln -s /opt/local/bin/perl /usr/bin/perl


Voila! All of my modules are now installed and available to MovableType. GD, DBI, DBI::MySQL, Compress, and all of the others we were lacking, except for PerlMagick.


Even though we used Ports successfully to install ImageMagick, PerlMagic fails, and it fails because of Apple's path problem. So, to install, download the tarball, then follow the instructions. Here's the key, though.
Remember the /opt/... directory? In the makefile.pl file, locate the LIBS and INC entries and change "usr/" to "opt/" in all of the path references in those two lines. Then, build as normal. Double voila!


Now, everything works as we expect it to. I can upload images and get thumbnails, I can connect to databases from my web sites and blog, and I believe that I can detect the aroma of rose coming from the exhaust fans of the XServe right about now.

,,,,

Contribute CS4 and Movable Type

| No Comments | No TrackBacks

As you all know, I run my blog on the Movable Type blogging platform. Until recently, the only applications that could connect to this blog were Ecto, which I didn't want to pay for, and Qumana, which doesn't look that good. The only other oprion was Contribute CS4, ahich I already had a license for. Up until now, Contribute has never connected to my Movable Type blog. It always errored out and wouldn't connect.

Until now.

I have no idea what I have done to make it work, but it does. So, I'll show you how.

When you open Contribute for the first time, it gives you the option to add a blog connection. Click on that link. You should get a window that looks like this:

In this window, you want to select the option to hook to "Other Blog Servers". In the field in the bottom, enter the address of your blog.

In the next pane, enter the username that you use to login to your site. PAY ATTENTION TO THIS STEP! Go into your Movable Type Administration panel, and go toyr user settings. Scroll down, and retrieve your Web Services password. This is the password that you enter into the password field in this panel. For the access point, you have to enter the path on your server to the file mt-xmlrpc.cgi. This file is usually located in the same folder as your MT installation. for example: http://www.yoursite.com/mt/mt-xmlrpc.cgi.

Once these steps are done, click finish. It will take a few minutes to build all of the required templates in order to build you a blog entry. NOTE: It will pull templates for all of the blogs that you have set up under your user account. This is handy for installations with more than one blog.

You are now ready to use Contribute CS4 to edit your Movable Type Blog. Have fun Blogging!

,,,

I'm Back from the Future!

| No Comments | No TrackBacks

Let me start by saying this to everyone who reads my blog.

If you use Movable Type, DO NOT UPGRADE TO LEOPARD SERVER!!!

The reason that I haven't blogged for the past month is due to the fact that Leopard server has more bugs than the first release of Windows Vista. It is missing almost all of the MySQL headers that allow Perl to talk to it. You have to go and download all of the MySQL header files from Apple website. That is a pain.

Once you have all of those installed, you'd think that the DBD::mysql modules required to hook perl up to MySQL would install correctly. Well, they wouldn't. Neither would DBI or any other of the data connection modules for Perl. So, after fighting with this for weeks (this is not an exaggeration. It actually took us weeks to get this to finally be useless) we decided to downgrade back to Tiger server.

After running a few basic commands, our server was back up running again in Tiger. Later on this week, I'll post a detailed instruction on how to get MovableType working on Tiger server with no hitches.

Again, if you know what's good for you, stay away from Leopard Server. Later on this year, we hope to have a working instance of Leopard server. We have another G5 tower, and will attempt to get leopard server working on that. Until we can figure out how to get it working, we'll be staying with Tiger.

All for now!

Ecto - Versatile Blogging Platform

| No Comments

ecto256.png

Well, today I will be reviewing a cool little blogging platform called Ecto. Ecto is a desktop blogging application that I will be using for a while, i think. It has hookups in it to MovableType, Blogger, TypePad, WordPress, and most other popular platforms.

Ecto Media.jpg It has hookups in it also to connect to iLife media, like iTunes songs, iPhoto pictures, and iMovie projects.

When you add a new blog, it automatically detects the hook points from the blog URL that you provide. You then just enter in your password and are ready to go.

It lets you select Tags, categories, keywords, and anything else essential to blogging. You can enable and disable trackbacks, comments, and other things directly from the application.

You can create a summary, get a word count, and even save a draft directly to your hard drive without uploading it to the server. All of the data is stored locally before publishing. That is a feature worth getting.

Application: Ecto

Price: $19.95, 21 day trial.

Where to get it: http://illumineX.com/ecto/

MovableType on the iPhone Simulator

| No Comments | No TrackBacks
Well, since I have successfully installed the iPhone simulator on my PowerPC mac, I have also installed the iMt plugin into the backend of my blog. I am actually writing this post from within the iPhone simulator, which I have to say is pretty cool. My real purpose here is to review the iMt interface. When you go to write an entry from within the wesite, not much is labeled, and you can't tell exactly where the entry is supposed to go at first. You can't select multiple categoris to place the entry in, which isn't so bad I supppose. Otherwise, I can't even tell wether this enry will show up, because there appears to be two entry boxes. All, it's pretty confusing. All for now...

Image::Magick is either not present.....

| No Comments | No TrackBacks
Well, according to Movable Type, we not only need ImageMagick, but we also need PerlMagick. Well, we installed MacPorts to the server and tried to install ImageMagick+Perl. This is supposed to install PerlMagick and ImageMagick, but it didn't. So, we tried to install p5 PerlMagick, which is apparently broken according to the creator. Bummer!

Still working on a fix.

All for Now!

Image::Magick Is not Installed...

| No Comments | No TrackBacks
Well, after upgrading to Movable Type Pro v.4.261 and installing ImageMagick, Movable Type says that it is not installed. It is also not recognizing our install of the GD libraries. So, I can't use the Userpics feature or the image previews because Movable Type cannot find imagemagick. Of course, the server management tool says that it is indeed installed, but Movable Type says different. 

We're working on a fix, and I'll tell everyone what to do if they have the same problem.

All for now...

Just Upgraded to Movable Type Pro...

| No Comments | No TrackBacks
I just upgraded my blog to Movable Type Pro v.4.261. I haven't noticed anything significantly different than the previous version, though if I do, I'll let you all know.

All for now...

About this Archive

This page is an archive of recent entries in the Movable Type category.

Loopholes is the previous category.

Photography is the next category.

Find recent content on the main index or look in the archives to find all content.