Vito

Cannot find column 'blogs' for class 'MT::Blog'

Vote 0 Votes

hi,

i went from 5.01 to 5.12 but after successful database upgrade, i get this error:

Cannot find column 'blogs' for class 'MT::Blog'

i think it is related to the pugin "sort categories" : http://plugins.movabletype.org/sort-categories-and-folders/ because in the .pl file i see instances to 'MT::Blog'

i removed it from plugin dir in mt-static and cgi-bin, restored mydql db from dump file, and restarted the upgrade but i get the same error. How do i disable a plugin from mysql to make sure it doesn't conflict with upgrade?

thanks

Reported on Movable Type 5

5 Replies

| Add a Reply
  • Vito,

    If you've used "Sort Categories" plugin developped by Hajime Fujimoto, your templates must have "sort_method="FooBar" tags to sort categories.

    This template tags can only be used with that plugin, so you have to modify those templates.

    With MT5.1, you can sort categories and folders by default, so Hajime have declared he will stop upgrading this plugin on his weblog.

    To sort your categories, please check this page and try new attributes.

    http://www.movabletype.org/documentation/appendices/tags/subcategories.html

    Thank you.

  • I'd like to modify my comment.


    "sort_method="FooBar"

    =>

    "sort_method="SortCatFld::Sort"

  • I face the same problem. But it has nothing to do with plugins (the same error occurs when they are all removed), it manifests itself with all user accounts right after login, except for the system administrator account.

  • I finally managed to find a workaround and fix the problem on my installation. It has really nothing to do with plugins, but an issue with author metadata. See the following bug report for an explanation and fix: https://movabletype.fogbugz.com/default.asp?106376

  • dear all,

    i never went through the update then. I was quite confused about what to do. My server has been compromised a few days ago. I know it's my fault since i was running 5.01 version which is exploitable. I kindly ask if someone is patient enough yo help me upgrade and avoid the "Cannot find column 'blogs' for class 'MT::Blog'" bug.

    Thanks in advance

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1774 6167

Last Topic: Template modules by Zielun on Feb 16, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1434 5088

Last Topic: Maintenance announcement by Nick on Feb 17, 2012

695 2912

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

174 740

Last Topic: Captcha images rendering slowly by ScottM on Feb 12, 2012

190 568

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012