エラー
Movable Typeをバージョンアップしてテーマをエクスポートしたらこんなエラーメッセージがでた。
template_setのファイナライズ中にエラーが発生しました: テンプレートファイルの公開に失敗しました: '/tmp/?????/?????/?????.mtml'を開けませんでした: No such file or directory
原因は?
mt_templateテーブルのtemplate_identifierが深いからだった。
おそらく、mt4時点ではテーマの概念がなく「template_identifier」らへんが曖昧だったか無かったのかなぁ〜
template_identifierの中身「?????/?????/」
対策
SQLで置換
update mt_template set template_identifier=replace(template_identifier,'?????/','')
解決!