问题描述
我尝试使用 jUpgrade 将 Joomla 中的网站从 1.5 迁移到 2.5,但收到未定义迁移"错误.
I've try to migrate a website in Joomla from 1.5 to 2.5 using jUpgrade but I've receive the "undefined migrating" error.
文件被正确传输,但数据库没有变化,当我尝试登录 website.com/jupgrade
时,我登陆一个页面,上面写着请删除安装文件夹"和没有传输/创建数据库(所以我必须手动创建它并创建菜单、文章等,浪费了很多时间!)
The files was correctly transferred, but there's no change to the db, and when I try to log on website.com/jupgrade
, I land on a page saying "please delete installation folder" and no db was transferred/created (so I have to create it manually and create menu, article, etc. wasting so much time!)
请帮忙.我已经尝试删除文件夹并将 tmp
更改为 777 权限(使用 chmod
),但没有任何改变!
Please help. I have already tried removing folder and changing tmp
to 777 permission (with chmod
) and nothing changed!
**更新:2012-07-24在调试模式下运行 jupdate 时获取更多信息:
**Update: 2012-07-24Getting more information while running jupdate in debug mode:
"========== [检查]
1
========== [清理]
========== [cleanup]
1
========== [解压]
========== [decompress]
1
========== [安装配置]
========== [install_config]
========== [安装数据库]
========== [install_db]
========== [未定义] [未定义]
========== [undefined] [undefined]
jos-Error: 表 'name_joomla.j25_users' 不存在 SQL=INSERTINTO j25_users
(id
,name
,username
,email
,password
,usertype
,block
,sendEmail
,registerDate
,lastvisitDate
,activation
,参数
)价值观('62','管理员','admin','[email protected]','d7bfdb4f0aa91c9618b2969f4b91006e:jJzEVXG7VDz0u95RQu06CQPMFsxCic4e','Super管理员','0','1','2011-12-16 14:37:40','2012-07-2413:57:43','','{"admin_language":"","language":"","editor":"","helpsite":"","时区":"UTC"}')"
jos-Error: Table 'name_joomla.j25_users' doesn't exist SQL=INSERT INTO j25_users
(id
,name
,username
,email
,password
,usertype
,block
,sendEmail
,registerDate
,lastvisitDate
,activation
,params
) VALUES ('62','Administrator','admin','[email protected]','d7bfdb4f0aa91c9618b2969f4b91006e:jJzEVXG7VDz0u95RQu06CQPMFsxCic4e','Super Administrator','0','1','2011-12-16 14:37:40','2012-07-24 13:57:43','','{"admin_language":"","language":"","editor":"","helpsite":"","timezone":"UTC"}') "
推荐答案
最终工作 - 在这一点上 - 遵循@wiki.redcomponent.com 的第一个解决方案,删除所有插件并重新安装另一个版本(从 2.5.1 到 2.5.2)
Finally working - at this point - following the 1st solution from @wiki.redcomponent.com by removing all the plugins and reinstalling another version (from 2.5.1 to 2.5.2)
迁移未定义"或[未定义][未定义]"
可能会出现在迁移特定组件的数据时进程卡住的情况,并且(启用调试模式")将显示类似于迁移未定义"或[未定义][未定义]"的错误.
There may come an instance where the process will get stuck while migrating data for a specific component and (with "Debug mode" enabled) an error similar to "Migrating undefined" or "[undefined][undefined]" will be displayed.
一些原因和补救措施包括:jUpgrade 请求的 migrate_xxx.php 文件不可用或无法访问
Some causes and remedies include:a migrate_xxx.php file that is being requested for by jUpgrade is not available or accessible
(这些文件存储在 {root}/administrator/components/com_jupgrade/includes/文件夹中,标记为migrate_xxx.php",其中xxx"是当时正在传输的内容部分.)
(these files are stored in the {root}/administrator/components/com_jupgrade/includes/ folder, labelled "migrate_xxx.php" where "xxx" is the section of content being transferred at the time.)
修复:卸载并重新安装 jUpgrade(恢复所有需要的文件)并重试.获取 jupgrade 2.5.2**
• 从中传输内容的数据库表已损坏或已被修改(jUpgrade 要求不对任何核心表本身进行任何修改,否则在处理自定义字段时迁移可能会遇到问题)
• The database table from which content is being transferred is corrupt or has been modified(jUpgrade requires that no modifications have been made to any of the core tables themselves, otherwise the migration can run into problems when dealing with custom fields)
要修复:下载并安装维护组件,例如Admin工具!"并运行数据库完整性检查和修复.或者可能必须使用phpmyadmin"或类似的界面.具有自定义字段的数据库的解决方案是正在调查中,但目前必须手动迁移,或者如果它们干扰迁移,则删除.(当然是备份应该在任何此类操作之前运行.)
• 尝试将内容复制到已包含内容的数据库(来自之前的迁移,无论是否失败)时,迁移遇到问题.
• The migration runs into an issue attempting to copy content over to a database which already has content (from a previous migration, failed or not).
修复:删除为新 Joomla 创建的所有表!安装在迁移期间再次运行 jUpgrade.
• 处理迁移过程的 Javascript 出现问题
• the Javascript which handles the migration process has run into a problem
修复:检查插件管理器以确保任何系统插件与 javascript 库相关,除了MooTools 升级"插件(这是必需的)已被禁用并尝试运行 jUpgrade再次.让我们放弃 IE 并尝试 Chrome ;-)
这篇关于Joomla 1.5 到 2.5 与 Jupgrade.“未定义的迁移错误"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!