简体   繁体   English

迁移Joomla 1.5 + Virtuemart 1.1.9 +自定义代码--TO— Joomla 2.5 + VirtueMart 2.0

[英]Migrating Joomla 1.5 + Virtuemart 1.1.9 + Custom Code --TO— Joomla 2.5 + VirtueMart 2.0

I am working on upgrading this site that has Joomla 1.5 and Old Virtuemart along with some custom code(mostly in VirtueMart). 我正在升级包含Joomla 1.5和Old Virtuemart以及一些自定义代码(主要在VirtueMart中)的站点。 I need to upgrade this config to Joomla 2.5 and Virtuemart 2.0.24. 我需要将此配置升级到Joomla 2.5和Virtuemart 2.0.24。

I searched on internet and could only find how to upgrade Joomla 1.5 to Joomla 2.5. 我在互联网上搜索,只能找到如何将Joomla 1.5升级到Joomla 2.5。

Please provide a series of steps that I should follow to upgrade. 请提供我应该遵循的一系列升级步骤。 Also, what are the precautions that I should take and How can I keep the custom code intact. 另外,应采取哪些预防措施以及如何保持自定义代码完整。

First you will need to upgrade Joomla 1.5 to 2.5. 首先,您需要将Joomla 1.5升级到2.5。 You might consider going to 3.5 since the LTS is due out soon, but it's not totally necessary. 您可能会考虑将LTS设置为3.5,因为LTS即将到期,但这不是完全必要的。

Once you have that upgraded, you will need to copy all of the VM tables from your old DB to the new one. 升级后,您需要将所有VM表从旧数据库复制到新数据库。 Make sure to update the table prefixes so they match the new install. 确保更新表前缀,以便它们与新安装的前缀匹配。 Once you have moved the tables, then you install VM2.0. 一旦移动了表,就可以安装VM2.0。 Next, in your new VM install, go to Tools > Tools & Migration > Migration and run the migration for everything. 接下来,在新的VM安装中,转到“工具”>“工具和迁移”>“迁移”,然后对所有内容运行迁移。

That's the easy part. 那是容易的部分。 The custom code is probably not going to be of much use to you. 自定义代码可能对您没有太大用处。 The entire templating system has been upgraded to work with typical Joomla overrides and the rest of the component was rewritten from scratch as a true Joomla MVC component. 整个模板系统已升级为可与典型的Joomla替代一起使用,其余组件从头开始重写为真正的Joomla MVC组件。 You will have to find all of the customization and reapply that to the new component by hand. 您将必须找到所有自定义项,然后手动将其重新应用于新组件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM