Omri Amos Posted October 24 Posted October 24 This is weird: I have 2 installations (main + development testing duplicate). my dev site now runs 5beta1 (upgrade directly from 4). my main site now runs 5beta2 (upgrade directly from 4). on my main site (beta2) I see some missing language strings on the admin panel and theme editor. for example: I tried reseting all language settings (deleted all custom languages, add a new english default language and chose it for my user) but still get the same thing. When searching for it on the language editor (by key, for example themeeditor_var_64) I get no results. It seems like the key itself is missing?... also in the admin panel, when managing menus for example, when trying to delete a menu item:
Marc Posted October 24 Posted October 24 Have you tried clearing cache in the support section of the ACP?
Omri Amos Posted October 24 Author Posted October 24 I did. Funniest part, that "cleared cache" message was missing as well:
Marc Posted October 24 Posted October 24 You seem to have quite a bit of other things going on there, in terms of what look like ads etc. Please disable all those and check. Also, please check to see if you have anything showing in your system logs.
Omri Amos Posted October 24 Author Posted October 24 (edited) Not sure what you mean, as all these things exists on my dev duplicate with beta 1 and works great. I tried adding a default unmodified theme and disabled all ads, still got the same issues on both the admin panel and the theme editor. I just looked at the console and noticed that the issue is probably with this file giving error 404.... https://hwzone.co.il/community/uploads/javascript_global/root_js_lang_5.js?v=590668aad71729766366 I have a file called root_js_lang_2.js on this folder (_2 instead of _5). Any ideas? I renamed this file to _5 and now the admin dashboard strings is working. But there's probably something else that caused this and should be addressed... also, the theme editor have some other similar issues, but this time with blob: also this file: https://hwzone.co.il/community/static/css/core_front_framework_framework.css?v=590668aad71729766574 which actually doesn't exist. Edited October 24 by Omri Amos
Management Matt Posted October 24 Management Posted October 24 We did change some of the language strings, but the upgrade step should have taken care of that for you. I know it sounds like a silly question, but did you run the upgrader?
Omri Amos Posted October 24 Author Posted October 24 haha yes of course I did. I uploaded all the files from v5beta2 to the v4 folder, and then run /admin/upgrade (without the community returned error 500 anyway). It finished successfully.
Management Matt Posted October 24 Management Posted October 24 Please hold. Upload this to your root directory (where init.php is) and run through your browser. lang.php
Omri Amos Posted October 24 Author Posted October 24 I ran it, got to the "Done" message with no errors, but still no themeeditor language keys.. Moreover, I also tried to clear cache again and then noticed that my renamed _5 file just got renamed back to _2, so the "All caches have been cleared" was also empty again.. Looks like something is forcing the file to be root_js_lang_2.js (it will even rename it back to _2 if I manually change it to _5) but then trys to load the file root_js_lang_5.js...
Management Matt Posted October 24 Management Posted October 24 Yes, there is something funky going on with the js language file. I'll have a look shortly.
Management Matt Posted October 24 Management Posted October 24 When the framework needs the language JS, it checks the language row in the database to see if there is a compiled file. If so, it'll load that, and if not, it'll create it automatically.
Recommended Posts