Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change in Default Language from en-GB to en-CA generated a 500 error code #36170

Closed
fballem opened this issue Nov 30, 2021 · 13 comments
Closed

Comments

@fballem
Copy link

fballem commented Nov 30, 2021

Steps to reproduce the issue

  1. Installed two language packages - en-CA and fr on a new installation of Joomla 4
  2. Received notification that both language packages were installed correctly (07-Joomla Language Setup 02)
  3. Selected System Languages (09-Joomla Language Setup 04)
  4. Changed the default language to en-CA (10-Joomla Language Setup 05)
  5. Received the 500 Error Code. I'm unable to access my site.
  6. Debug shows the cause of the error (00-Fatal Error) - two images attached.

Expected result

  1. The default language should be set to en-CA. I'm not sure why it was attempting to set an instance of en-GB, since we don't speak British English in Canada.screen shot 2021-11-30 at 22 16 29

Actual result

  1. A 500 Error was generated and I can no longer access my site.

System information (as much as possible)

Version : 4.0.4, 3.10.3 New Installation, logged in as the site administrator

Additional comments

In order to continue building my website, I'll re-install. I'll setup Content Languages and set en-CA to the default. I don't want en-GB to be an option on my content, so I hope that change will work.

screen shot 2021-11-30 at 22 16 29screen shot 2021-11-30 at 22 16 29screen shot 2021-11-30 at 22 16 29screen shot 2021-11-30 at 22 16 29

@brianteeman
Copy link
Contributor

Grrrh another bad language

@brianteeman
Copy link
Contributor

That change wont really work as en-gb is the default so you will still get the error.

What you can do after installing the language but before enabling it is to use ftp or your hosting control panel to edit that file.

Just change en_gblocalise to
abstract class en_CALocalise

@fballem
Copy link
Author

fballem commented Nov 30, 2021 via email

@fballem
Copy link
Author

fballem commented Nov 30, 2021 via email

@infograf768
Copy link
Member

Informed P. Jackson of this error

@particthistle
Copy link
Member

particthistle commented Dec 1, 2021

4.0.4.4 will be officially available once Joomla Downloads system process the changes I've just made (most likely it will be available by the time you're reading this in the morning @fballem).

If it's not yet become available you can install this updated version of 4.0.4.4 manually: en-CA.zip

And congratulations - you're the first person to have actually downloaded, installed, tested AND reported back on en-CA issues! Apologies for the inconvenience the 500 error caused.

@richard67
Copy link
Member

So can this issue be closed?

@fballem
Copy link
Author

fballem commented Dec 1, 2021 via email

@fballem
Copy link
Author

fballem commented Dec 1, 2021 via email

@infograf768
Copy link
Member

I have no problem here installing en-CA version 4.0.44 which is already available in administrator/index.php?option=com_installer&view=languages

Concerning multilingual: it is easy to use fr-FR and, using the languagecode plugin make it look as fr-CA in the html produced.
Screenshot 2021-12-01 at 11 15 33

@fballem
Copy link
Author

fballem commented Dec 1, 2021 via email

@fballem
Copy link
Author

fballem commented Dec 2, 2021 via email

@richard67
Copy link
Member

Closing as stated in previous comment. Thanks for reporting back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants