Configuration file for British and American English is broken and breaks install

Bug #1970286 reported by Dianne Tennent
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
New
Undecided
Unassigned

Bug Description

MySQL8 on main

1. Admin > Development > Languages

2. Select "English (United Kingdom)" from the 'Add language' dropdown

3. Press 'Add language'

This error appears:
[WAR] 4c (lib/mahara.php:681) The configuration file is broken at /var/lib/maharadata/main/langpacks/en_GB.utf8/lang/en_GB.utf8/langconfig.php. Either fix it manually or delete the /var/lib/maharadata/main/langpacks/en_GB.utf8/ directory to remove this language completely.

4. Add "English (American)"
5. Click the link to the file "en_US-main.tar.gz"

Result = Error: 404 not found

6. At this point, attempt a fresh install of the site

Error: Unable to perform upgrade

7. Reload upgrade page

Result = Error: [WAR] 4c (lib/mahara.php:681) The configuration file is broken at /var/lib/maharadata/main/langpacks/en_GB.utf8/lang/en_GB.utf8/langconfig.php. Either fix it manually or delete the /var/lib/maharadata/main/langpacks/en_GB.utf8/ directory to remove this language completely.

8. Remove US and British English langpacks from dataroot

Success - site upgrades correctly

summary: - Configuration file for British English is broken
+ Configuration file for British and American English is broken
description: updated
summary: - Configuration file for British and American English is broken
+ Configuration file for British and American English is broken and how to
+ remove languages?
description: updated
description: updated
description: updated
summary: - Configuration file for British and American English is broken and how to
- remove languages?
+ Configuration file for British and American English is broken and breaks
+ install
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.