Civix doesn't seem to work with Joomla! 3.9.3. According to this, Joomla! 3.9.3 doesn't allow loading of phar packed files. When I try to run civix, I get the following exception error in a red panel:

Unexpected file extension in "phar:///usr/local/bin/civix/bin/api/class.api.php"

I reverted to Joomla! 3.9.2 and civix works again.

2 Answers 2

  1. A bug report was filed in https://github.com/totten/civix/issues/147

  2. The issue specifically affects the normal PHAR build. Running from git works, eg

    git clone https://github.com/totten/civix
    cd civix
    composer install
    export PATH="$PWD/bin:$PATH"

OK, it looks like it's a problem with Joomla 3.9.3. See discussion here. Fix should be included in Joomla 3.9.4, which is out on 12th March.

  • No, the problem persists in Joomla 3.9.4.
    – Jern
    Commented Mar 23, 2019 at 13:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.