New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setup problem - missing appropriate upgrade key #4679
Comments
Did you put the wfLoadExtension() snippet in your LocalSettings? |
I suspect that the default location where Semantic MediaWiki writes the ".smw.json" file which takes the upgrade key after having completed the database setup is not writable on you machine. Actually you should have seen some error message after the script run. Anyhow try to set the location to a writable directory with configuration parameter |
Indeed, neither published versions of MediaWiki nor Semantic MediaWiki are fully ready for PHP 7.4 yet. However this should not be the cause of the issue here. |
Not sure how things went from here. Another note that my help: MW as well as SMW rely on a PHP that uses the correct version on the cli environment. In the past there were issues with hosters providing different versions for web and cli environment causing a similar issue. |
Appears that the troubled waters were left. |
Yes, Receiving "Semantic MediaWiki was installed and enabled but is missing ..." as message during the run of [0] https://stackoverflow.com/questions/10886539/why-does-php-sapi-not-equal-cli-when-called-from-a-cron-job |
I have added this problem to the troubleshooting collection. |
Setup and configuration
Windows 10
MediaWiki 1.34.1
PHP 7.4.3 (apache2handler)
MariaDB 10.4.11-MariaDB
ParserFunctions 1.6.0
ParserHooks 1.6.1
SMW version: 3.1.5
Hello!
I have set MediaWiki on my computer and semantic extension. I have used Composer for setup SMW.
Into the LocalSettting.php I have writted
enableSemantics( );
(local wiki).I also have run MediaWiki's maintenance script
update.php
and it have completed without problem.When I try run in shell SMW's maintenance script
setupStore.php
I see following message: '''You need to have SMW enabled in order to run the maintenance script!'''When I run my Wiki I seeing:
What is the problem? What I should do?
Thanks.
The text was updated successfully, but these errors were encountered: