default userpic

mt-check.cgi passes however mt.cgi fails with the following:

Vote 0 Votes

I've installed moveable type several times in the past, usually without issue, but for one reason or another I'm encountering an error I've never seen before and am having difficulty solving.

mt-check.cgi provides the following result:

Movable Type System Check Successful

You're ready to go! Your server has all of the required modules installed; you do not need to perform any additional module installations. Continue with the installation instructions.

I then proceed to run mt.cgi and get the following result:

Got an error: Base class package "Class::Accessor::Fast" is empty. (Perhaps you need to 'use' the module which defines that package first.) at lib/MT/Component.pm line 10 BEGIN failed--compilation aborted at lib/MT/Component.pm line 10. Compilation failed in require at (eval 10) line 3. ...propagated at /usr/lib/perl5/5.8.8/base.pm line 85. BEGIN failed--compilation aborted at lib/MT/Core.pm line 11. Compilation failed in require at lib/MT.pm line 955.

I've triple checked .cgi permissions, deleted the source and reuploaded it, and really dont understand why this installation fails when I have other moveable type blogs installed for separate domains on the same machine.

Any clarification would rock, thanks!

1 Reply

| Add a Reply
  • I'd suggest looking in the error logs for clues. I have an issue something rather similar: I've recently moved to a different host & am trying to install MT from scratch. I was getting the generic 500 Internal Server Error when attempting to install MT having copied all the files via FTP: http://www.ramchandra.me.uk/blog/mt-check.cgi works fine so I know it wasn't a simple 755 permissions issue. http://www.ramchandra.me.uk/blog/mt.cgi did not work at all. From the error logs: [Fri Oct 3 17:35:03 2008] [error] [client 90.208.56.57] Premature end of script headers: /home/apun/publichtml/blog/mt.cgi BEGIN failed--compilation aborted at /home/apun/publichtml/blog/mt.cgi line 11. Can't locate MT/Bootstrap.pm in @INC (@INC contains: lib /usr/lib/perl5/siteperl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/siteperl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/siteperl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/siteperl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/siteperl/5.8.8 /usr/lib/perl5/siteperl/5.8.7 /usr/lib/perl5/siteperl/5.8.6 /usr/lib/perl5/siteperl/5.8.5 /usr/lib/perl5/siteperl /usr/lib/perl5/vendorperl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendorperl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendorperl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendorperl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendorperl/5.8.8 /usr/lib/perl5/vendorperl/5.8.7 /usr/lib/perl5/vendorperl/5.8.6 /usr/lib/perl5/vendorperl/5.8.5 /usr/lib/perl5/vendorperl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /home/apun/public_html/blog/mt.cgi line 11. From this I figured I should find the path of perl from the mt-check result: Perl include path: /home/apun/publichtml/blog/extlib /home/apun/publichtml/blog/lib /usr/lib/perl5/siteperl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/siteperl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/siteperl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/siteperl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/siteperl/5.8.8 /usr/lib/perl5/siteperl/5.8.7 /usr/lib/perl5/siteperl/5.8.6 /usr/lib/perl5/siteperl/5.8.5 /usr/lib/perl5/siteperl /usr/lib/perl5/vendorperl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendorperl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendorperl/5.8.6/i386-linux-thread-multi /usr/lib/perl5/vendorperl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendorperl/5.8.8 /usr/lib/perl5/vendorperl/5.8.7 /usr/lib/perl5/vendorperl/5.8.6 /usr/lib/perl5/vendorperl/5.8.5 /usr/lib/perl5/vendorperl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 After that I replaced #!/usr/bin/perl -w with #!/usr/bin/perl5 -w I still got a 500 error (now also on mt-check.cgi) suggesting I did it wrong & broke it 'more' [Fri Oct 3 19:01:35 2008] [error] [client 90.208.56.57] File does not exist: /home/apun/publichtml/500.shtml [Fri Oct 3 19:01:35 2008] [error] [client 90.208.56.57] Premature end of script headers: /home/apun/publichtml/blog/mt.cgi [Fri Oct 3 19:01:35 2008] [error] (2)No such file or directory: exec of /home/apun/public_html/blog/mt.cgi failed Having double checked under cpanel usr/bin/perl is the correct perl path, So, I've changed it back now & still have the issue I had originally. I'm not really sure what to make of this? Any thoughts welcome ..

Add a Reply

Forum Groups

76 248

Last Topic: How to get user registered email and detail? by rushskeith on Sep 21, 2008

125 308

Last Topic: Registering new XML-RPC methods by Mike T on Oct 2, 2008

21 64

Last Topic: Upgrade Order w/ Plugins by salguod on Sep 29, 2008

7 21

Last Topic: Submit Comment by Carla on Sep 6, 2008

10 32

Last Topic: new licensing confusion by Neil Epstein on Aug 14, 2008

5 29

Last Topic: Russian language? by Andru on Sep 25, 2008

code.sixapart.com

33 90

Last Topic: Can't edit existing plugins by Richard Benson on Oct 3, 2008