drupal5.x升级到drupal6.x的过程好漫长

在没有安装过多的非drupal核心模块,升级应该很轻松,然而当站点安装如:CCK、image、ImageField等模块,升级是件很难过的事情,频繁的启用模块、更新模块,哪一个步骤出错,还要重新来过,当然在升级过程中还要频繁的备份数据库,累啊!

其中还尝试在5.x下将image模块转到ImageField模块(参考:A script for migrating from image.module to imagefield),不过这个转换还不够完善,比如说:通常我们使用image模块来做相册,免不了要启用image模块的子模块image_gallery模块来组织相册的分类,当将image模块转到ImageField模块后,一定还要卸载image模块和相关的子模块,image_gallery模块卸载会将该模块创建的分类删除,解决办法就是到数据库手动修改。并且发现很多残余数据在variable、blocks、sequences、menu表。

如果站点内容不多,我觉得直接用drupal6.x重建要比5升到6可靠点,当然要看有没有升级的必要。

评论

发表新评论

此内容将保密,不会被其他人看见。
  • 自动将网址与电子邮件地址转变为链接。
  • 允许HTML标签:<a> <img> <em> <del> <strong> <cite> <code> <pre> <ul> <ol> <li> <dl> <dt> <dd> <h3> <h4> <h5> <h6>
  • 自动断行和分段。
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. The supported tag styles are: <foo>, [foo]. PHP source code can also be enclosed in <?php ... ?> or <% ... %>.

更多关於格式化选项的信息

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.