Help - Search - Members - Calendar
Full Version: Mt 4.2 Catastrophic Error
Movable Type Community Forum > Installing and Upgrading > Upgrading
Rudy Land
I recently upgraded to v 4.2 but then encountered an error when I tried to Sign In to complete the upgrade:

http://rudyland.net/cgi-bin/mt/mt.cgi

CODE
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 9) 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 1091.


If I try to Sign In to leave a comment, I a similar error:

http://rudyland.net/cgi-bin/mt/mt-comments...=2&static=1

CODE
Got an error: Base class package "Data::ObjectDriver::BaseObject" is empty.
(Perhaps you need to 'use' the module which defines that package first.)
at lib/MT/Object.pm line 10
BEGIN failed--compilation aborted at lib/MT/Object.pm line 10.
Compilation failed in require at (eval 7) line 3.
...propagated at /usr/lib/perl5/5.8.8/base.pm line 85.
BEGIN failed--compilation aborted at lib/MT/Comment.pm line 10.
Compilation failed in require at lib/MT/App/Comments.pm line 12.
BEGIN failed--compilation aborted at lib/MT/App/Comments.pm line 12.
Compilation failed in require at lib/MT/Bootstrap.pm line 62.


http://rudyland.net/cgi-bin/mt/mt-check.cgi

System check is A-OK and there is nothing in the knowledge base about “Class::Accessor::Fast” or “Data::ObjectDriver::BaseObject” so I’m stuck. What does this mean? How do I fix it?

Thanks!
OtherNiceMan
I don't know if this helps http://orangescale.net/log/2007/10/movable...bject-is-empty/

It sounds like either a) packages are missing or b) MT can't find them.
Rudy Land
Thanks, that site really helped, but now I am getting a 500 Internal Server Error. I've opened a ticket with my hosting provider so hopefully the situation will be resolved soon.
GoManutd
I just tried upgrading to 4.2 from 4.12 and it was a complete catastrophe.

I followed the upgrade instructions. Disabled WidgetManager, didn't have Template Refresh installed so no need to disable.

All seemed to go well, until I tried accessing the dashboard. None of the drop down menus work, Manage took me to Manage Entries - I couldn't select anything else. All of the menus were like that.

I cleared my browser cache, nada. Tried publishing my site, figuring that something had to be pushed out or applied to clear up the problem.

Unfortunately, I received the following error:

An error occurred publishing date-based archive...

It's not the total error msg, but suffice it to say I was not able to publish anything. I tried to write a new entry, nada.

So, I was unable to manage my blog, and I was unable to write anything.

Fortunately, I had a tar ball of my old cgi-bin/mt directory and a complete backup of my DB.
GoManutd
Figured it out...

mt-static exists in /usr/lib/cgi-bin/mt and /var/www. I had to copy it to both locations.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.