Great ! That seems to have done a cleaner install, though I'm not sure -- here's the message that I got back
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Mon, 11 Dec 2006 11:25:15 GMT
CPAN: LWP::UserAgent loaded ok
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
LWP failed with code[500] message[LWP::Protocol::MyFTP: Bad hostname '
+ftp.perl.org']
Fetching with Net::FTP:
ftp://ftp.perl.org/pub/CPAN/authors/01mailrc.txt.gz
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/modules/02packages.details.txt.gz
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Tue, 19 Dec 2006 10:25:22 GMT
There's a new CPAN.pm version (v1.8802) available!
[Current version is v1.7601]
You might want to try
install Bundle::CPAN
reload cpan
without quitting the current session. It should be a seamless upgrad
+e
while we are running...
Fetching with LWP:
ftp://ftp.perl.org/pub/CPAN/modules/03modlist.data.gz
Going to read /root/.cpan/sources/modules/03modlist.data.gz
Going to write /root/.cpan/Metadata
DBomb is up to date.
How do I tell if its a clean install? Unfortunately the error that I g
+ot is related to a perl call in MovableType that works on one server,
+ but not this new one.
By the way the error i'm getting is
Can't use an undefined value as an ARRAY reference at lib/MT/App/CMS.p
+m line 1175.
http://perlmonks.org/?node_id=590816
http://groups.google.com/group/comp.lang.perl.modules/browse_thread/th
+read/6aef89c55d28b50e/ba56a96463b964f4#ba56a96463b964f4
there's code that's working fine on the media temple server but is dyi
+ng completely on 236
the way you can see the error is by:
http://www.twentythreesix.com/MT/mt.cgi
log in as paul / thesite
you get back this error message:
Can't use an undefined value as an ARRAY reference at lib/MT/App/CMS.p
+m line 1174.
i researched and it looks like we need to have DBomb perl module insta
+lled, and as usual with perl, it needed about 5 other modules in orde
+r to install
i'm attaching my notes from that installation process, all but DBomb i
+tself installed succusefully, though there were a couple notes that i
+ made in there of things that looked a little bit odd
the code that MT dies on is this:
use huff::WelcomeMessage;
my $driver = MT::Entry->driver;
my $dbh = $driver->{dbh};
my $query = "SELECT Name from NGBlogWelcome";
my $welcome = pop(@{$dbh->selectcol_arrayref($query)}); **THIS I
+S LINE 1174**
$param{welcome} = $welcome;
my $query = "SELECT Comment from NGBlogWelcome";
my $welcome = pop(@{$dbh->selectcol_arrayref($query)});
$param{welcomemessage} = $welcome;
$app->build_page('list_blog.tmpl', \%param);
huff:WelcomeMessage is a .pm file located here:
MT/extlib/huff/WelcomeMessage.pm
which contains this code:
package huff::WelcomeMessage;
use strict;
use MT::Object;
@huff::WelcomeMessage::ISA = qw( MT::Object );
__PACKAGE__->install_properties({
column_defs => {
'id' => 'integer not auto_increment',
'name' => 'varchar(60)',
'comment' => 'text',
'creation_date' => 'datetime'
},
indexes => {
id => 1,
entry_id => 1,
zone => 1,
},
defaults => {
name => 'welcome title',
comment => 'welcome body',
},
audit => 1,
datasource => 'welcomemessage',
primary_key => 'id',
});
1;
Many many thanks for any ideas on this one
Best regards
Paul (i guess there are a lot of us out there, i wonder how |