Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
When I update as described in title field, this error occurs:
user warning: Duplicate column name 'page_info' query: ALTER TABLE contact ADD `page_info` LONGTEXT DEFAULT NULL in /<my_path>/includes/database.mysql-common.inc on line 298.
Comments
Comment #1
behindthepage CreditAttribution: behindthepage commentedHi Alex72RM,
Thanks for this bug report. You will have no problems with your installation from now on. The problem occurred because 1.9 added the extra column and 1.12 tried to do the same in it's update. I will have to correct that.
regards
Geoff
Comment #2
Alex72RM CreditAttribution: Alex72RM commentedYes, I noticed that I need only to alter the dimension of page_info column: from 'text' to 'longtext'
Comment #3
behindthepage CreditAttribution: behindthepage commentedComment #4
Summit CreditAttribution: Summit commentedHi,
Sorry but I think I have to set this to active again and to 6.13.
The same occured with my update to 6.13 I think. Is it because it is friday the 13th:)
Update error:
Do I have to go into my database and change dimension of page_info column: from 'text' to 'longtext' manually?
Greetings, Martijn
Comment #5
behindthepage CreditAttribution: behindthepage commentedHi Martijn,
The reason this has failed is because it has already been done when the module was installed.
I will add an if column exists do nothing in the update script.
Regards
Geoff
Comment #6
behindthepage CreditAttribution: behindthepage commentedThis is fixed in Vers 6.x-1.14