GithubHelp home page GithubHelp logo

Comments (13)

mwjames avatar mwjames commented on May 19, 2024

Class ... not found

Warning: Class 'SMW\Store' not found in C:\xampp\htdocs\mw\extensions\SemanticMediaWiki\SemanticMediaWiki.php on line 61

Those message are related to due to the require_once( "$IP/extensions/Validator/Validator.php" ); setting in LocalSettings.

Solution

Remove require_once( "$IP/extensions/Validator/Validator.php" ); from LocalSettings, Validator will be automatically included.

from semanticmediawiki.

mwjames avatar mwjames commented on May 19, 2024

Notice: Use of undefined constant SMW_NS_PROPERTY

SNW-NS constants are delayed due to $smwgNamespaceIndex being a prerequisite and its initialization has to happen first.

For details, see Bug 58190 and Bug 57760

Solution

Bug 58182

from semanticmediawiki.

JeroenDeDauw avatar JeroenDeDauw commented on May 19, 2024

What is the status of this?

from semanticmediawiki.

kghbln avatar kghbln commented on May 19, 2024

Oops, I was totally unaware of this. Must have slipped through the regular e-mail-tsunami. I will add a section to Help:Installation.

from semanticmediawiki.

kghbln avatar kghbln commented on May 19, 2024

Done with this diff. May be closed for now and reopened in case any further issue arises. I am watching this now.

from semanticmediawiki.

JeroenDeDauw avatar JeroenDeDauw commented on May 19, 2024

\o/

from semanticmediawiki.

kghbln avatar kghbln commented on May 19, 2024

Fatal: Call to undefined function enableSemantics() in line xyz

This is related to James' comment.

This happens for MW ≤ 1.21.x if you move the declaration of enableSemantics() over the actual initialization of SMW which is done with include "extensions/ExtensionInstaller/ExtensionInstaller.php";.

Solution

include "extensions/ExtensionInstaller/ExtensionInstaller.php";

must be set prior to

enableSemantics()

All other requirement still apply (custom semantic ns index, custom namespaces, etc.)

from semanticmediawiki.

JeroenDeDauw avatar JeroenDeDauw commented on May 19, 2024

I'm a bit confused at why this is posted here.

from semanticmediawiki.

kghbln avatar kghbln commented on May 19, 2024

Well this is the issue for collecting all cases related to "SMW 1.9 upgrade troubleshooting guide when installing with Composer"

from semanticmediawiki.

JeroenDeDauw avatar JeroenDeDauw commented on May 19, 2024

You can just add it to the section no? James created this presumably because he did not know where to put it.

from semanticmediawiki.

kghbln avatar kghbln commented on May 19, 2024

Well, until now I expected all issues to be listed here for me to add it to the wiki. It was just coincidental that I was the first to come up with this issue. E-mail are good, too if you like.

from semanticmediawiki.

JeroenDeDauw avatar JeroenDeDauw commented on May 19, 2024

I simply fail to understand why you would create a note saying "I should add xyz to the wiki" rather than actually adding xyz to this wiki. It seems the same amount of effort to do this one step.

from semanticmediawiki.

kghbln avatar kghbln commented on May 19, 2024

This is about how these issues are reported and than to be added to the wiki. If you or James want to add it directly to the wiki or send me an e-mail instead you may very well do so. In this case this issue is not needed for notification.

from semanticmediawiki.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.