I am stuck on the last open source version of the blog software Movable Type before Movable Type went back to being a paid/professional offering only.
My host recently updated the Debian OS version and it apparently came with a more up-to-date version of Perl.
After the update, I am now getting the following error (specifically when Movable Type attempts to generate a Trackback, and I do need internal Trackbacks on my site):
Can't locate object method "new" via package "HTTP::Request" at /home/super/www/www/cgi-bin/mt512/extlib/HTTP/Request.pm line 14.
The code on the line 14 in question is
my $self = $class->SUPER::new($header, $content);
A larger snippet of the code from Request.pm, from the top of the file, is below.
I unfortunately don't know Perl. But I am hoping someone might be able to tell me if there is a relatively easy way to address this.
package HTTP::Request;
require HTTP::Message;
@ISA = qw(HTTP::Message);
$VERSION = "5.827";
use strict;
sub new
{
my($class, $method, $uri, $header, $content) = @_;
my $self = $class->SUPER::new($header, $content);
$self->method($method);
$self->uri($uri);
$self;
}
Update: With help from Jay Allen, I was able to run mt-check.cgi
The check says that LWP::UserAgent is not installed:
According to my site's Installed Perl 5 modules list, though, it is installed:
I don't know if it's helpful, but there's also a CPAN::LWP::UserAgent:
Per Jay's original comments, I confirm that the MT cgi files begin with:
#!/usr/bin/perl
Here is the system information from mt-check:
Operating system: linux
Perl version: v5.24.1
Perl include path:
plugins/Textile/lib
plugins/FormattedTextForTinyMCE/lib
plugins/FormattedText/lib
plugins/Minifier/lib
plugins/MultiFileUploader/lib
plugins/spamlookup/lib
plugins/FacebookCommenters/extlib
plugins/FacebookCommenters/lib
plugins/Approval/lib
plugins/CommentRating/lib
plugins/WXRImporter/lib
plugins/TinyMCE/lib
plugins/mixiComment/lib
plugins/CustomFieldsSearch/lib
plugins/feeds-app-lite/lib
plugins/StyleCatcher/lib
plugins/WidgetManager/lib
plugins/EmailRetitler/lib
plugins/TypePadAntiSpam/lib
plugins/NotifyWho/lib
plugins/Profiler/lib
addons/Community.pack/lib
addons/Commercial.pack/lib
extlib
extlib
lib
/etc/perl
/usr/local/lib/i386-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1
/usr/lib/i386-linux-gnu/perl5/5.24 /usr/share/perl5
/usr/lib/i386-linux-gnu/perl/5.24 /usr/share/perl/5.24
/usr/local/lib/site_perl /usr/lib/i386-linux-gnu/perl-base .
Web server: Apache
(Probably) running under cgiwrap or suexec



#!/usr/bin/perland not some other perl, 2) Run that perl with the extended-Vflag in order to find out not only the version but also the built-in@INC(/usr/bin/perl -V), 3) Runmt-check.cgito make sure that it is seeing the proper perl and@INCdirectories (you'll likely have to temporarily rename/move yourmt-config.cgi). Add all of that output to your post minus any server identifying info - Jay Allen