Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • One more data point. I tarr’d up the WP install and put it on another hosting account I have and things worked! Their PHP / mysql pair was the following:

    [rootbeer]$ mysql -V ; php -v
    mysql Ver 14.12 Distrib 5.0.16, for pc-linux-gnu (i386) using readline 5.0

    PHP 4.4.4 (cgi) (built: Nov 7 2006 13:14:18)
    Copyright (c) 1997-2006 The PHP Group
    Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
    with Zend Extension Manager v1.2.0, Copyright (c) 2003-2006, by Zend Technologies
    with Zend Optimizer v3.2.2, Copyright (c) 1998-2006, by Zend Technologies

    So that would seem to point that on my current host the PHP and or MySQL are the problem. I think that the minimum requirements need to be re-evaluated for 2.2.

    I’ve been seeing the error that boudreaux cited:

    Warning: Illegal offset type in /home/michae02/public_html/michaelboudreaux.com/wp-includes/cache.php on line 125

    I always install locally on my PPC mac before i send it up to my server. WP2.2 works on the mac, but not on the remote. Both are running apache 1.3.33, both have the same mysql version, but the thing that’s different are the mysql and PHP versions

    mysql:
    local:14.12 remote: 12.22

    php
    local: 4.4.4 remote: 4.3.0

    That’s a pretty big gap on mysql and one major release on PHP.

    I just tried it today and have the same error. No fix yet?

    Thread Starter sgharms

    (@sgharms)

    Yes, still going on a day later, I’ll take your advice and use the feedback mechanism.

    Thanks,

    Steven

    Thread Starter sgharms

    (@sgharms)

    Brittanie, et al,

    So basically on the import, it appears that WP *insists* that the <img> tag be written to the specification of the W3C. This is not a horrible thing unless you’ve been, like me, insconsistent in the application of the alt= tag.

    I wrote a real quick perl script to take an MT file, and then put in a generic alt= tag. While filling it in with something meaningful ( by hand ) is probably more approrpiate, I’ve not the energy to tackle all of those on day 1 of the import.

    As such, i wrote this script to do the alt tag addition for me:


    #!/usr/bin/perl -w
    #===============================================================================
    #
    # FILE: fix_img_tag.pl
    #
    # USAGE: cat (somefile) | ./fix_img_tag.pl
    #
    # DESCRIPTION: This is a tool to take the exported movable type blog file
    # and fix the image tag so that WordPress can import.
    #
    # OPTIONS: ---
    # REQUIREMENTS: ---
    # BUGS: ---
    # NOTES: ---
    # AUTHOR: Steven G. Harms (SGH), <[email protected]>
    # COMPANY: No company at all
    # VERSION: 1.0
    # CREATED: 04/16/06 13:50:16 PDT
    # REVISION: ---
    #===============================================================================

    use strict;

    my @entry_arrray = <STDIN>;

    for ( @entry_arrray ){
    # If it contains img and doesns't have an alt tag, put a generic one in
    if ( /<img/ && !/alt/ ){
    s#<img #< img alt="Alt Tag Added during WordPress Conversion" #;
    print $_
    }else{
    print $_
    }
    }

    Thread Starter sgharms

    (@sgharms)

    Brittanie,

    Thanks for the tip. Before i started hacking up some Perl I thought that I’d check to see if this is something standard. Maybe I can figure out something to make this go by a little bit faster.

    Thanks,

    Steven

Viewing 6 replies - 1 through 6 (of 6 total)