Cengiz Deniz Posted May 14, 2017 Share Posted May 14, 2017 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 More sharing options...
Cengiz Deniz Posted May 14, 2017 Author Share Posted May 14, 2017 - ( i can not delete messages) Link to comment Share on other sites More sharing options...
Sergio Posted May 14, 2017 Share Posted May 14, 2017 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. 1 Link to comment Share on other sites More sharing options...
Cengiz Deniz Posted May 14, 2017 Author Share Posted May 14, 2017 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 More sharing options...
Sergio Posted May 14, 2017 Share Posted May 14, 2017 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: 1 Link to comment Share on other sites More sharing options...
Sergio Posted May 14, 2017 Share Posted May 14, 2017 What did the trick for me was editing a core file like @abdus suggested: 1 Link to comment Share on other sites More sharing options...
Cengiz Deniz Posted May 14, 2017 Author Share Posted May 14, 2017 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 ? Link to comment Share on other sites More sharing options...
Sergio Posted May 14, 2017 Share Posted May 14, 2017 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. 2 Link to comment Share on other sites More sharing options...
Cengiz Deniz Posted May 14, 2017 Author Share Posted May 14, 2017 should i ask to server provider ? Link to comment Share on other sites More sharing options...
Sergio Posted May 14, 2017 Share Posted May 14, 2017 5 minutes ago, Cengiz Deniz said: should i ask to server provider ? Yes, ask them to install the locales for all languages that you'll need. 2 Link to comment Share on other sites More sharing options...
Cengiz Deniz Posted May 14, 2017 Author Share Posted May 14, 2017 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 2 Link to comment Share on other sites More sharing options...
Sergio Posted May 14, 2017 Share Posted May 14, 2017 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!! 2 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now