- Edited
Try to disable and re-enable the language pack and run php flarum cache:clear
Try to disable and re-enable the language pack and run php flarum cache:clear
Do you see any files ending in .js
or a rev-manifest.json
in your public/assets
directory?
Sounds like your permissions are incorrect. For the translations to be shown a js file is generated for the locale, eg forum-en-<hash>.js
; if Flarum cannot write to the assets directory these files won't show.
Th0mC chmod isn't that important on modern webservers, what matters is who the web user is and whether that user can write into the directory. Usually the web user is www-data
and as such chowning the assets directory to that user (and all underlying files) should help:
sudo chown -R www-data: assets
give a try to 777 rights on public/assets. Desactivating/reactivating language pack without success
luceos Of course
cdlpweb@mammouth [~/lafabriq.org/forum]# ls -la
total 436
drwxrwxr-x 7 cdlpweb cdlpweb 4096 May 5 11:02 ./
drwxr-x--- 7 cdlpweb nobody 4096 May 5 11:03 ../
-rw-rw-r-- 1 cdlpweb cdlpweb 354 Dec 6 2018 .editorconfig
-rw-rw-r-- 1 cdlpweb cdlpweb 7313 May 5 11:00 .htaccess
-rw-rw-r-- 1 cdlpweb cdlpweb 1509 Dec 6 2018 .nginx.conf
-rw-rw-r-- 1 cdlpweb cdlpweb 252 Dec 6 2018 CHANGELOG.md
-rw-rw-r-- 1 cdlpweb cdlpweb 1073 Dec 6 2018 LICENSE
-rw-rw-r-- 1 cdlpweb cdlpweb 2623 Dec 6 2018 README.md
drwxrwxr-x 6 cdlpweb cdlpweb 4096 May 5 11:55 assets/
-rw-rw-r-- 1 cdlpweb cdlpweb 3887 May 5 11:54 composer.json
-rw-rw-r-- 1 cdlpweb cdlpweb 364943 May 5 11:54 composer.lock
-rw-r--r-- 1 cdlpweb cdlpweb 489 May 2 2019 config.php
-rw-rw-r-- 1 cdlpweb cdlpweb 311 Dec 6 2018 extend.php
-rw-rw-r-- 1 cdlpweb cdlpweb 487 Dec 6 2018 flarum
-rw-rw-r-- 1 cdlpweb cdlpweb 456 Apr 14 2019 index.php
drwxr-xr-x 3 cdlpweb cdlpweb 4096 Apr 16 2019 public/
drwxrwxr-x 11 cdlpweb cdlpweb 4096 Apr 18 2019 storage/
drwxr-xr-x 63 cdlpweb cdlpweb 4096 May 5 11:54 vendor/
drwxr-xr-x 51 cdlpweb cdlpweb 4096 Dec 4 22:20 vendor2/
cdlpweb@mammouth [~/lafabriq.org/forum]# ls -la public/assets
total 12
drwxr-xr-x 3 cdlpweb cdlpweb 4096 Apr 16 2019 ./
drwxr-xr-x 3 cdlpweb cdlpweb 4096 Apr 16 2019 ../
drwxrwxr-x 2 cdlpweb cdlpweb 4096 Apr 16 2019 fonts/
luceos Ha should be only one :/
Seems to be assets as there are many files here, including .js file I think you were mentioning
cdlpweb@mammouth [~/lafabriq.org/forum]# ls -la assets
total 3328
drwxrwxr-x 6 cdlpweb cdlpweb 4096 May 5 11:55 ./
drwxrwxr-x 7 cdlpweb cdlpweb 4096 May 5 11:02 ../
-rw-r--r-- 1 cdlpweb cdlpweb 37205 Apr 22 2019 IMG_0065.JPG
-rw-r--r-- 1 cdlpweb cdlpweb 120812 Apr 22 2019 LaFabriq-horizon.jpg
-rw-r--r-- 1 cdlpweb cdlpweb 505003 May 5 11:55 admin-321194c2.js
-rw-r--r-- 1 cdlpweb cdlpweb 1810027 May 5 11:55 admin-321194c2.js.map
-rw-r--r-- 1 cdlpweb cdlpweb 108121 May 5 11:55 admin-c4515368.css
-rw-r--r-- 1 cdlpweb cdlpweb 2523 May 5 11:55 admin-fr-85026ab9.js
-rw-r--r-- 1 cdlpweb cdlpweb 101 May 5 11:55 admin-fr-85026ab9.js.map
drwxrwxr-x 2 cdlpweb cdlpweb 4096 May 4 16:08 avatars/
drwxr-xr-x 3 cdlpweb cdlpweb 4096 Nov 23 14:07 extensions/
drwxr-xr-x 68 cdlpweb cdlpweb 4096 Mar 13 12:57 files/
drwxr-xr-x 2 cdlpweb cdlpweb 4096 Apr 14 2019 fonts/
-rw-r--r-- 1 cdlpweb cdlpweb 163283 Dec 1 07:20 forum-183c2924.css
-rw-r--r-- 1 cdlpweb cdlpweb 176594 May 2 2019 forum-224e2dea.css
-rw-r--r-- 1 cdlpweb cdlpweb 140509 Apr 20 2019 forum-45d46eba.css
-rw-r--r-- 1 cdlpweb cdlpweb 146087 Apr 23 2019 forum-86a0512e.css
-rw-r--r-- 1 cdlpweb cdlpweb 140091 Apr 20 2019 forum-b173c8ac.css
-rw-r--r-- 1 cdlpweb cdlpweb 94 May 5 11:55 rev-manifest.json
Seems to be the issue because I can't see anymore uploaded files in some discussions
But I didn't change anything and it was working before the upgrade to beta12.
How can I reset that?
Edit: Uploaded files issue is not a proof, as I'm not able to reactivate fof/upload extension after upgrade
Little step.
Finally I activated both English and French pack.
Switched on the homepage from French to English
And Tadam! It works in english but still not working in French
Finally found that this happen only when I activate the fof/subscribed extension and with beta12.
And I'm not the only one : https://discuss.flarum.org/d/20917-friendsofflarum-subscribed/73