Bug #11330

Uploading resources fails on windows due to a missing directory

Added by Andreas Förthner over 10 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Should have
Category:
Resource
Start date:
2010-12-08
Due date:
% Done:

100%

Estimated time:
PHP Version:
Has patch:
Complexity:

Description

If the directory Data/Persisten/Resources is not present on windows (which is the default currently), the uploading doesn't work.

Solution: Either deliver the file in the distributions or create during runtime.

#1

Updated by Karsten Dambekalns over 10 years ago

  • Status changed from New to Needs Feedback
  • Assignee set to Karsten Dambekalns
  • Target version set to 1.0 alpha 14
  • % Done changed from 0 to 100

It is created, see lines 160 and 161 in ResourceManager:

$this->persistentResourcesStorageBaseUri = FLOW3_PATH_DATA . 'Persistent/Resources/';
\F3\FLOW3\Utility\Files::createDirectoryRecursively($this->persistentResourcesStorageBaseUri);

Does this not work for you?

#2

Updated by Christian Müller over 10 years ago

Tried in windows and indeed with this line everything working. So can be closed.

#3

Updated by Karsten Dambekalns over 10 years ago

  • Status changed from Needs Feedback to Resolved

Also available in: Atom PDF