You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Typo3 10.4.12 with fal_securedownload 3.0.0.
I have created a page that contains nothing more than a plugin of type "falsecuredownload_filetree".
There I then "forgot" to select a storage, so I left "settings.storage" empty.
Screenshot
Problem
When I call the page I see the following error:
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 110592 bytes) .../ForViewHelper.php on line 133
Solution
--- a/Classes/Controller/FileTreeController.php+++ b/Classes/Controller/FileTreeController.php@@ -52,6 +52,8 @@ public function __construct(ResourceFactory $resourceFactory = null)
*/
public function treeAction()
{
+ if ($this->settings['storage'] === '')+ return;
try {
$folder = $this->resourceFactory->getFolderObjectFromCombinedIdentifier($this->settings['storage'] . ':' . $this->settings['folder']);
} catch (FolderDoesNotExistException $exception) {
I will do a pull request for this...
The text was updated successfully, but these errors were encountered:
I'm using Typo3 10.4.12 with fal_securedownload 3.0.0.
I have created a page that contains nothing more than a plugin of type "falsecuredownload_filetree".
There I then "forgot" to select a storage, so I left "settings.storage" empty.
Screenshot
Problem
When I call the page I see the following error:
Solution
I will do a pull request for this...
The text was updated successfully, but these errors were encountered: