An error has occured

Permalink
I just installed Concrete5 for the very first time but I am getting the following error and I havent even done anything to the site yet is there a fix for this? Installed via softaculous software manager

An unexpected error occurred.
'\"en_US\"' is not a valid locale identifier


Edit: I have reinstalled concrete 3 times

 
Jay3402 replied on at Permalink Reply
Jay3402
I have the same error following a Softaculous install from Inmotion hosting. Trying to dig through for a resolution. (clean install, no sample material). en_US
Jay3402 replied on at Permalink Reply
Jay3402
Deleting and re-installing with [Sample content] allowed it to function just fine.
I couldn't find the error and plan on cleaning up the sample content and moving forward.

Hope the core team can address the error soon. Sure was quick and easy for new folk installing C5 via Softaculous.
jvermeer replied on at Permalink Reply
jvermeer
If you have installed C5 through Softalicious, the installer app has generated an overrides config file and populated it with an eccentrically decorated version of the locale identifier.

Look at the file /application/config/generated_overrides/concrete.php

In this file, you will likely see a locale parameter that looks as follows:
'locale' => '\\"en_US\\"',

---------
Change this to:
'locale' => 'en_US',


This will fix the issue on install from softalicious
brijeshsoft replied on at Permalink Reply
Hi,

I am from the Softaculous team.

We are checking this and trying to replicate the issue on our test servers.

If you are still facing the issue you can open a support ticket with us so that we can debug the issue and resolve it for you :
https://www.softaculous.com/support/...
jvermeer replied on at Permalink Reply
jvermeer
note that the code above renders as (w/ extra underscoress to negate html char conversion):
'locale' => ' \ \ &_quot en_US\\ &_quot',
jvermeer replied on at Permalink Reply
jvermeer
When you are rendering /application/config/generated_overrides/concrete.php

the locale string has an extra set of quotes wrapping the value
brijeshsoft replied on at Permalink Reply
Hi,

Yes I got that point but we are unable to replicate this on our dev servers. It looks like some server config is causing the additional quotes. If we get access to one of the servers where the issue exists we can find the exact cause and fix the same.
brijeshsoft replied on at Permalink Reply
Hi,

We were able to replicate this issue.

This is caused when you get an error while trying to install a the script via Softaculous and then you again click on install.

We have fixed this issue and the fix will be available in the next version of Softaculous.

Thank you for reporting this issue.