View Issue Details

IDProjectCategoryView StatusLast Update
5439Composrcorepublic2023-11-21 03:10
ReporterPDStig Assigned ToPDStig  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Product Version10.0.43 
Fixed in Version10.0.44 
Summary5439: When content translation enabled, wiki+ tries to create fulltext index table multiple times
DescriptionUnfortunately a query has failed [CREATE TABLE cmsm_ce_fulltext_index ( i_catalogue_entry_id integer NOT NULL, i_lang varchar(5) NOT NULL, i_ngram integer NOT NULL, i_ac integer NOT NULL, i_occurrence_rate real NOT NULL, i_add_time integer unsigned NOT NULL, i_c_name varchar(80) NOT NULL, i_category_id integer NOT NULL, i_submitter integer NOT NULL, PRIMARY KEY (i_catalogue_entry_id, i_lang, i_ngram, i_ac) ) CHARACTER SET=utf8mb4 engine=MyISAM] [Table 'cmsm_ce_fulltext_index' already exists] (version: 10.0.43, PHP version: 7.4.33, URL: /composr/cms/cms-wiki/_edit_tree/wiki.htm?redirect=http%3A%3Aslash%3A%3Aslash%3Alocalhost%3Aslash%3Acomposr%3Aslash%3Awiki.htm%3Fkeep_devtest%3D1&
TagsNo tags attached.
Attach Tags
Attached Files
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

admin

2023-11-21 03:10

administrator   ~8059

Automated response: Stray tables could cause installer errors

Stray tables in an old Composr install could carry over to a new Composr install. Since these stray tables are not in db_meta, table_exists may return false even if the table exists. And when the addon / hook tries to create the table, an error occurs. This fix implements table erasing in the install. When overwriting an existing Composr install, the installer will delete every table indicated in db_meta to reduce stray tables existing.

admin

2023-11-21 03:10

administrator   ~8060

Fixed in git commit 91695c712b (https://gitlab.com/composr-foundation/composr/commit/91695c712b - link will become active once code pushed to GitLab)

A hotfix (a TAR of files to upload) has been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. If there are files in a hot-fix that you don't have then they probably relate to addons that you don't have installed and should be skipped. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).

Issue History

Date Modified Username Field Change
2023-11-12 20:35 PDStig New Issue
2023-11-21 01:10 PDStig Assigned To => user4172
2023-11-21 01:10 PDStig Status Not Assigned => Assigned