vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Integration with vBulletin - MediaWiki/vBulletin Single Sign-On (https://vborg.vbsupport.ru/showthread.php?t=213102)

jezza101 06-26-2011 06:11 PM

Anyone had a go at upgrading to mediawiki 1.17? Currently on vb 4 and MW 1.16 here.

edit:
Well I tried it, it kinda worked. Got an error on disabledcache(), did a quick fix. Would like to hear from anyone who got this and found a "proper" fix.

Smitty 01-02-2012 09:48 PM

Any news on this mod? Just curious. I have an old mod from NuHit (vbWiki Pro BFO-1_3 RC5) and an old version of Mediawiki (1.11) that I installed back in 2007. I recently migrated to a new server and the script broke. I'm looking at alternatives. I paid a fellow here to upgrade the old NuHit mod and what ever else necessary and essentially he failed. Well, things digressed quickly after the agreement, he started complaining about the number of files he would have to update and such. The original agreement was 12 to 15 hours to update the old NuHIT mod and upgrade the mediawiki version if necessary.

On his test bed server eventually he did take this mod and upgraded from mediawiki 1.11 to 1.14 which appears to be functioning correctly on his test bed server. Not a big deal, but he also had to hard code the forum header and footer into a couple of mediawiki files since this mod doesn't pull in the headers and footers from vB templates like the old NuHit mod did.

I forget the reasoning, but he said only mediawiki 1.14 would work with this and that mediawiki 1.11 would not work on the new server. Yet, I see from reading posts in this thread some folks are using mediawiki 1.16.

The mod still works on my old server at 74.86.229.138/wiki/index.php/Main_Page - NOTE: The mod he did only has the left sidebar. He was having problems making a right sidebar, but that wasn't a big deal because I only needed the left sidebar so that isn't an issue. Bottom line is I'm sure I can find a "skinner" if necessary to address the "look".

OLD SERVER:
centos-release-5-5.el5.centos
Web Server - Apache v2.2.3
PHP - 5.1.6
MySQL Version - 5.0.77-log
perl, v5.8.8 built for i386-linux-thread-multi
vBulletin 3.8.4
vbWikiPro (version 1.3 RC5)

NEW SERVER:
centos-release-6-1.el6.centos.6.x86_64
Web Server - Apache v2.2.15
PHP - 5.3.3
MySQL Version - 5.1.52
perl, v5.10.1 (*) built for x86_64-linux-thread-multi
vBulletin 3.8.7 (upgraded after the migration and after I found the NuHIT mod didn't work)
MediaWiki: 1.11.0

If anyone has any ideas or thoughts on this I would appreciate them.

canyoncomposite 01-05-2012 02:45 AM

I'm having a issue that I can hopefully get help on.

My forum is located at www.compositescentral.com, the wiki is located at www.wiki.compositescentral.com


When I try logging in on the wiki, I get redirected to vBulletins login confirmation page, then redirected to the wiki. However I am still not logged in on the wiki. What could be the cause of this issue?

canyoncomposite 01-06-2012 03:13 AM

Ok some progress.

I can get this working perfectly with 1.14. Just for the hell of it I tried with wikimedia 1.18 but it had some problems.

When I run the wiki in a different directory than my forum, everything works fine except the user is never logged in since the cookie doesn't take.

When I put the wiki in the same directory as my forum, I get a 500 error.

Peter Walker 02-04-2013 10:57 PM

Hi,
I am using this hack with vb 3.8.7 and have run into problems after upgrading to a new server.

My forum and wiki:
http://www.rifeforum.com/forum
http://www.rifeforum.com/wiki (short url).

I am using Mediawiki 1.14.0 with version 2.20 of this hack. Before I upgraded to a new server, this worked perfectly.

I also tried Mediawiki 1.15.0, but the problem was not solved.

The wiki and forum work by themselves perfectly. However as soon as I try to link the two with the following entries in LocalSettings.php, the wiki crashes:

define( VB_SYSTEM_PATH, '/var/www/vhosts/rifeforum.com/httpdocs/forum' );
require_once( "$IP/includes/AuthPlugin_vBSSO.php" );

I then get:

Server error
The website encountered an error while retrieving http://www.rifeforum.com/wiki/Main_Page. It may be down for maintenance or configured incorrectly.


I have carefully checked that I have followed every installation step.

Have also implemented this:

Line 264 of includes/AuthPlugin_vBSSO.php:

Replace
function vBSSOAutoAuth(&$user) {
with
function vBSSOAutoAuth($user) {


What am I doing wrong?

I really need to get this fixed and no matter what I try, I always get the server error as soon as I add those lines.

This all worked perfectly on the old server, but now it is broken. VB and MW versions are the same as they were on the old server.

Peter

Peter Walker 02-06-2013 02:09 PM

I have just tried this hack with a new installation of Mediawiki 1.16.5 and an empty wiki and still it will not connect to vBulletin without the error message:

Server error

The website encountered an error while retrieving http://www.rifewiki.org/wiki/Main_Page. It may be down for maintenance or configured incorrectly.

So all attempts with MediaWiki 14-16.5 have failed. This is really annoying and hope someone here can help me get this running properly. It worked fine on the old server so I suspect there is a problem with a newer version of PHP.

PHP: 5.3.10-1ubuntu3.5
PHP Max Post Size: 32.00 MB
PHP Maximum Upload Size: 32.00 MB
PHP Memory Limit: 128.00 MB
MySQL Version: 5.5.28-0ubuntu0.12.04.2
MySQL Packet Size: 128.00 MB

I have been trying everything I could find for over a week now and still cannot get past this problem. The forum is running perfectly, no problems there. The Wiki runs fine until I try to link both with this hack and then it crashes. It all worked perfectly on the previous server for years, now this.

Regards

Peter

azn_romeo_4u 02-09-2013 10:31 PM

Does anyone have older versions of mmediawiki they can let me download. I can't get below 1.18

Peter Walker 02-10-2013 12:01 AM

Quote:

Originally Posted by azn_romeo_4u (Post 2403195)
Does anyone have older versions of mmediawiki they can let me download. I can't get below 1.18

Sure, which version do you need?

For example, version 1.15 and 1.16 can be downloaded here:

http://dumps.wikimedia.org/mediawiki/1.15/
http://dumps.wikimedia.org/mediawiki/1.16/

azn_romeo_4u 02-17-2013 08:34 AM

Ty. That's what I been looking for.

Now I ran into a problem

Quote:

Your edit has been rejected because your client mangled the punctuation characters in the edit token. The edit has been rejected to prevent corruption of the page text. This sometimes happens when you are using a buggy web-based anonymous proxy service

pcam 02-19-2013 12:36 PM

Code:

Strict Standards: Declaration of vBSSO::modifyUITemplate() should be compatible with AuthPlugin::modifyUITemplate(&$template, &$type) in/usr/home/user/website.com/public/wiki/includes/AuthPlugin_vBSSO.php on line 35

Strict Standards: Declaration of vBSSO::initUser() should be compatible with AuthPlugin::initUser(&$user, $autocreate = false) in/usr/home/user/website.com/public/wiki/includes/AuthPlugin_vBSSO.php on line 35

Anybody know how to fix this?

I got the first error to disappear (although don't know if its correct) by editing line 73 of AuthPlugin_vBSSO.php

Code:

        function modifyUITemplate( &$template, &$type ) {
                # Override this!
                $template->set( 'usedomain', false );
               
        }

Line 237

Code:

        function initUser( &$user, $autocreate=false ) {
Leaving me to this error:

Notice: Constant CWD already defined in /usr/home/user/website.com/public/global.php on line 17

Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/user/website.com/public/includes/init.php on line 55

Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/user/website.com/public/includes/init.php on line 107

Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/user/website.com/public/includes/init.php on line 111

Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/user/website.com/public/includes/init.php on line 119

Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/user/website.com/public/includes/init.php on line 130

Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/user/website.com/public/includes/init.php on line 134

Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/user/website.com/public/includes/init.php on line 142

Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/user/website.com/public/includes/init.php on line 211

Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/user/website.com/public/includes/init.php on line 389

Deprecated: Assigning the return value of new by reference is deprecated in /usr/home/user/website.com/public/includes/class_core.php on line 2552
Parser::disableCache can only be called when actually parsing something

By adding error_reporting(E_ALL & ~E_NOTICE & ~8192); to the top of vb's global.php I got the deprecated warnings to disappear leaving me back at the original problem of Parser

Reference Links:

http://svn.wikimedia.org/doc/classAuthPlugin.html

https://vborg.vbsupport.ru/showthread.php?t=285695

mykkal 03-03-2013 03:15 AM

Is there a wiki product for VB 5?

azn_romeo_4u 03-05-2013 12:47 AM

I think there is a bug with this for 3.8.7 patch 3. For some odd reason, thread view count does not update when you use this plugin. Disabling fixes it. Can anyone confirm?

Goomzee 09-30-2013 05:17 AM

I have installed mmog_wiki_v2.2.0 and downloaded the local listing file but they problem is i didn't find the require_once( "$IP/includes/DefaultSettings.php" ); line

aciurczak 04-25-2014 11:31 PM

Today I figured I'd finally try to update my mediawiki install for the first time in years. I've been running 1.15.3 forever, as I had gotten lazy. I tried to install version 1.22.6, but was ultimately unsuccessful. Was able to get past many known errors along the way, but eventually came to one that wasn't googleable, and seemed specific to this Auth add-on. I reinstalled all old files and reloaded my old DB, and all is back to normal.

So, what is the latest version that anyone here has been able to get up and running successfully, with vBulletin 3.8.7?

aciurczak 04-26-2014 05:35 AM

OK - I have a tentative answer. I reverted back to MediaWiki 1.15.3, and all was well. I successfully upgraded to 1.15.5, and all was still well. I upgraded to 1.16.5, and all continued to work fine (other than a minor issue with a date preference, but that was easily fixed). Each time I was keeping copies of the DB as well as full copies of the file directories in case I had to revert.

Which came in handy, as when I upgraded to 1.17.5, it failed completely and wouldn't display anything other than a blank page, along with no obvious logs or errors to check into. I reverted to 1.16.5, and it seems like it will stay there for quite awhile...

aciurczak 04-26-2014 04:15 PM

After playing around with it a bit more, I found more problems with 1.16.5 that I wasn't able to resolve; the user preferences wouldn't save. They appeared to save successfully, but actually didn't each time. There was a change in the user options from 15 to 16, and I'm not sure if this Auth extension is working properly with those changes. After reverting to 1.15.5, all user preferences worked fine.


All times are GMT. The time now is 01:41 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
  • Page Generation 0.02187 seconds
  • Memory Usage 1,794KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (16)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete