mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #66011
[Bug 1970286] Re: Configuration file for British and American English is broken and how to remove languages?
** Description changed:
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"
Error: 404 not found
6. No options for removing languages added to this list (other than
deleting from langpacks directory)
+
+ 7. At this point, attempt a fresh install of the site
+
+ Error: Unable to perform upgrade
+
+ 8. Reload upgrade page
+
+ 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.
+
+
+ 9. Remove US and British English langpacks from dataroot
+
+ Success - site upgrades correctly
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1970286
Title:
Configuration file for British and American English is broken and how
to remove languages?
Status in Mahara:
New
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"
Error: 404 not found
6. No options for removing languages added to this list (other than
deleting from langpacks directory)
7. At this point, attempt a fresh install of the site
Error: Unable to perform upgrade
8. Reload upgrade page
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.
9. Remove US and British English langpacks from dataroot
Success - site upgrades correctly
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1970286/+subscriptions
References