The logo is not displayed in the configuration
| Comment | File | Size | Author |
|---|---|---|---|
| #42 | 3070050-42.patch | 3.85 KB | alexborsody |
| #36 | Capture d’écran du 2019-08-09 00-24-35.png | 118.37 KB | zenimagine |
| #36 | Capture d’écran du 2019-08-09 00-24-22.png | 97.28 KB | zenimagine |
| #32 | 3070050-32.patch | 4.45 KB | alexborsody |
| #31 | Capture d’écran du 2019-08-07 01-16-35.png | 163.64 KB | zenimagine |
Comments
Comment #2
zenimagine commentedComment #3
zenimagine commentedComment #4
alexborsody commentedUnable to reproduce this at the moment, can you check the permissions on your files directory and share some info on your server configuration.
Comment #5
zenimagine commented@AlexBorsody What should I do exactly ?
The path is not normal
Comment #6
zenimagine commentedI manually changed the path. This is a module bug, the path should not start with the domain name.
Comment #7
alexborsody commentedIt's an issue with the redirect to the translation URL /fr https://www.s1biose.com/fr I'll have a patch coming for this.
Comment #8
alexborsody commentedI tried to reproduce this and could not, please list your info with the server configuration and all modules. Otherwise, I will need to take a look at your code/config directly.
Comment #9
zenimagine commented@AlexBorsody Hi sorry I am very busy. What do you want to know exactly ?
--------------------------------- ----------------------------------------------------------------- --------- ----------------
Package Name Status Version
--------------------------------- ----------------------------------------------------------------- --------- ----------------
Core Actions (action) Enabled 8.7.5
Core Ban (ban) Enabled 8.7.5
Core Block (block) Enabled 8.7.5
Core Custom Block (block_content) Enabled 8.7.5
Core Book (book) Enabled 8.7.5
Core Breakpoint (breakpoint) Enabled 8.7.5
Core CKEditor (ckeditor) Enabled 8.7.5
Core Comment (comment) Enabled 8.7.5
Core Configuration Manager (config) Enabled 8.7.5
Multilingual Configuration Translation (config_translation) Enabled 8.7.5
Core Contact (contact) Enabled 8.7.5
Core Content Moderation (content_moderation) Enabled 8.7.5
Multilingual Content Translation (content_translation) Enabled 8.7.5
Core Contextual Links (contextual) Enabled 8.7.5
Field types Datetime (datetime) Enabled 8.7.5
Field types Datetime Range (datetime_range) Enabled 8.7.5
Core Database Logging (dblog) Enabled 8.7.5
Core Internal Dynamic Page Cache (dynamic_page_cache) Enabled 8.7.5
Core Text Editor (editor) Enabled 8.7.5
Core Field (field) Enabled 8.7.5
Core Field UI (field_ui) Enabled 8.7.5
Field types File (file) Enabled 8.7.5
Core Filter (filter) Enabled 8.7.5
Core Help (help) Enabled 8.7.5
Field types Image (image) Enabled 8.7.5
Core Inline Form Errors (inline_form_errors) Enabled 8.7.5
Multilingual Language (language) Enabled 8.7.5
Field types Link (link) Enabled 8.7.5
Multilingual Interface Translation (locale) Enabled 8.7.5
Core Media (media) Enabled 8.7.5
Core Custom Menu Links (menu_link_content) Enabled 8.7.5
Core Menu UI (menu_ui) Enabled 8.7.5
Core Node (node) Enabled 8.7.5
Field types Options (options) Enabled 8.7.5
Core Internal Page Cache (page_cache) Enabled 8.7.5
Core Path (path) Enabled 8.7.5
Core Responsive Image (responsive_image) Enabled 8.7.5
Core Syslog (syslog) Enabled 8.7.5
Core System (system) Enabled 8.7.5
Core Taxonomy (taxonomy) Enabled 8.7.5
Field types Telephone (telephone) Enabled 8.7.5
Field types Text (text) Enabled 8.7.5
Core Toolbar (toolbar) Enabled 8.7.5
Core Tour (tour) Enabled 8.7.5
Core User (user) Enabled 8.7.5
Core Views (views) Enabled 8.7.5
Core Views UI (views_ui) Enabled 8.7.5
Core Workflows (workflows) Enabled 8.7.5
Field types Address (address) Enabled
Advanced CSS/JS Aggregation Advanced CSS/JS Aggregation (advagg) Enabled
Advanced CSS/JS Aggregation AdvAgg Bundler (advagg_bundler) Enabled
Advanced CSS/JS Aggregation AdvAgg Minify CSS (advagg_css_minify) Enabled
Advanced CSS/JS Aggregation AdvAgg Minify JavaScript (advagg_js_minify) Enabled
Advanced CSS/JS Aggregation AdvAgg Modifier (advagg_mod) Enabled
Advanced CSS/JS Aggregation AdvAgg CSS/JS Validator (advagg_validator) Enabled
Other Advanced queue (advancedqueue) Enabled 8.x-1.0-beta3
Spam control Antibot (antibot) Enabled 8.x-1.2
Field formatter Bootstrap Basic Image Gallery (bootstrap_basic_image_gallery) Enabled
Multilingual Bootstrap Languages (bootstrap_languages) Enabled
CKEditor Word Count & Character Count (ckwordcount) Enabled 8.x-1.0
Commerce Commerce (commerce) Enabled
Commerce Commerce Cart (commerce_cart) Enabled
Commerce Commerce Checkout (commerce_checkout) Enabled
Commerce Commerce Log (commerce_log) Enabled
Commerce Commerce Order (commerce_order) Enabled
Commerce Commerce Payment (commerce_payment) Enabled
Commerce Commerce Price (commerce_price) Enabled
Commerce Commerce Product (commerce_product) Enabled
Commerce Commerce Promotion (commerce_promotion) Enabled
Commerce Commerce Store (commerce_store) Enabled
Commerce Commerce Tax (commerce_tax) Enabled
Commerce (contrib) Commerce Automatic Product variation SKU (commerce_autosku) Enabled 8.x-2.0-beta2
Commerce (contrib) Commerce Marketplace (commerce_marketplace) Enabled
Commerce (contrib) Commerce Pricelist (commerce_pricelist) Enabled 8.x-2.0-beta3
Commerce (contrib) Commerce Recurring (commerce_recurring) Enabled
Commerce (contrib) Commerce Reporting (commerce_reports) Enabled 8.x-1.0-beta1
Commerce (contrib) Shipping (commerce_shipping) Enabled
Commerce (contrib) Commerce Stripe (commerce_stripe) Enabled
Media Crop API (crop) Enabled 8.x-1.5
Chaos tool suite Chaos Tools (ctools) Enabled 8.x-3.2
Chaos tool suite (Experimental) Chaos Tools Blocks (ctools_block) Enabled 8.x-3.2
Other Diff (diff) Enabled 8.x-1.0-rc2
Field types Duration Field (duration_field) Enabled 8.x-1.6
Other Entity (entity) Enabled 8.x-1.0-rc3
Other Entity Legal (entity_legal) Enabled
Field types Entity Reference Revisions (entity_reference_revisions) Enabled 8.x-1.6
Views Eva (eva) Enabled 8.x-2.0-rc3
Fields Field Validation (field_validation) Enabled
Flags Flag (flag) Enabled
Search Flag Search API (flag_search_api) Enabled
user Flood Unblock (flood_unblock) Enabled 8.x-1.5
Geolocation Geolocation (geolocation) Enabled
Geolocation Geolocation - Address (geolocation_address) Enabled
Geolocation Geolocation - Google Maps API (geolocation_google_maps) Enabled
Geolocation Geolocation - Leaflet (geolocation_leaflet) Enabled
Geolocation Geolocation - Search API Integration (geolocation_search_api) Enabled
Group Group (group) Enabled 8.x-1.0-rc4
Group Group Content Field (gcontent_field) Enabled
Group Group Node (gnode) Enabled 8.x-1.0-rc4
Other Image Delta Formatter (image_delta_formatter) Enabled 8.x-1.0
Media ImageWidgetCrop (image_widget_crop) Enabled 8.x-2.2
Fields Inline Entity Form (inline_entity_form) Enabled 8.x-1.0-rc1
Other Libraries (libraries) Enabled 8.x-3.0-alpha1
Mail Mail System (mailsystem) Enabled 8.x-4.1
Other Masquerade (masquerade) Enabled 8.x-2.0-beta2
Message Message (message) Enabled 8.x-1.0-rc2
Message Message notify (message_notify) Enabled 8.x-1.0-beta1
Message Message UI (message_ui) Enabled
Message Message Notify UI (message_notify_ui) Enabled
SEO Metatag (metatag) Enabled 8.x-1.9
SEO Metatag: Mobile & UI Adjustments (metatag_mobile) Enabled 8.x-1.9
SEO Metatag: Open Graph (metatag_open_graph) Enabled 8.x-1.9
SEO Metatag: Open Graph Products (metatag_open_graph_products) Enabled 8.x-1.9
SEO Metatag: Pinterest (metatag_pinterest) Enabled 8.x-1.9
SEO Metatag: Twitter Cards (metatag_twitter_cards) Enabled 8.x-1.9
SEO Metatag: Views (metatag_views) Enabled 8.x-1.9
CKEditor Notification (notification) Enabled 8.x-1.0
Field types Office Hours (office_hours) Enabled
Paragraphs Paragraphs (paragraphs) Enabled
Other Pathauto (pathauto) Enabled 8.x-1.4
Field Types Physical Fields (physical) Enabled 8.x-1.0
Private Message Private Message (private_message) Enabled
Private Message Private Message Flood Protection (private_message_flood) Enabled 8.x-1.0-beta2
Other Profile (profile) Enabled
Other Progressive Web App (pwa) Enabled 8.x-1.0-beta1
Other Redirect (redirect) Enabled 8.x-1.4
SEO Schema.org Article (schema_article) Enabled
SEO Schema.org Event (schema_event) Enabled
SEO Schema.org Image Object (schema_image_object) Enabled
SEO Schema.org ItemList (schema_item_list) Enabled
SEO Schema.org Metatag (schema_metatag) Enabled
SEO Schema.org Organization (schema_organization) Enabled
SEO Schema.org Product (schema_product) Enabled
SEO Schema.org Recipe (schema_recipe) Enabled
SEO Schema.org Service (schema_service) Enabled
SEO Schema.org WebPage (schema_web_page) Enabled
SEO Schema.org WebSite (schema_web_site) Enabled
Search Search API (search_api) Enabled
Search Search API Autocomplete (search_api_autocomplete) Enabled 8.x-1.2
Search Solr search (search_api_solr) Enabled 8.x-2.7
Other Shariff Sharing Buttons (shariff) Enabled 8.x-1.5
SEO Simple XML Sitemap (simple_sitemap) Enabled
Fields Smart Trim (smart_trim) Enabled 8.x-1.1
Other State Machine (state_machine) Enabled 8.x-1.0-rc1
Mail Swift Mailer (swiftmailer) Enabled 8.x-1.0-beta2
Other Token (token) Enabled
Development Tour UI (tour_ui) Enabled 8.x-1.0-beta2
Other Twig Tweak (twig_tweak) Enabled
Views Views Block Exposed Filter Block (views_block_filter_block) Enabled
Views Views Bootstrap (views_bootstrap) Enabled
Views Views Infinite Scroll (views_infinite_scroll) Enabled
Views Views Reference Field (viewsreference) Enabled 8.x-1.4
Webform Webform Bootstrap (webform_bootstrap) Enabled
Webform Webform Scheduled Email Handler (webform_scheduled_email) Enabled
Webform Webform UI (webform_ui) Enabled
Webform Webform (webform) Enabled
Webform Webform views (webform_views) Enabled
SEO Real-time SEO for Drupal (yoast_seo) Enabled 8.x-2.0-alpha3
Custom Commerce Marketplace Premium Merchant Enabled
(commerce_marketplace_premium_merchant)
Custom Commerce Marketplace Terms and Conditions Enabled
(commerce_marketplace_terms_and_conditions)
Custom Message Activity Stream (message_activity_stream) Enabled
Custom Private Message Contact Button (private_message_contact_button) Enabled
--------------------------------- ----------------------------------------------------------------- --------- ----------------
Comment #10
alexborsody commentedAnother busy day, how do you have the redirect to /fr setup and can you share the contents of your settings.php minus any login details. Is there anything custom in your htaccess?
Comment #11
zenimagine commentedI did not change anything in the .htaccess file
The language module is the kernel module (see screenshot).
settings.php :
Comment #12
alexborsody commentedComment #13
zenimagine commented@AlexBorsody Do you need more information ?
Comment #14
zenimagine commentedI tested the "Advanced Progressive Web App" module and the logo works. I do not know if it helps
Comment #15
zenimagine commentedWhy did you include the domain name in the path of the icon ? Normally it should be a uri
The PWA does not work if there is no icon.
Comment #16
zenimagine commentedComment #17
zenimagine commented@AlexBorsody
If I uninstall and reinstall the module, the default logo works. If I download my logo, it does not work. There is a serious problem with the path.
Comment #18
zenimagine commentedComment #19
mrpauldriver commentedActually. I came across a similar issue when testing the earlier dev version.
https://www.drupal.org/project/pwa/issues/3060759#comment-13159276
I was not able to figure out why it was happening, but the problem went away after patching.
Comment #20
mrpauldriver commented@zenimagine There is probably no need to change the priority of this issue, especially when the module is under heavy development and when commonly known workarounds exist.
https://www.drupal.org/core/issue-priority
Comment #21
zenimagine commented@MrPaulDriver When I load the logo of my site in the confguration of the PWA module, the uri is not correct (There are 2 times the domain name
) :
https://www.example.com/fr/admin/config/system/example.com/sites/default/files/pwa/logo-petit-512x512l.pngNormally it should look like :
https://www.example.com/sites/default/files/pwa/logo-petit-512x512l.pngIf I back up my server and restore it on the dev.example.com subdomain, it works.
As I have not changed anything in my configuration, I really do not see where the problem comes from.
Do you have a track ? Thank you
https://www.example.com :
https://i.stack.imgur.com/JLRXA.png
https://dev.example.com :
https://i.stack.imgur.com/5Vlcu.png
The dev server is a server clone www
I compare the 2 but I do not see any difference that could be the cause of the bad url
Comment #22
mrpauldriver commentedI am sorry but I don't know.
Best to wait for @AlexBorsody to circle back round and take another look.
In the meantime, have you tried completely uninstalling the PWA module, clear cache, update your database and then reinstall?
Comment #23
mrpauldriver commentedQuestion: Did you have the earlier dev version installed prior to the new beta?
If so, I might be a good idea to unregister any service workers from your devices. This is fairly easy with dev tools on a desktop See this article.
Unregistering service workers from a mobile device is trickier. For Android is necessary to enable usb debugging. I expect there is a similar thing for iOS.
Comment #24
zenimagine commented@MrPaulDriver Hi, I just tested. I use Firefox to administer my site, I uninstalled the service workers and downloaded the logo but the problem is the same.
I opened a problem, to know if it comes from my server :
https://drupal.stackexchange.com/questions/284054/the-uri-of-the-image-i...
It's very weird because dev is a clone of www
Comment #25
alexborsody commentedComment #26
zenimagine commentedI uninstalled the www site module and I unsubscribed the service workers. I have reinstalled the version RC1 module and still the same problem.
I compare DEV and WWW but I do not see the problem.
Desperate :-(
Comment #27
zenimagine commentedHas anyone tested the module on a site that starts with
https://www.Comment #28
mrpauldriver commentedYes https://www. is normal
Comment #29
zenimagine commented@MrPaulDriver OK, thanks. I continue my search but I have no clue.
I'm running out of ideas, if anyone has tracks ?
Uninstalled and reinstalled the module does not solve the problem.
Unsubscribing service workers does not solve the problem.
Changing the subdomain of the site solves the problem but I want to keep www
Comment #30
alexborsody commentedPlease apply this debug code to ConfigurationForm.php and let me know the output. It's difficult for me to debug without access to your codebase.
Comment #31
zenimagine commented@AlexBorsody The exit is just the message in drupal ui ?
Comment #32
alexborsody commentedTry this patch to the latest dev version, maybe it will work as-is, otherwise, follow these steps to help debug.
If it works I'll re-roll without the debug statements.
1. Update image - and go to manifest.json and send a screenshot.
2. Update ConfigurationForm.php with the patch attached.
3. Show screenshot of the PWA config page and console.
4. Update the image again - and take a screenshot of the manifest file.
Comment #33
alexborsody commentedComment #34
alexborsody commentedComment #35
zenimagine commented@AlexBorsody Great, thank you. I applied the patch on the dev version and the logo works :-)
Comment #36
zenimagine commentedComment #37
alexborsody commentedComment #38
zenimagine commenteddelete
Comment #39
zenimagine commentedComment #40
zenimagine commentedComment #41
alexborsody commentedzenimagine this is the wrong thread you mean to post this in #3070054: Timed out waiting for fetched start_url.
Comment #42
alexborsody commentedHere is the final patch without the drupal_set_message() debug statements, if it works then I will push it to dev.
Comment #43
zenimagine commentedVery good thank you, I confirm that the patch works
Comment #45
alexborsody commentedComment #46
alexborsody commentedComment #47
alexborsody commented