Bug #11330
Uploading resources fails on windows due to a missing directory
| Status: | Resolved | Start date: | 2010-12-08 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Karsten Dambekalns | % Done: | 100% |
|
| Category: | Resource | |||
| Target version: | TYPO3 Flow Base Distribution - 1.0 alpha 14 | |||
| PHP Version: | Complexity: | |||
| Has patch: | FLOW3 version affected: | |||
| Votes: | 0 |
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.
History
Updated by Karsten Dambekalns over 2 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?
Updated by Christian Mueller over 2 years ago
Tried in windows and indeed with this line everything working. So can be closed.
Updated by Karsten Dambekalns over 2 years ago
- Status changed from Needs Feedback to Resolved