Comments (5)
https://subdomain.domain.com/forum
then I click the bookmark for the wiki page
https://subdomain.domain.com/**wiki**
https://subdomain.domain.com/index.php?action=login;return_hash=HASH_VALUE_HERE;return_to=http%3A%2F%2Fsubdomain.domain.com%2F**wiki**%2Findex.php%3Ftitle%3DMain+Page%26board%3Dredirect
Looks like your $boardurl in SMF may be wrong. Check your Settings.php in SMF.
from smf-mw-auth.
From the Settings.php
########## Forum Info ##########
$mbname = 'NAME'; # The name of your forum.
$language = 'english'; # The default language file set for the forum.
$boardurl = 'https://subdomain.domain.com/forum'; # URL to your forum's folder. (without the trailing /!)
$webmaster_email = '[email protected]'; # Email address to send emails from. (like [email protected].)
$cookiename = 'SMFCookie999'; # Name of the cookie to set for authentication.
I think I'm going to archive these files and attempt a re-install.
EDIT: OK, reinstalled (and reinstalled the wiki extension) and still have the same issue. The URL, after clicking "log in" on the wiki is malformed.
Also, I'm not expecting to need to click log in on the wiki, I am already logged in on the forum, so why am I not just let into the wiki?
I have to be missing something obvious here unless wiki 1.36.1 changed something that broke the extension.
from smf-mw-auth.
In the settings I have enabled "Use subdomain independent cookies" and "Force cookies to be secure" (I have an https only site - the hosting domain redirects http to https automatically)
Additionally, I set up debugging with
$wgDebugLogFile = "/some/private/path/mediawiki.log";
and found this
[ForumSessionProvider] Constructor initialized.
[ForumSessionProvider] Loading Forum System Settings.
[ForumSessionProvider] Configuration File missing or not readable. Tried to load at
[ForumSessionProvider] Forum Software Integraiton invalid.
[ForumSessionProvider] Unable to provide session, database not loaded.
This might be the clue I need - that null path in the config file name.
(typo in "Integraiton" - should read "Integration") ;)
from smf-mw-auth.
OK, I believe I have found the root problem.
So in the ForumSsoProvider.php file
In the loadFSSettings() function
The variable named $wgFSPPath was not set.
So in LocalSettings.php I set it to
$wgFSPPath = "../forum";
Should this code be looking at $wgSMFPath instead? That variable already exists and already contains the same value..
from smf-mw-auth.
Fixed with #18
from smf-mw-auth.
Related Issues (16)
- $user->setupSession(); to wfSetupSession(); HOT 2
- Public View on MW 1.27.1 HOT 5
- $wgAuth is deprecated in 1.27 HOT 5
- Error with smcFunc in latest version HOT 1
- MW login not working HOT 3
- Errors in MW 1.31.1 HOT 2
- SMF 2.1 | Mediawiki 1.35.1 HOT 5
- compat auth not working HOT 4
- Does not work with SMF 2.1.2 and MediaWiki 1.38.2 HOT 18
- Problem Authenticating to MW 1.40.0 from SMF 2.1.4 HOT 15
- People not being removed from Wiki groups HOT 3
- can't assign bureaucrat role anyhow HOT 3
- Cannot login? HOT 2
- 500 Internal Server Error with v1.24.0 HOT 5
- User not being logged in proper HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smf-mw-auth.