Bug #15551
closed
dummy-package misses some typo3temp directories
Added by Axel Jindra almost 19 years ago.
Updated over 18 years ago.
Description
Upon installation of the dummy-4.0b2-package Typo3 complains about some missing paths within the typo3temp directory.
(issue imported from #M2462)
Files
The files uploaded are from the same installation of 4.0b3 under Windows+Apache 2.
installdirectories.gif : Initial screen.
installdirectoriesAfterworking.gif : after working in the BE.
So it looks like some of the directories are created after working a bit with T3 but the initial installation at least should had created those OR change the message as a warning like "Those directories don't exist yet but will be created later on while working on your installation".
see also 0002638: typo3temp/pics not writable
typo3temp/temp/
typo3temp/llxml/
typo3temp/cs/
typo3temp/GB/
The problem is still in 4.0 final, but this patch could be added to class.tx_install.php:
@ -1714,6 +1714,9
@
foreach ($checkWrite as $relpath => $descr) {
// Check typo3temp/
$general_message = $descr0;
+ if (!@is_dir(PATH_site.$relpath)) { // if the directory is missing, just try to make it
+ @mkdir(PATH_site.$relpath);
+ }
if (!@is_dir(PATH_site.$relpath)) {
if ($descr1) { // required...
$this->message($ext, $relpath.' directory does not exist','
I have been using the patch I send to the list
4 or 5 times now and it seems to work fine.
Also available in: Atom
PDF