Changes between Initial Version and Version 1 of Ticket #24925, comment 1
- Timestamp:
- 08/16/2013 07:46:39 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24925, comment 1
initial v1 1 It's a great idea from a user experience standpoint, but complicated by the fact PHP's filesystem & FTP functions don't give any kind of useful error status. The filesystem code could do a set of triage checks after failures, but that would only identify reasons that *might* preventan upgrade from completing.1 It's a great idea from a user experience standpoint, but complicated by the fact PHP's filesystem & FTP functions don't give any kind of useful error status. The filesystem code could do a set of triage checks after failures, but that would only identify reasons that *might* have prevented an upgrade from completing. 2 2 3 3 I'm working on a plugin called [https://github.com/daveross/upgrade-first-aid upgrade-first-aid] that does those kinds of checks outside of the plugin upgrader itself. It might be a good idea to add a disk space check ([http://php.net/manual/en/function.disk-free-space.php disk_free_space()]) to that plugin's code.