Bug #11330

Uploading resources fails on windows due to a missing directory

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

Status:Resolved Start date:2010-12-08
Priority:Should have Due date:
Assigned To:Karsten Dambekalns % Done:

100%

Category:Resource
Target version:TYPO3 Flow Base Distribution - 1.0 alpha 14
PHP Version: Complexity:
Has patch: Affected Flow version:

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

#1 Updated by Karsten Dambekalns over 4 years ago

  • Status changed from New to Needs Feedback
  • Assigned To 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 4 years ago

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

#3 Updated by Karsten Dambekalns over 4 years ago

  • Status changed from Needs Feedback to Resolved

Also available in: Atom PDF