sgharms
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: the word ‘Array’ is appearing everywhere in the dashboardOne 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.0PHP 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 TechnologiesSo 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.
Forum: Fixing WordPress
In reply to: the word ‘Array’ is appearing everywhere in the dashboardI’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.22php
local: 4.4.4 remote: 4.3.0That’s a pretty big gap on mysql and one major release on PHP.
Forum: Installing WordPress
In reply to: Warning: Illegal offset type in wp-includes/cache.phpI just tried it today and have the same error. No fix yet?
Forum: Fixing WordPress
In reply to: Just signed up for API Key, Akismet won’t take it (locally hosted)Yes, still going on a day later, I’ll take your advice and use the feedback mechanism.
Thanks,
Steven
Forum: Fixing WordPress
In reply to: Easter Resurrection: MT to WP: img tags not coming along?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 $_
}
}Forum: Fixing WordPress
In reply to: Easter Resurrection: MT to WP: img tags not coming along?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