Getting this crash when downloading a file:
>>> UNRECOVERABLE FATAL ERROR <<< Call to undefined function ctype_digit() /srv/phabricator/phabricator/src/infrastructure/storage/lisk/LiskDAO.php:417 ┻━┻ ︵ ¯\_(ツ)_/¯ ︵ ┻━┻
Getting this crash when downloading a file:
>>> UNRECOVERABLE FATAL ERROR <<< Call to undefined function ctype_digit() /srv/phabricator/phabricator/src/infrastructure/storage/lisk/LiskDAO.php:417 ┻━┻ ︵ ¯\_(ツ)_/¯ ︵ ┻━┻
rP Phabricator | |||
D8896 | rP301c7d0a1467 Require the "ctype" extension explicitly |
This is part of the PHP core, do you have a really weird version of PHP?
http://us1.php.net/ctype_digit
It's normally only disabled if PHP is built explicit with --disable-ctype:
Well, this is interesting:
http://software.opensuse.org/package/php5-ctype?search_term=php5-ctype
I don't have that package installed on my Docker install, so I'm going to update it to install that package. What I don't understand is how this can be an optional extension if it's part of the PHP core (as per the documentation).
Most of the core is still built as "extensions" so it's technically possible (i.e., without ripping anything apart), it's just seems very odd to exclude ctype from a package since this doesn't imply any unusual build or install dependencies.
Installing that package resolves the issue and now https://rpcdn.com.au/file/data/ut6jzdnybslrr66qcrly/PHID-FILE-zi3wo2v4xb4dfhlflwwa/OPTIONS.asset?download=1 works.
(We can add a setup check for the "extension" if your build was something quasi-mainstream, did you get it out of some package manager that other users might conceivably also use?)
This is the standard package manager on openSUSE, from the official openSUSE repositories.