Feature #43477

Better error handling on dummy without permissions (instead of "RuntimeException" Fatal Error)

Added by Ernesto Baschny over 2 years ago. Updated over 2 years ago.

Status:Closed Start date:2012-11-30
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:Install Tool Spent time: -
Target version:-
PHP Version: Sprint Focus:
Complexity:medium

Description

If you unpack the dummy package in a blank vhost, but the webserver has no permissions to create files (under typo3temp etc) you get a PHP "Fatal Error" like this:

Fatal error: Uncaught exception 'RuntimeException' with message 'Could not create directory "/.../typo3temp/Cache/Code/cache_core/"!' in /.../typo3_src/typo3/sysext/core/Classes/Cache/Backend/SimpleFileBackend.php on line 197

While this is all true, this is probably the first impression a newby user will get from TYPO3's "usability".

Better would be at this situation output a nice instruction page (or a link to a Wiki page) on how to proceed (i.e. how to change permissions, which directories needs to have "write permissions" etc..).


Related issues

related to Core - Feature #11771: Check for write-permissions before installation Resolved 2010-12-29

History

#1 Updated by Ernesto Baschny over 2 years ago

  • Subject changed from Nicer error output on dummy package without permissions to Better error handling on dummy without permissions (instead of "RuntimeException" Fatal Error)
  • Complexity set to medium

#2 Updated by Alexander Opitz over 2 years ago

  • Status changed from New to Closed

Also available in: Atom PDF