![]() |
Quote:
At the moment I have a different error above: Code:
Parse error: syntax error, unexpected T_IF in /var/www/vhosts/cromosdefutbol.com/httpdocs/mediawiki/LocalSettings.php on line 30 |
Got it work with my forum but when I access mediawiki out the following error lines
http://www.cromosdefutbol.com/mediaw...gina_Principal Code:
Use of undefined constant VB_SYSTEM_PATH - assumed 'VB_SYSTEM_PATH' in /var/www/vhosts/cromosdefutbol.com/httpdocs/mediawiki/LocalSettings.php on line 26 |
Quote:
That way we could see what the lines referred to are. Is it possible that somewhere in the file (below the red line you recently added or changed) have a reference to VB_SYSTEM_PATH but surrounded with single quotes (')? As for the CWD error, earlier in this thread someone posted a similar issue, but I did not sede any replies to it, or solutions offered for it. I never saw the error myself, so I cannot really help you figure out exactly what causes this. I'm starting to think the two errors might actually be related, with the first one somehow preventing the proper vB files to be loaded, which causes the second problem. In addition to the localsettings, could you please also copy/paste the contents of WIKI_PATH/includes/AuthPlugin_vBSSO.php ? That is where all the vB stuff is called. Did you happen to make any changes to that file? (I think I use an older version of the file, so maybe some of the changes made in the last release changed the behaviour). |
Thanks for your time AfterWorldForum
This is the LocalSettings Code:
<?php Showed a modification in the response 164 and solved the problem of cwd |
might be shojin (sp?) causing CWD error?
|
Quote:
Could you please elaborate exactly what you did to remove the CWD error? |
Quote:
https://vborg.vbsupport.ru/showpost....&postcount=164 Copy and paste the contents of response in the AuthPlugin_vBSSO |
Quote:
Thanks for your reply. If I read correctly, the contents of that were meant for vB4, though, right? |
Yes, it seems.
I tried this if it worked and it was. By looking for evidence and I find that when you install mediawiki gives me the following error
|
Quote:
|
I updated my version of Mediawiki and it's since stopped running. I can create a Mediawiki account fine, the redirect to forum login just isn't working.
/edit And it's now working after reinstalling the product. That was odd. |
Quote:
Beautiful and very nice design. Could you comment on how to apply the design of the forum to the wiki? |
Thank you, though I can't really take the credit for it.
It's mostly a modification I found here (link), though I had to make some changes to the template for it to be fixed width, rather than fluid. Also, it doesn't validate, so it'll need some work if you care about that kind of thing. Very handy though if you want a nice looking conversion. |
Just as a FYI, the CWD errors can be solved by editing the vB global.php.
Replace: Code:
define('CWD', (($getcwd = getcwd()) ? $getcwd : '.')); Code:
if (!defined('CWD')) |
Quote:
Thank you very much for the solution. In another problem such as I, it is difficult to understand! Continue to investigate |
Quote:
|
Have you tried uninstalling the product on the vBulletin side and then reinstalling it?
|
I reinstalled it with overwrite enabled, and that didn't change the behavior. I hadn't tried uninstalling it and then reinstalling it; I will give it a shot tonight.
|
thanks
|
based on readme.txt file:
everything is okay until.. i wrote "php_flag magic_quotes_gpc off" at .htaccess file. Code:
Internal Server Error |
Quote:
|
vBulletin 3.8.1 Patch Level 1
MediaWiki 1.12.4 MMOG Wiki (Version 2.1.0) Single Sign On from vBulletin ERROR: Notice: Use of undefined constant VB_SYSTEM_PATH - assumed 'VB_SYSTEM_PATH' in /var/www/vhosts/kunstbewegung.info/httpdocs/wikide7/LocalSettings.php on line 19 LocalSettings.php Line 18-20: require_once( "$IP/includes/DefaultSettings.php" ); define( VB_SYSTEM_PATH, '/var/www/vhosts/kunstbewegung.info/httpdocs/cde' ); require_once( "$IP/includes/AuthPlugin_vBSSO.php" ); Since I looked around hard and canĀ“t find anybody with the same error, please help. I did already aply the fix to global.php: if (!defined('CWD')) { define('CWD', (($getcwd = getcwd()) ? $getcwd : '.')); } Thank you for helpf Sincerely yours Burgy |
Quote:
|
Hi there,
Code:
404 Not Found I'm getting an error where the redirect back to the wiki fails after log in from the wiki. I am getting redirected to "/wiki/Main_Page" when it needs to be "/wiki/index.php?title=Main_Page". I have short URLs in the ACP for this mod set to "NO". Any help would be appreciated!!! Jester *edit I've configured NGinx to rewrite properly, set the option to use short urls to yes. Short urls working fine, now upon logging in it completely omits /wiki from the url and just plops me back on the site. It as if it's ignoring the "/wiki" option in the ACP. Still need help. *Edit2 Woke up today and it's working fine..... I have no idea why. Thanks. |
Quote:
I am having some problems myself, using the latest MediaWiki 1.16 and vb 3.8.6 PL1. The error is: Code:
Warning: Parameter 1 to vBSSOAutoAuth() expected to be a reference, value given in /sites/umpc-mydellmini/www/http/w/includes/Hooks.php on line 133 |
Ok I have got this mod working successfully for vBulletin 3.8.6 and MediaWiki 1.17 with PHP 5.3. In fact, the vB version shouldn't really matter at all.
Ok first of all wrap the CMD constant in an if statement, as outline in post #215. Second of all open up the AuthPlugin_vBSSO.php file in the includes directory of Mediawiki and search for the line: Code:
function vBSSOAutoAuth(&$user) { |
I want to disallow registered user logins or rather page editing. I guess I just change the permissions for regular users in mediawiki.
|
when i use this mod, my users can't change mediawiki skins; if i disable it, they can. is this by design? am i missing something?
|
Users can not login through the Wiki side. Any ideas what I'm doing wrong?
|
Quote:
|
Ah, I see. I don't have any trouble saving mine. Is everything else saving as expected, like entires and articles?
|
I have been using this add on with VB3.8 for some time, and my concern with losing access to my Wiki has kept me from upgrading to VB4. It appears that this addon is no longer supported and usable for VB4
|
Anyone got this working with vBulletin 4.x?
I have vBulletin 4.1.1 and MediaWiki 1.16.0 |
Works fine on vB 4.1.1 and MediaWiki 1.16.0 -- EXCEPT I keep seeing a lot of "Unknown Location" but it has the path okay.
|
Scratch that, the path is not okay.
e.g. forums.site.com wiki.site.com If user is browsing wiki.site.com/index.php?title=Special:WhatLinksHere They see Code:
Unknown Location Not good at all... anyone got a fix for this? the hooks aren't working because MediaWiki isn't sending back the full path. |
I just upgraded to the latest PHP, I get this on the Wiki:
Quote:
Edit: solution found https://vborg.vbsupport.ru/showpost....6&postcount=73 |
For everyone running into 404 not found errors on a mediawiki login.
I'm not sure if my scripts were configured correctly or not to begin with (took over a project), so this problem may only exist for me...but anyhow. I was able to fix this by modifying the /includes/templates/userlogin.php file. This file controls the action attribute of the login form, and it currently points to vB's login.php file, which takes an optional url GET variable, telling the script where to redirect the user after login. You just need to modify the userlogin.php template file to create the correct value for the return url. I did this by changing: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Quote:
Disabling the extension, preferences save just fine. Edit: I have worked around the issue. I am unsure what consequences it may have, but so far everything appears to be working as intended. I changed PHP Code:
PHP Code:
|
has this ever been solved?
Quote:
|
Quote:
|
All times are GMT. The time now is 04:33 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|