Closed (fixed)
Project:
Advanced PWA inc Push Notifications
Version:
8.x-1.71
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Jul 2024 at 16:22 UTC
Updated:
5 Aug 2024 at 08:24 UTC
Jump to comment: Most recent
Comments
Comment #2
gmaximus commentedPls confirm your version of Drupal.
What did you do when this error was given?
Comment #3
ady1503 commentedVersión de Drupal
10.3.1
PHP
Versión
8.1.29
Path: /system/files/advanced_pwa/icons/android-chrome-512x512.png. Symfony\Component\HttpKernel\Exception\AccessDeniedHttpException: in Drupal\system\FileDownloadController->download() (line 82 of /home/***/public_html/***/web/core/modules/system/src/FileDownloadController.php).
Drupal\Core\File\Exception\DirectoryNotReadyException: The specified file 'temporary://mstile-144x144.png' could not be copied because the destination directory 'public://images' is not properly configured. This may be caused by a problem with file or directory permissions. in Drupal\Core\File\FileSystem->prepareDestination() (line 457 of /home/***/public_html/***/web/core/lib/Drupal/Core/File/FileSystem.php).
Error: Call to a member function getCompleteBaseUrl() on null in Drupal\advanced_pwa\Controller\AdvancedpwaController->advancedpwaGetManifest() (line 190 of /home/***/public_html/***/web/modules/contrib/advanced_pwa/src/Controller/AdvancedpwaController.php).
Warning: Undefined property: Drupal\advanced_pwa\Controller\AdvancedpwaController::$requestContext en Drupal\advanced_pwa\Controller\AdvancedpwaController->advancedpwaGetManifest() (línea 190 de /home/***/public_html/***/web/modules/contrib/advanced_pwa/src/Controller/AdvancedpwaController.php)
Comment #4
gmaximus commentedThanks for that.
I believe this is related to another issue about using the private file system. The above error suggests that the public:// directory is not set on the website?
I plan to spend 2-3 days on this project starting tomorrow. I think I know what needs tweaking to resolve this.
Comment #7
gmaximus commentedI believe part of the errors you gave me was related to the private file system. It is now hardcoded to public. So all is well as long as public is configured. Please test the latest dev and let me know if things work for you now.
Comment #8
gmaximus commentedThe file system scheme was fixed in the related issue.
Comment #9
gmaximus commented