Bug #32306

Install tool fails silently if typo3temp is not writable

Added by Oliver Salzburg over 3 years ago. Updated over 3 years ago.

Status:Rejected Start date:2011-12-05
Priority:Must have Due date:
Assigned To:- % Done:

0%

Category:Install Tool Spent time: -
Target version:-
TYPO3 Version:4.6 Is Regression:
PHP Version:5.3 Sprint Focus:
Complexity:easy

Description

I just tried to do a fresh install of Typo3 4.6.1 based on the blank package.
When opening the install tool, the page is blank. The Apache error log contains the following entry:

[Mon Dec 05 16:39:30 2011] [error] [client 127.0.0.1] PHP Fatal error:  Uncaught exception 'RuntimeException' with message 'Could not create directory!' in /var/www/typo3_src-4.6.1/t3lib/class.t3lib_div.php:2970\nStack trace:\n#0 /var/www/typo3_src-4.6.1/t3lib/cache/backend/class.t3lib_cache_backend_filebackend.php(201): t3lib_div::mkdir_deep('/var/www/typo3t...')\n#1 /var/www/typo3_src-4.6.1/t3lib/cache/backend/class.t3lib_cache_backend_filebackend.php(99): t3lib_cache_backend_FileBackend->createFinalCacheDirectory('/var/www/typo3t...')\n#2 /var/www/typo3_src-4.6.1/t3lib/cache/frontend/class.t3lib_cache_frontend_abstractfrontend.php(63): t3lib_cache_backend_FileBackend->setCache(Object(t3lib_cache_frontend_PhpFrontend))\n#3 /var/www/typo3_src-4.6.1/t3lib/cache/frontend/class.t3lib_cache_frontend_phpfrontend.php(45): t3lib_cache_frontend_AbstractFrontend->__construct('cache_phpcode', Object(t3lib_cache_backend_FileBackend))\n#4 [internal function]: t3lib_cache_frontend_PhpFrontend->__construct('cache_phpcode', Object(t3lib_cache_backend_FileBackend))\n#5 /var/www/typo3_src-4.6.1/t3lib/c in /var/www/typo3_src-4.6.1/t3lib/cache/backend/class.t3lib_cache_backend_filebackend.php on line 203

Please note that the exception does not contain any clear indication about what directory could not be created. The user is left to figure that out on his/her own.

After making typo3temp writeable for the user apache runs as, the install tool is available.


Related issues

duplicates Core - Bug #31255: CF: Could not create directory Resolved 2011-10-25

History

#1 Updated by Steffen Gebert over 3 years ago

  • Status changed from New to Rejected

Duplicate of #31255

Also available in: Atom PDF