Pages: 1
Hello/Hi/Greetings,
Warning: filemtime(): stat failed for ./themes/bootstrap_darkroom/node_modules/font-awesome/web-fonts-with-css/css/fontawesome-all.min.css in /home4/id8tionist/public_html/portfolio/include/template.class.php on line 1894
Warning: file_get_contents(./themes/bootstrap_darkroom/node_modules/font-awesome/web-fonts-with-css/css/fontawesome-all.min.css): failed to open stream: No such file or directory in /home4/id8tionist/public_html/portfolio/include/template.class.php on line 1990
If you go to https://id8tionist.com/portfolio/pictur … -portraits you will see it on the top of the page.
Piwigo version:
PHP version:
MySQL version:
Piwigo URL: https://id8tionist.com/portfolio/pictur … -portraits
Offline
I don't get that warning.
Offline
Me neither
Offline
After theme update i had same problem.
Flowing steps fixed issue for me:
1. deleted "/var/www/html/piwigo/themes/bootstrap_darkroom/node_modules/font-awesome" folder content
2. cloned from github "Font Awesome" version 5.5.0
3. manually copy version 5.5.0 files and folders to "/var/www/html/piwigo/themes/bootstrap_darkroom/node_modules/font-awesome"
in other words font-awesome package must be downgraded to v5.5.0 or lower..
Offline
Purging compiled templates and the browser cache should help.
Most likely browser cache, because I didn't get that warning either.
Last edited by teekay (2019-03-10 09:05:21)
Offline
Problem exists and not solved.
Purging cache and compilation of template doesn't work.
Regarding replacing files. Can I get your file structure inside the node_modules folder? Because I have the following:
node_modules/@fortawesome/font-awesome-free/
/css
/webfonts
replacing contest in css and webfontes folders does nothing. I performed a clean install of template and getting the same errors.
Moreover, if you google for Warning: filemtime(): stat failed for ./themes/bootstrap_darkroom/node_modules/font-awesome/web-fonts-with-css/css/fontawesome-all.min.css
you'll get of a bunch already cached websites with this problem.
Please advise. Thank you.
Offline
Do you maybe have a template copy in template-extension\bootstrap_darkroom, for example "index.tpl"? This has to be adjusted too to the new folder structure... I had the same problem.
Best regards
Friedemann
Offline
I had the same problem when I updated the Bootstrap theme. It turned out that I had overriden the header.tpl template a while back, and it had an old path to font awesome. I updated it as follows:
.../font-awesome/web-fonts-with-css/css/fontawesome-all.min.css
change to:
.../@fortawesome/fontawesome-free/css/all.min.css
Offline
Pages: 1