Favicon of site is not loaded

Created on 28 April 2024, 7 months ago
Updated 7 May 2024, 6 months ago

Problem/Motivation

Hello.

In general the module works well.

But when you activate it, the favicon file is not loaded.
Then it looks very ugly.

I have detected that the problem lies with the permissions "Access PWA".
For anonymous users, the favicon is loaded, when authenticated it is not loaded.
Clean and new installation. All controlled with composer, drupal, modules and PHP 8.1.28.

It took me a while to see that the pwa module is the culprit, not the loading of the favicon.

Thank you.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

🇪🇸Spain ady1503

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @ady1503
  • 🇮🇳India Abh1shek

    Hi @ady1503, Can you provide more details about the issue and also provide steps to reproduce?

  • 🇮🇳India Rajan Kumar@2026

    hii @ady1503

    you upload favicon admin/appearance/settings where have a option of upload favicon hare attached refrence pls review.

  • 🇪🇸Spain ady1503

    Hello.

    Is an default favicon.ico from theme.

    I don't load any custom favicon.ico.

    When user is anonimous user the favicon.ico is show in browser tab, but when user is login the favicon.ico is not show.

    Thanks

  • 🇮🇳India Abh1shek

    There is no problem from my end, It is working fine.

    Here are the steps I followed:
    1. Installed the module
    2. Enabled it
    3. Changed the selected administration theme's favicon.

    Attaching screenshots for the same.

    Screenshot by anonymous user,

    Screenshot by authenticated user,

    It might be the issue that you are changing the default theme's favicon not the administration theme's favicon, which is below the Uninstalled theme section. Please try this, then see if issue exists.

  • 🇪🇸Spain ady1503

    Change to private file system please.

    I say: Very important, my file system is "private".

    before login:

    after login:

  • 🇮🇹Italy apaderno Brescia, 🇮🇹
  • 🇪🇸Spain ady1503

    Hello.

    This part of module make favicon invisible Progressive Web App Extras - pwa_extras module.

    I uninstall this part, module pwa_extras and favicon is working vell.

    Thanks.

Production build 0.71.5 2024