Semantic MediaWiki was installed and enabled but is missing an appropriate upgrade key.
Semantic MediaWiki issues the following error message:1
Error » Semantic MediaWiki Semantic MediaWiki was installed and enabled but is missing an appropriate upgrade key. Release SMW_VERSION (smw:2019-09-23)
This issue appears if your hoster configured PHP to use the common gateway interface (CGI) instead of the command line interface (CLI).2 Semantic MediaWiki is relying on the latter.
Make sure that you are using PHP from the command line interface (CLI). Contact your hosting provider on how do do this.3
- Semantic MediaWiki: GitHub issue gh:smw:4679
- Determine whether PHP is being run via HTTP or CLI.
- Why does PHP_SAPI not equal 'cli' when called from a cron job?