J1.5

Difference between revisions of "Common Migrator Errors"

From Joomla! Documentation

Line 7: Line 7:
 
* [http://joomlacode.org/gf/project/sso Joomla SSO]
 
* [http://joomlacode.org/gf/project/sso Joomla SSO]
  
An alternative solution to this problem is to manually remove that particular table from your database. I'd personally recommend first examining your Joomla! site and seeing which extensions you have installed, potentially creating a test site, and seeing which extension caused the issue. When you find extensions that cause issues, please add them to the list on this page.
+
An alternative solution to this problem is to manually remove that particular column from the table in question. I'd personally recommend first examining your Joomla! site and seeing which extensions you have installed, potentially creating a test site using JoomlaPack, and seeing which extension caused the issue. When you find extensions that cause issues, please add them to the list on this page.
  
 
= Table josjos_migrationjos_backlinks doesn't exist =
 
= Table josjos_migrationjos_backlinks doesn't exist =

Revision as of 07:06, 30 March 2009

The "J1.5" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

This page lists common migrator errors and their solutions

MySQL: Unknown column 'x' in 'field list'[edit]

This is usually caused by having a third party extension installed on your Joomla! 1.0 site that has hacked the core Joomla! tables and added new fields. If the extension in question has been properly written, uninstalling it should resolve the problem. If it doesn't, identifying the table that has the extra field in it and removing this field will resolve this issue.

Examples of extensions that are known to do this (incomplete):

An alternative solution to this problem is to manually remove that particular column from the table in question. I'd personally recommend first examining your Joomla! site and seeing which extensions you have installed, potentially creating a test site using JoomlaPack, and seeing which extension caused the issue. When you find extensions that cause issues, please add them to the list on this page.

Table josjos_migrationjos_backlinks doesn't exist[edit]

This occurs when you have incorrectly specified a prefix or you previous entered the incorrect prefix and haven't replaced your SQL file. The prefix for all migrations is "jos_" which is replaced when the SQL file is created. Keep in mind that you need to replace the migrate.sql file before each migration with a clean file as the migrate.sql file is changed in the process.

MySQL: Duplicate entry '1' for key 1[edit]

This usually occurs with a message about either the menu or modules table. This is caused by one of two things: the wrong prefix is entered or the files are unwriteable. If you put in the wrong prefix, replace the migrate.sql file with a new copy and enter the prefix "jos_". If the files are unwriteable, ensure that the installer can write to the following locations:

  • your temporary directory (usually the 'tmp' folder in your install)
  • the folder "installation/sql/migration"
  • [optional] the entire "installation" folder and subfolders (you will remove them later anyway)