Customizing SMF > Portals, Bridges, and Integrations

MediaWiki SMF Bridge not working - No auth, portal removed...

<< < (2/6) > >>

nyall:
OK, so I know now:

- The line causing the issue with the "Login/Register" link was this:


--- Quote ---RewriteRule ^/*$ /w/index.php [L,QSA]
--- End quote ---

and removing it, the tab added in the menu works, and the Short URLs work more or less.

For example, this "Login/Register" link is show as [...]w/index.php?title=Especial:Entrar&returnto=Página+principal  (as said, it is in Spanish)

Now I need to figure out:

- Why the authentication is still not working. I cannot even login with the admin user and password specified during installation (maybe this is to be expected?  ??? )

- Why some links are using Short URLs correctly, while others don't  (probably can be solved with some .htaccess tweaking)

Any help appreciated

nyall:
And more details:

The same behaviour apparently caused by the .htaccess line mentioned (clicking the "Login/Register" link takes me to the forum registration page, even though I am already logged in)  can be replicated if I enable the settings $wgSMFLogin and $wgCookieDomain

And, in that case, entering username and password said that there was an error with cookies and I could not be logged in. (that was because $wgCookieDomain was not properly set, using 'www.domain.com' instead of 'domain.com')

Still cannot make authentication to work.

nyall:
OK, maybe a silly question, but: should I install MediaWiki in the same database than SMF? Now I have two databases, one for the forum and I've created another for the wiki.

Just occurred to me that either:

a) Both databases are not talking one to each other ??? Maybe I should have just one database with tables identified by prefix... Going to try that out now.

or

b) Cookies are not being read properly

Maybe both? Any hint? What logs should I check?

As always, any help is highly appreciated

Andre N:
MediaWiki 1.18.1 and SMF 2.0.2?
Can I have a link to your site?
Or even better, a temporary ftp account? :)
I see lots of these  auth problems with MediaWiki. Would be nice to figure out what is wrong...

nyall:
Yes, 1.18.1 and 2.0.2. Sure thing, thanks.

Right now I was about to install MediaWiki using the same database than the forum (scheduled maintenance and all that) and then try.

I will PM you the details after that (if it was not just a DB issue, which I am not sure it is...), if that's OK for you

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version