user-pic

"wide character in subroutine entry" error

Vote 0 Votes

I'm a Chinese blogger and I got this problem. When I export my current blog under MT4 and import it into MT5 (every beta version, including the latest rc3), I was told "wide character in subroutine entry" when I publish the site(the screenshot is here: http://www.cnliufeng.com/blog/uploads/2009/11/mt5-publish-failure.png . This problem make me unable to transfer my blog into the next generation of MT.

I'm very surprised that very few people had this problem. So I commented Beau Smith's blog post on this problem as soon as I saw it. Beau told me that it's better to post the problem here.

Currently it's the only problem that stops me upgrade to MT5. I've tried some ways but I failed. I hope it could be solved soon and I'm looking forward to any suggestions.

Reported on Movable Type 5

8 Replies

| Add a Reply
  • I would recommend to stay with movable type v4.x for now!

    The reasons are multiple:

    1) a final release of MT 5.x is not yet available;

    2) it is always better to let other people test new technologies. this avoids time waste and frustration.

    Good luck,
    Mihai Bocsaru

  • Yes, maybe I was too impatient.

    When I read Beau Smith's "Movable Type 5 Status" and it said MT5 was already released in Japan. And I thought maybe I would not be able to publish my blog using the first few final release versions of MT5.

    Well now I'd better wait for Dec 8 comes.

    Thanks for your words though.

  • Feng_

    I would like to try to reproduce the issue you've come across. To do that, I need to know the exact steps that you took.

    Also, did you use the export/import or the backup/restore functionality. The backup/restore functionality is more comprehensive.

    I'm wondering if this may be possibly due to non latin characters in the content?

    Looking forward to solving this issue.

    • Beau:

      Yes, I was using export/import to transferred my blog. I will try if backup/restore will work.

      It's possible caused by non latin characters in the content. My blog is (mostly) written in Chinese, and the comments are also Chinese. The encoding is UTF-8.

      I just tried the backup/restore functions in RC3-en version and I was told I was not allowed to restore from an earlier version's backup. I'll try to install MT4 first and restore the backup and then upgrade to MT5 and see if that will work.

      BTW, if you need to reproduce this error, I can send you my export file and the backup zip file.

  • Feng_

    The error you got was because backup and restore is for moving content between different installs of MT running the same version of MT. Read the back up and restore guide for more info on using these features.

    If you are wanting to upgrade a complete installation of MT4.x to MT5.x, then follow the directions in the upgrade guide.

    If you are wanting to take one blog out of a MT4 install and move it to MT5, then you will first need to move the MT4 blog (or blogs) to a new install of MT4.x using the same version of MT4.x which the blogs were exported from (find old builds in the Movable Type software archive) and then upgrade this new blog to MT5 using the process defined in upgrade guide.

    I'm very confident that one of these solutions will work for you based upon your needs.

    • Beau:

      It's exactly like what you say. I've installed a MT4 and tried to restore the backup from my current blog. It seemed something wrong happened. Some latest entries wasn't restored, and all of the restored entries lost their category. After upgrade to MT5, when I publish the site it only publish the index.

      I'm not sure if there's something wrong during my operation. I'll try it again and see if it will work.

  • Beau:

    I tried it again, doing exactly what the document said. But after I restored, my entries were just like the last time, some latest entries were not restored, and all of them lost their categories. I published what I got, and only the index.html was published correctly.

    This is all done in MT4 Pro 4.32-en. I've upload two screen shot of backup and restore, and you can see the difference of the MT::Entry records value.

    Currently I don't have any idea on how this oculd happen. If you need me to do anything else, please tell me.

  • The solution is here:

    http://forums.movabletype.org/2010/01/bug-in-pluginsmarkdownmarkdownpl.html

    It seems that this bug will only appear in no-Englis character (eg. Chinese & Japanese).

    Can someone please review the bug so that it will not appear in next release?

Add a Reply

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

Forum Groups

86 302

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

1428 5075

Last Topic: Stupid Question? How to make a static homepage by Jeremy on Feb 3, 2012

693 2902

Last Topic: database upgrade hangs - upgrading to 4.37 by CrankyProfessor on Feb 1, 2012

84 291

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

172 731

Last Topic: I Get An Error Whenever I Try to Log In by David Andrew Wiebe on Jan 17, 2012

189 559

Last Topic: Atom Feed by sali0023 on Feb 2, 2012

48 209

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

221 710

Last Topic: Publish queue cache coherence issue by Istvan Kallai on Jan 27, 2012