Joomla-cms: Unknown column 'a.name' in 'field list'

Created on 6 Apr 2017  路  6Comments  路  Source: joomla/joomla-cms

Steps to reproduce the issue

After update Joomla 3.7.0 beta4 to Joomla! 3.7.0-rc1

Expected result

Unknown column 'a.name' in 'field list'

Actual result

System information (as much as possible)

Additional comments

No Code Attached Yet

Most helpful comment

Known issue with how database upgrades are managed for non-stable releases, see https://github.com/joomla/joomla-cms/issues/13661

In your #__fields table, rename the alias column to name and you'll be good.

All 6 comments

Known issue with how database upgrades are managed for non-stable releases, see https://github.com/joomla/joomla-cms/issues/13661

In your #__fields table, rename the alias column to name and you'll be good.

No access to cust芯屑 fields in administration.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15142.

You have to do it in the database.

Thank you mbabker!!!


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15142.

FYI, for reasons linked to my DB settings, I had to remove my fields table and re-insert it with:
SET sql_mode = '';

SET sql_mode = '';
CREATE TABLE `xxxx_fields` (
  `id` int(10) UNSIGNED NOT NULL,
  `asset_id` int(10) NOT NULL DEFAULT '0',
  `context` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `group_id` int(10) NOT NULL DEFAULT '0',
  `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',

...... etc ....

to rename "alias" to "name".

ALTER TABLE prefix_fields CHANGE alias name VARCHAR(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '';

Was this page helpful?
0 / 5 - 0 ratings