Jump to content

urgent: site does not work after upgrade because of language issue


Cengiz Deniz
 Share

Recommended Posts

After upgrading to 3.0.62 ver i got an error related translation file. It requested a change in language files.

I changed English file something like  "en_EN.UTF8" .

After that my site does not work and i get this error when i try to login in admin panel:

Error: Class 'ProcessWire\Inputfield' not found (line 56 of /.../wire/modules/Inputfield/InputfieldSelector/InputfieldSelector.module) 

 

Link to comment
Share on other sites

1 minute ago, Sérgio said:

Did you change the extension of the language file to .UTF8 instead of the original .json? If yes, change it back.

And delete the assets/cache folder and try again. 

No I did not change any files. Where are located languages files. i could not find ?

Link to comment
Share on other sites

The error you saw just after the upgrade was regarding Set Locale and not the language files themselves.  So, not worry about them (they are located at /assets/files/*language id*/file.json 

See this thread:

 

 

  • Like 1
Link to comment
Share on other sites

1 minute ago, Cengiz Deniz said:

I think i found problem. when i change my default language set like property to "tr_TR.UTF-8" then problem occurs.

How I can i solve this problem ?

 

Is the Turkish locale installed on the system? You need to install it if not.

  • Like 2
Link to comment
Share on other sites

Thanks a lot ^-^

I found a solution to find insatalled LC files with following code:

print_r(ResourceBundle::getLocales(''));

it lists all installed LC files names. Then i found "tr_TR" and additionaly try to add ".utf" and it works

  • Like 2
Link to comment
Share on other sites

7 hours ago, Cengiz Deniz said:

Thanks a lot ^-^

I found a solution to find insatalled LC files with following code:


print_r(ResourceBundle::getLocales(''));

it lists all installed LC files names. Then i found "tr_TR" and additionaly try to add ".utf" and it works

 

Great!! ^-^

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...